Check_process passive check failing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rambertnala
Posts: 70
Joined: Fri Feb 26, 2016 7:15 am

Check_process passive check failing

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check_process passive check failing

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked