Hello!
I'm new to zabbix/linux and am having some issues figuring out how to monitor a process.
On my server I have a single process that runs 100% of the time and I'd like to receive an alert if it isn't running for whatever reason.
I know the process is running because "ps aux | grep twitter" returns:
root 660 0.1 0.4 238568 16328 ? Ssl Nov30 1:34 python twitter_gnip.py start
I think my problem is an incorrect key when I am creating the item but I can't figure out what to enter in.
I've tried:
proc.num[,,, /opt/scripts/twitter_gnip.py]
proc.num[python twitter_gnip.py start]
proc.num[pythontwitter_gnip.pystart]
proc.num[twitter_gnip.py]
All return "twitter_gnip.py is not running on {HOSTNAME} (Twitter
roc.num[python twitter_gnip.py start]): 0" as its item value when I know the process is currently running.
Any help is appriciated. Thanks!
I'm new to zabbix/linux and am having some issues figuring out how to monitor a process.
On my server I have a single process that runs 100% of the time and I'd like to receive an alert if it isn't running for whatever reason.
I know the process is running because "ps aux | grep twitter" returns:
root 660 0.1 0.4 238568 16328 ? Ssl Nov30 1:34 python twitter_gnip.py start
I think my problem is an incorrect key when I am creating the item but I can't figure out what to enter in.
I've tried:
proc.num[,,, /opt/scripts/twitter_gnip.py]
proc.num[python twitter_gnip.py start]
proc.num[pythontwitter_gnip.pystart]
proc.num[twitter_gnip.py]
All return "twitter_gnip.py is not running on {HOSTNAME} (Twitter
roc.num[python twitter_gnip.py start]): 0" as its item value when I know the process is currently running.Any help is appriciated. Thanks!
Comment