-
New Feature Request
-
Resolution: Won't Do
-
Trivial
-
None
-
None
-
None
Now that Zabbix has the great dependent items and json functions built in it would be great to see zabbix_sender output it's result as json so we can track the values. Something like
Current:
root@vpoller-test:/usr/lib/zabbix/externalscripts# zabbix_sender -z localhost -r -i /var/spool/zabbix_sender/send_a.tmp info from server: "processed: 0; failed: 101; total: 101; seconds spent: 0.001033" sent: 101; skipped: 0; total: 101
JSON:
// root@vpoller-test:/usr/lib/zabbix/externalscripts# zabbix_sender -z localhost -r -i /var/spool/zabbix_sender/send_a.tmp { "sent": 101, "skipped": 0, "total": 101, "time_spent": 0.001033, "processed": 0, "failed": 0, }
info from server: "processed: 0; failed: 101; total: 101; seconds spent: 0.001033"
sent: 101; skipped: 0; total: 101