Notification flood after host down

Ian Chilton mailinglist at ichilton.co.uk
Fri Feb 28 18:14:07 CET 2003


Hello,

> Could you provide a couple snippets from your config files, namely one host
> definition, and one service definition for that host?

ok..


Host:

define host{
        use                     generic-host
        host_name               somehostname
        alias                   Desc
        address                 123.123.123.123
        parents                 mygateway
        check_command           check-host-alive
        max_check_attempts      5
        notification_interval   240
        notification_period     24x7
        notification_options    d,r


Service:

define service{
        use                             generic-service
        host_name                       somehostname
        service_description             SMTP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  somecontactgroup
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_smtp
        }


Hostgroup:

define hostgroup{
        hostgroup_name  somehostgroup
        alias           Name
        contact_groups  somecontactgroup
        members         somehostname
        }


Contact Group:

define contactgroup{
        contactgroup_name       somecontactgroup
        alias                   Name
        members                 nagios,someone
}


Thanks!

--ian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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