looking for servicedependency examples

Jeremy C. Reed reed at reedmedia.net
Tue Sep 11 16:45:20 CEST 2007


I am reading:
http://nagios.sourceforge.net/docs/3_0/dependencies.html
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicedependency
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
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