checking if nrpe is running at all.

Steve Traylen s.traylen at rl.ac.uk
Mon Jun 14 23:00:50 CEST 2004


Hi,

  I am checking 30 things or so on 400 nodes via nrpe excecutions.

  What I see sometimes particularly when a host is dead but still in a pingable state
  is that if nrpe can not be reached then I get 30 failiures from each of
  things I am monitoring that nrpe has timed out.

  I really only want to see one message that nrpe is not available.

  So I thought I would make a nrpe check to see if nrpe was running at all
  and then make this a service dependency for all the others.

  However when I came to make the service dependency I see I have to specify host names

  eg

  define servicedependency{
 	host_name			WWW1
 	service_description		Apache Web Server
 	dependent_host_name		WWW1
 	dependent_service_description	Main Web Site
 	execution_failure_criteria	n
 	notification_failure_criteria	w,u,c
  }

  and so if I want to do this I would have to make 30*400 entries to do what I wanted. Making
  30 entries would have been okay.

  Is there a better of way of doing what I want to do?

    Steve

-- 
Steve Traylen
s.traylen at rl.ac.uk
http://www.gridpp.ac.uk/



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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