Hi
I am sending data from a script, that generates output to pipe it to zabbix sender. For now, to test, i do an echo, with an example of the generated item, but it doesn't work:
But the same, using zabbix_sender parameters, works fine:
I have tested the same, but with an item without spaces, and it works fine. Any way, the item key is quoted, according to documentation....
Any idea?????
I am sending data from a script, that generates output to pipe it to zabbix sender. For now, to test, i do an echo, with an example of the generated item, but it doesn't work:
Code:
echo '- java.stats["java.*\-D\[Process Controller\]",fullgcevents] 2' | zabbix_sender -z myzabbixserver -s myhostname -i - info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000044"
Code:
zabbix_sender -z 172.23.144.6 -s sii-dev-domainbatch-1 -k 'java.stats["java.*\-D\[Process Controller\]",fullgcevents]' -o 2 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000065"
Any idea?????