NSClient++ Help (#1) - windows process with same name (#426) - Message List
Hi, i need to check with check_nrpe / nsclient++ same process with ugual name es. java.exe.
For example i try to use this command for check if the java.exe process is running with a minimal number of process = 3:
./check_nrpe -H xxx.xxx.xxx.xxx -c CheckProcState MinCritCount?=2 -a ShowAll java.exe=running
and work fine ...for example if i close one process (total =2) ./check_nrpe command returns with a critical state..
Now i try to add to the command the "MaxCritCount?=4" so i can check if running proccess not "used/zombie"..
./check_nrpe -H xxx.xxx.xxx.xxx -c CheckProcState MinCritCount?=2 MaxCritCount?=4 -a ShowAll java.exe=running
But now returns a critical state only when i have 4 process of java and not for 2 process..Why?
My Nsclient++ installed on server is:
NSClient++ 0.3.6.316 2009-02-04
Thanks in advanced for help.
Max
-
Message #1394
the right check:
./check_nrpe -H xxx.xxx.xxx.xxx -c CheckProcState -a ShowAll MinCritCount?=2 MaxCritCount?=4 java.exe=running
bye Max
abbozzo08/25/09 16:47:46 (2 years ago) -
Message #1399
humm...
I would need to sit down and do this a bit more throrogöly then on a train to work, so Ill try to get back to you tonight or tomorrow night whenever I have time...
mickem08/26/09 08:34:37 (2 years ago)







