Page 1 of 1

Check process not running

Posted: Wed Mar 20, 2019 10:22 am
by soporteBHUY
Hello, I need to define a monitor to check on a windows system to ensure a specific process is NOT running, so I need to be "OK" if the process is NOT running, and a "Critical" if the process is running.

I have Nagios XI, currently I have configured service monitors using the check_xi_service_nsclient command with PROCSTATE -l nnn.exe -d SHOWALL , this is the opposite .

Can you help me?

Thanks in advance

Re: Check process not running

Posted: Thu Mar 21, 2019 3:12 pm
by cdienger
Check out the negate plugin at https://assets.nagios.com/downloads/nag ... ios-XI.pdf. It can take the OK from the plugin and return a CRITICAL or WARNING to the nagios process instead.

Re: Check process not running

Posted: Tue Mar 26, 2019 7:35 am
by soporteBHUY
Hey, thanks a lot for your reply, I did what you told me and it works like a charm.

Re: Check process not running

Posted: Tue Mar 26, 2019 10:40 am
by scottwilkerson
soporteBHUY wrote:Hey, thanks a lot for your reply, I did what you told me and it works like a charm.
Great!

Locking thread