3 e-mails per host in DOWN state

Patrick Webster pwebster at ausgeo.com.au
Fri Dec 19 06:33:39 CET 2003


Hi Guys,

I'm running Nagios with about 100 clients at the moment. As the clients
are on a VPN, I want to be alerted ONCE, whenever a host goes DOWN, only
during WORKHOURS.

Currently my hosts.cfg file contains;
---------------------------------
# Generic host definition template
define host{
        name                            generic-host    ; The name of
this host template - referenced in other host definitions, used for
template recursion/resolution
        notifications_enabled           1       ; Host notifications are
enabled
        event_handler_enabled           1       ; Host event handler is
enabled
        flap_detection_enabled          1       ; Flap detection is
enabled
        process_perf_data               1       ; Process performance
data
        notification_interval           0       ; one alert
        retain_status_information       1       ; Retain status
information across program restarts
        retain_nonstatus_information    1       ; Retain non-status
information across program restarts

        register                        0       ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
        }

define host{
        use                     generic-host            ; Name of host
template to use

        host_name               vpn-client
        alias                   VPN Client
        address                 192.168.111.111
        check_command           check-host-alive
        max_check_attempts      10
        notification_period     workhours
        notification_options    d
        parents                 router2
        }
----------------------------------

Despite this, whenever a host goes down I am sent 3 e-mails for the same
issue anywhere between 1 minute to 10 minutes apart.

I have looked for anything obvious and have come up empty. I may be
missing something but don't know what that is.

Cheers,
-Patrick


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
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