# Can't get logstash-output-icinga to work

**URL:** <https://discuss.elastic.co/t/cant-get-logstash-output-icinga-to-work/168077>\
**Category:** Logstash\
**Created:** [February 12, 2019, 4:24pm UTC](https://discuss.elastic.co/t/cant-get-logstash-output-icinga-to-work/168077 "2019-02-12T16:24:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HansM](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@HansM](https://discuss.elastic.co/u/HansM)\
**Post date:** [February 12, 2019, 4:24pm UTC](https://discuss.elastic.co/t/cant-get-logstash-output-icinga-to-work/168077/1 "2019-02-12T16:24:30Z")

</div>

Hello everybody, hope you can give m ea hand with this,

I have installed Logstash 6.6.0 some days ago. And everything is working except the icinga pluging  
I have been testing the logstash-output-icinga and is giving me the following error:

[2019-02-12T17:16:09,676][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.6.0"}  
[2019-02-12T17:16:18,560][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>2, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
[2019-02-12T17:16:19,965][INFO][logstash.pipeline] Pipeline started successfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x6131edc6 sleep\>"}  
[2019-02-12T17:16:20,056][INFO][logstash.agent] Pipelines running {:count=\>1, :running\_pipelines=\>[:main], :non\_running\_pipelines=\>}  
[2019-02-12T17:16:20,581][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2019-02-12T17:16:23,087][WARN][logstash.outputs.icinga] Request failed {:host=\>"localhost", :port=\>5665, :path=\>"/v1/actions/process-check-result?service=EDM-F350%21jobstatus", :body=\>"{"exit\_status":"2","plugin\_output":"19097-802\n\n"}", :error=\># **\<IOError: Broken pipe\>** }

If I try the connection with the Icinga2 API it works:  
curl -k -u root:ricinga2api -H 'Accept: application/json' -X POST '[https://localhost:5665/v1/actions/process-check-result?service=hosttest01!servicetest](https://localhost:5665/v1/actions/process-check-result?service=hosttest01%21servicetest)' -d "{"exit\_status":"1","plugin\_output":"Placeholder"}" &

I get the following output:  
root# {"results":[{"code":200.0,"status":"Successfully processed check result for object 'hosttest01!servicetest'."}]}

Can you give me a hand with this? I have seen the following post but I am not 100% sure if it applies to my error: [https://github.com/Icinga/icinga2/issues/6799](https://github.com/Icinga/icinga2/issues/6799)

Thanks guys!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2019, 4:31pm UTC](https://discuss.elastic.co/t/cant-get-logstash-output-icinga-to-work/168077/2 "2019-03-12T16:31:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
