Hellau everyone,
I want to monitor some linux processes with a UserParameter
In the bash i have got exactly the expected behavior. When the process is running, so i get some information like pid, so on. When the process is not known / not running / etc. so i get an empty line.
First i thought "yeeah"- this is what i want. But testing this line with a trigger with using nodata() function from zabbix, does not work.
So i want to know, do someone know, how to find the length of the bash result of this userparamter? For human it seems to be empty, but in reality not. (Otherwise the nodata()=1) would be working. And how do you monitor your linux/unix proccesses/deamons?
Thanks,
Mira
I want to monitor some linux processes with a UserParameter
UserParameter=service.grep[*], sudo ps ax | grep $1 | grep -v grep
First i thought "yeeah"- this is what i want. But testing this line with a trigger with using nodata() function from zabbix, does not work.
So i want to know, do someone know, how to find the length of the bash result of this userparamter? For human it seems to be empty, but in reality not. (Otherwise the nodata()=1) would be working. And how do you monitor your linux/unix proccesses/deamons?
Thanks,
Mira
Comment