Skip to content

Instantly share code, notes, and snippets.

@jtyr
Last active February 21, 2024 13:23
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jtyr/651fc356cfe0215e19531c5b9113e151 to your computer and use it in GitHub Desktop.
Query Zabbix Agent metric via netcat.
# Ask Zabbix Agent to return value of the system.cpu.load metric
echo 'system.cpu.load' | nc -w2 myserver01 10050 | sed -r 's/^ZBXD..//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment