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
Check process not running
Re: Check process not running
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
soporteBHUY
- Posts: 4
- Joined: Tue Aug 30, 2016 1:07 pm
Re: Check process not running
Hey, thanks a lot for your reply, I did what you told me and it works like a charm.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check process not running
Great!soporteBHUY wrote:Hey, thanks a lot for your reply, I did what you told me and it works like a charm.
Locking thread