Hi,
I want to monitor disk IO with iostat. So, i should create UserParameter.
But i don't find documentation on how to define UserParameter in zabbix_agentd.conf, nor how to create command script (what should be the return code etc..)
I try to write a script like this :
#!/bin/bash
echo running >> /tmp/trace.log
echo 1
exit 0
but the file /tmp/trace.log is not created, and after a long time, zabbix_server says that my UserParameter is unsupported.
whta's wrong ?
Thanks for your help
I want to monitor disk IO with iostat. So, i should create UserParameter.
But i don't find documentation on how to define UserParameter in zabbix_agentd.conf, nor how to create command script (what should be the return code etc..)
I try to write a script like this :
#!/bin/bash
echo running >> /tmp/trace.log
echo 1
exit 0
but the file /tmp/trace.log is not created, and after a long time, zabbix_server says that my UserParameter is unsupported.
whta's wrong ?
Thanks for your help