The following list details queries related to user parameters:
- Q: My user parameter does not work.
A: Here are some common causes that break user parameters:
-
- A missing environment is one of the biggest stumbling blocks when setting up user parameters. The Zabbix agent does not explicitly initialize environment details, such as the HOME variable or other information. This can lead to an inability to read the required configuration files and other issues. Make sure to set the environment as required either by setting variables in the user parameter directly or in a wrapper script.
- Again, restricted permissions for the Zabbix user will be confusing to debug if you run commands for testing as root, so always test user parameters ...