Last active
February 21, 2024 13:23
-
-
Save jtyr/651fc356cfe0215e19531c5b9113e151 to your computer and use it in GitHub Desktop.
Query Zabbix Agent metric via netcat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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