Im trying to send trapper style alerts to zabbix, with mixed success
I finally got it to work... except it only works with one machine,and I need help figuring out how to expand it.
I have created a template.
The template has a few items, such as "filebeat.JLOOME"
I also created triggers for each item.
I then added the template to the first host. works great!
So then I added it to a second host.... and zabbix wont play ball.
To eliminate unknowns, I am using zabbix_sender to debug.
It points to a zabbix proxy.
zabbix_sender -vvv -z x.x.x.x -s 'host1.xxx.com' -k filebeat.JLOOME -o 'java test'
zabbix_sender [31414]: DEBUG: answer [{
"response":"success",
"info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000044"}]
info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000044"
sent: 1; skipped: 0; total: 1
BUT..
zabbix_sender -vvv -z x.x.x.x -s 'host2.xxx.com' -k filebeat.JLOOME -o 'java test'
zabbix_sender [31423]: DEBUG: answer [{
"response":"success",
"info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000035"}]
info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000035"
sent: 1; skipped: 0; total: 1
No clue why the second one fails.
If I go into zabbix and examine the hosts... both hosts show they know that the trapper items such as "filebeat.JLOOME" exists.
host1 has history showing my test messages.
host2 shows no history for them.
Could someone suggest where I could look to fix this?
I finally got it to work... except it only works with one machine,and I need help figuring out how to expand it.
I have created a template.
The template has a few items, such as "filebeat.JLOOME"
I also created triggers for each item.
I then added the template to the first host. works great!
So then I added it to a second host.... and zabbix wont play ball.
To eliminate unknowns, I am using zabbix_sender to debug.
It points to a zabbix proxy.
zabbix_sender -vvv -z x.x.x.x -s 'host1.xxx.com' -k filebeat.JLOOME -o 'java test'
zabbix_sender [31414]: DEBUG: answer [{
"response":"success",
"info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000044"}]
info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000044"
sent: 1; skipped: 0; total: 1
BUT..
zabbix_sender -vvv -z x.x.x.x -s 'host2.xxx.com' -k filebeat.JLOOME -o 'java test'
zabbix_sender [31423]: DEBUG: answer [{
"response":"success",
"info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000035"}]
info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000035"
sent: 1; skipped: 0; total: 1
No clue why the second one fails.
If I go into zabbix and examine the hosts... both hosts show they know that the trapper items such as "filebeat.JLOOME" exists.
host1 has history showing my test messages.
host2 shows no history for them.
Could someone suggest where I could look to fix this?
Comment