Force notification?

Peter Lauda plauda at rx30.com
Wed Aug 30 22:53:46 CEST 2006


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 ----- 
  From: Aaron Segura 
  To: Peter Lauda ; nagios-users at lists.sourceforge.net 
  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: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda
  Sent: Wednesday, August 30, 2006 2:36 PM
  To: nagios-users at lists.sourceforge.net
  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 ----- 

    From: Mike Koponick 

    To: Peter Lauda ; nagios-users at lists.sourceforge.net 

    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: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda
    Sent: Wednesday, August 30, 2006 1:23 PM
    To: nagios-users at lists.sourceforge.net
    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060830/d930100b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list