Check process not running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
soporteBHUY
Posts: 4
Joined: Tue Aug 30, 2016 1:07 pm

Check process not running

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Check process not running

Post 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.
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

Post by soporteBHUY »

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked