Thats great! It gets the HARD state change right away. For some reason now I don't get a notification. I can dig into that but I think you got me on the right track.
 
Cheers!
--p
----- Original Message -----
Sent: Wednesday, August 30, 2006 4:43 PM
Subject: RE: [Nagios-users] Force notification?

The change becomes HARD after max_check_attempts, no?  So just set max_check_attempts to 1.

 

??

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Lauda
Sent: Wednesday, August 30, 2006 2:36 PM
To: [email protected]
Subject: Re: [Nagios-users] Force notification?

 

Well... I have nrpe running on the box where I want this process monitored. So perhaps I didn't explain well enough. The check I need for the named process is easy enough using check_nrpe/nrpe and the check_total_procs plugin with the -c "command name" for the process itself.  So the check is working fine but even when it fails basd on my threshold values for the # of these processes I want to see, the state change is only SOFT - critical.

 

Does that make more sense?

 

Thanks...

 

--p

----- Original Message -----

Sent: Wednesday, August 30, 2006 4:27 PM

Subject: RE: [Nagios-users] Force notification?

 

I’m sure others may have more information, but in order to create a notification you need to “create” a hard state change. Having said that, you would need to run some sort of check command that would check what you wanted, in your case it would be a number of named process.

 

Mike

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Lauda
Sent: Wednesday, August 30, 2006 1:23 PM
To: [email protected]
Subject: [Nagios-users] Force notification?

 

 have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification.

 

Any advice very much welcome.

 

--p

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to