January 2019
Intermediate to advanced
798 pages
20h 33m
English
First, we'll make sure that we can get the agent to return any value at all. User parameters are configured on the agent side—the agent daemon contains the key specification, which includes references to commands. On A test host, edit zabbix_agentd.conf and look near the end of the file. An explanation of the syntax is available here:
UserParameter=<key>,<shell command>
This means that we can freely choose the key name and command to be executed. It's suggested that you keep key names to lowercase alphanumeric characters and dots. For starters, add a very simple line like this:
UserParameter=quick.test,echo 1
Just return 1, always. Save the configuration file and restart the Zabbix agent daemon. While it might be ...
Read now
Unlock full access