I am running my custom script in Linux server and want to monitor through Zabbix but somehow things are not working.
Process is
root 31061 0.0 0.0 106096 1152 ? Ss Sep27 0:00 /bin/sh -c timeout 24h sh -x /scripts/result.sh
now if i am checking the status on zabbix server then value is 0.
zabbix_get -s 10.0.0.3 -k 'proc.num[,root,,/scripts/result.sh ]'
tried multiple format in proc.num but things are not working. Please suggest if any modifications are required.
Process is
root 31061 0.0 0.0 106096 1152 ? Ss Sep27 0:00 /bin/sh -c timeout 24h sh -x /scripts/result.sh
now if i am checking the status on zabbix server then value is 0.
zabbix_get -s 10.0.0.3 -k 'proc.num[,root,,/scripts/result.sh ]'
tried multiple format in proc.num but things are not working. Please suggest if any modifications are required.
Comment