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

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

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

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