I'm trying to monitor the status of my raid array by using a user parameter that calls a custom script. The script uses Dell's omreport function to get information about the virtual disk and parse it to extract the status of the disk. The script works great on its own, but I can't seem to get it or even a simple script that echos 1 to work when using them in the user parameters inside the zabbix_agentd.conf file.
The test user parameter is declared as follows:
userparameter=test,c:\software\zabbix\test.cmd
and the test.cmd contains:
echo 1
When I enable the item through the frontend it just comes back not supported. I was able to get userparameter=test,echo 1 to work and from my understanding what I have above should work the same way.
Any ideas on why this might not work, is there something special when calling scripts inside user parameter, or do you need to enable the agent's ability to use scripts?
Thanks in advance
The test user parameter is declared as follows:
userparameter=test,c:\software\zabbix\test.cmd
and the test.cmd contains:
echo 1
When I enable the item through the frontend it just comes back not supported. I was able to get userparameter=test,echo 1 to work and from my understanding what I have above should work the same way.
Any ideas on why this might not work, is there something special when calling scripts inside user parameter, or do you need to enable the agent's ability to use scripts?
Thanks in advance
Comment