Antwort: Re: parent/child and alerts

srunschke at abit.de srunschke at abit.de
Mon Sep 12 18:14:46 CEST 2005


nagios-users-admin at lists.sourceforge.net schrieb am 12.09.2005 17:52:27:

> I think I see the problem.  Dumb of me.  I'm testing the router that 
> connects my nagios server to the internet.  Pinging it works just fine 
> even when there is no internet connection.

Of course, you are pinging an interface local to the router.

> What do other people use to test their connectivity?

Make use of the parent directive, it notices when you have
a complete network outage. Add every router on the way
to nagios and monitor it, if one of the routers shuts
down nagios will detect a network outage and do not generate
alerts for the machines behind - if you did not add "unreachable"
as alert option (which is usually a bad idea anyways).

Example of monitoring remote-machine-X:

[nagios] -> [managed-switch] -> [core-router] ->
[firewall-inner-eth-ring] -> [firewall-outer-eth-ring] ->
[border-router] -> [remote-site-border-router] ->
[remote-site-switch] -> [remote-machine-X]

This is an example chain from our nagios to a machine at a remote
site. Set the parent directives in inverse order from last to first
and you will have perfect network outage detection. Do not forget
to remove "unreachable" from the notification options for each
machine though, it's screws things up if you work with parents.

regards
        sash

--------------------------------------------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:SRunschke at abit.de

http://www.abit.net
http://www.abit-epos.net
---------------------------------
Sicherheitshinweis zur E-Mail Kommunikation /
  Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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