Halt nagios alerts when internet offline


Hi There,

We have a nagios server that is at one branch, this checks multiple servers at our data center. My question is:

Is it possible to stop email notifications if the entire network link to the branch is offline for some reason?

This will only happen on very rare ocassions, but it does happen (3-4 times a year).




You can define a service for Nagios server host that would monitor that network link. In that service put an event_handler which would execute a script for disabling all host and service notifications. To help you write the script you can use external commands:
nagios.org/developerinfo/ext … ndlist.php

The one that is closest to your needs is DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST