I need to use zabbix to monitor an application process is running or not in a server.Appreciate for any help.
Ad Widget
Collapse
How to setup zabbix to monitor an application process is running or not
Collapse
X
-
-
I was trying to use UserParameter,but still didn't work.
What I was doing:
1. define a UserParameter in zabbix_agentd.conf in monitored server to monitor an application.
2. restart zabbix agent in monitored server.
3. I can see new defined key by using zabbix_agentd in monitored server.
4. Unfortunately,I got nothing returned when I tried zabbix_get command.
My zabbix_server version is 2.0.6 and zabbix_agent version is 2.0.6 too.
OS for zabbix_server is Centos 6.3 and OS for monitored server is Centos 5.6.
What I'm wrong?Anyone can give me hand.Thanks ahead.Comment
-
Re-check command from UserParameter. Also, please read this page.
If you cannot get result using zabbix_get, it's means that command incorrect. What the current service state?
What returns your command if service is Down? Your command must return service state in all possible situation (for example even if service is down). Otherwise you'll get "ZBX_NOTSUPPORTED" for this item.Comment
-
How to discover process name?
Hello all, I have a similar issue.
I'm using the following item for checking if a process is alive or not
proc.num[example_123.exe] and it is working properly.
What I would like to do is, to discover the process name automatically, since we are using a naming convention for it, so I might have 2,3,4 processes running simultaneously, with a similar name, example_124.exe, example_125.exe, etc.
Can someone guide me on how to do this?
Thank you in advance,
FotisComment
Comment