Page 1 of 1

Check_process passive check failing

Posted: Tue Sep 25, 2018 3:28 am
by rambertnala
Hi friends.

I have a problem i will try to explain here

I need to check 17 processes on window hosts with WXP. Problem is passive check always report CRITICAL. I have more passive checks that report well.

This is passive check

Processes check = check_process process=PROCESS_1 process=PROCESSS_2 ... process=PROCESS_17

I always get CRITICAL and all processes stopped

But if I check via
check_nrpe -H host_address -t 180 -c check_process -a process=PROCESS_1 process=PROCESSS_2 ... process=PROCESS_17
i get an OK

Why is passive check failing???

NSCP 0.5.1.46 is installed on Windows hosts

Regards

Re: Check_process passive check failing

Posted: Tue Sep 25, 2018 4:26 pm
by lmiltchev
need to check 17 processes on window hosts with WXP
Do you mean you are using Windows XP?! I tested a passive check defined as such:

Code: Select all

process = check_process "process=firefox.exe" "process=CarboniteService.exe" "process=ncpa_listener.exe" show-all
and my passive check works fine. I get Critical only if at least one of the processes is not running. Otherwise, I get "OK".

Note: This was tested on Windows 7.

Can you show the the actual "Processes check" command definition in the nclient.ini file. Also, show us your "active" check, run from the command line, along with the output of it.