I think you could do that with check_cluster. It was part of the 1.4.9 plugins. That might do the trick for you. I think you would just configure it with your 2 ping checks and set the maxim down to 2. I only used it in testing it worked but we never ended up needing it.
Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy C. Reed Sent: Tuesday, September 11, 2007 9:45 AM To: [email protected] Subject: [Nagios-users] looking for servicedependency examples I am reading: http://nagios.sourceforge.net/docs/3_0/dependencies.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicedep endency http://www.maxsworld.org/index.php/how-tos/nagios Can anyone provide any simple "servicedependency" examples? I have a service definition that I want to trigger a different service definition if it is critical. And only if both are critical will a notification be sent. I already did this. But I don't know yet if it works. Is there anyway to tell nagios from the command line to run a specific check and to give verbose debugging output on what it is doing with that check? Here's my original problem: one of our nagios monitoring servers is hosted outside of our network with many hops between us. Often we receive notifications from check_ping having a too high round trip average travel time, packet loss percentage is too high, or the ping attempt times out. But often, the problem is not due to our own routers or hosts we are monitoring and not due to the routers or network where the nagios is hosted -- so somewhere in between on the internet. I plan on having nagios use check_nrpe to connect to one of our other systems (on a different network) then have my custom NRPE script do the same check_ping command. Only if both fail, do I want the notification. Any suggestions? Or is there a better way to do this? Thanks, Jeremy C. Reed ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
