Skip to content

Instantly share code, notes, and snippets.

@ymek
Created February 7, 2011 20:25
Show Gist options
  • Save ymek/815118 to your computer and use it in GitHub Desktop.
Save ymek/815118 to your computer and use it in GitHub Desktop.
root@RHL040:~# ./zbx_trapper.sh
Testing key update with:
/usr/local/sbin/zabbix_sender -vv -z 172.16.0.27 -p 10051 -s "RHL040" -k php.errors.total.memory_test -o 1
zabbix_sender [19462]: DEBUG: Answer [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000020"}]
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000020"
sent: 1; skipped: 0; total: 1
root@RHL040:~# /usr/local/sbin/zabbix_sender -vv -z 172.16.0.27 -p 10051 -s RHL040 -k php.errors.total.memory_test -o 1
zabbix_sender [19472]: DEBUG: Answer [{
"response":"success",
"info":"Processed 1 Failed 0 Total 1 Seconds spent 0.000040"}]
Info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000040"
sent: 1; skipped: 0; total: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment