# Logstash-output-zabbix (3.0.5) Zabbix Version 4 ready?

**URL:** <https://discuss.elastic.co/t/logstash-output-zabbix-3-0-5-zabbix-version-4-ready/160704>\
**Category:** Logstash\
**Created:** [December 13, 2018, 9:58am UTC](https://discuss.elastic.co/t/logstash-output-zabbix-3-0-5-zabbix-version-4-ready/160704 "2018-12-13T09:58:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![irvined](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@irvined](https://discuss.elastic.co/u/irvined)\
**Post date:** [December 13, 2018, 9:58am UTC](https://discuss.elastic.co/t/logstash-output-zabbix-3-0-5-zabbix-version-4-ready/160704/1 "2018-12-13T09:58:42Z")

</div>

Hi,

Does 3.0.5 of the logstash-output-zabbix plugin work with V4 of Zabbix?

I have the zabbix-sender working and correctly sends data to the zabbix server.

When I send via logstash I get:

[2018-12-13T09:18:02,308][WARN][logstash.outputs.zabbix] Zabbix server at x.x.x.x rejected all items sent. {:zabbix\_host=\>"yyyyyyyyyyyy"}

From the .conf file:  
grok.....  
add\_field =\> {  
"zhost" =\> "yyyyyyyyyyyyyyy"  
"zkey" =\> "test\_trapper\_item"  
}

output.....  
zabbix {  
zabbix\_host =\> "zhost"  
zabbix\_server\_host =\> "x.x.x.x"  
zabbix\_key =\>"zkey"  
zabbix\_value =\> "file.inode"  
}

Thanks.

Regards,

Doug

---

<div class="post-metadata">

**Author:** ![irvined](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@irvined](https://discuss.elastic.co/u/irvined)\
**Post date:** [December 13, 2018, 11:57am UTC](https://discuss.elastic.co/t/logstash-output-zabbix-3-0-5-zabbix-version-4-ready/160704/2 "2018-12-13T11:57:44Z")

</div>

Looks like I made a mistake with the 'key' name.

Putting it right and restarting elasticsearch I now see:

[2018-12-13T11:35:02,669][DEBUG][logstash.outputs.zabbix] Zabbix server response {:response=\>{"response"=\>"success", "info"=\>"processed: 1; failed: 0; total: 1; seconds spent: 0.000047"}, :data=\>{"request"=\>"sender data", "data"=\>[{"host"=\>"yyyyyyyyyyyyyyyy", "key"=\>"trap", "value"=\>69802836, "clock"=\>1544434629}], "clock"=\>1544700902}}

Unfortunately nothing is showing in the 'Latest data' for the host within the zabbix GUI

I will keep looking.

Regards,

Doug

---

<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:** [January 10, 2019, 11:57am UTC](https://discuss.elastic.co/t/logstash-output-zabbix-3-0-5-zabbix-version-4-ready/160704/3 "2019-01-10T11:57:50Z")

</div>

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