multiple host and service alerts

Otmar Conradus otmar at e-commercepark.com
Tue Mar 18 15:17:36 CET 2003


Ryan,

That I know when a service check return a non-ok value nagios will the 
check if the host is up according to the host check command you defined.

Please check if you are getting 
- an email with a critical ping message
followed by a
- email with a host down message

Otmar Conradus
Curacao, Netherlands Antilles

-----Original Message-----
From: Otmar Conradus [mailto:otmar at e-commercepark.com] 
Sent: Monday, March 03, 2003 5:02 PM
To: 'Ryan O'Rourke'; 'nagios-users at lists.sourceforge.net'
Subject: RE: [Nagios-users] multiple host and service alerts


Hi Ryan,

Please include your contact-groups.cfg also

Otmar Conradus
Curacao, Netherlands Antilles

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ryan
O'Rourke
Sent: Monday, March 03, 2003 1:11 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] multiple host and service alerts


Hello,

I keep getting multiple alerts (usually two or three) within minutes of
each other each time a host or service goes down or recovers. I only
want one notice each time a host or service goes down and one when it
recovers. Also, Nagios is only monitoring one service on each of these
hosts so I don't understand why I would be getting multiple alerts at
all.

If someone could point me in the right direction I would appreciate it.

There are examples of service.cfg and contacts.cfg.

**********************************************************************
## services.cfg ##
# 'ping ROUTER' service definition
define service{
        use                             generic-service
        host_name                       r2030
	service_description             PING router
        contact_groups                  router-admin
        check_command                   check_ping!100.0,20%!500.0,60%
        }

## contacts.cfg ##
# 'ryano' contact definition 
define contact{
        contact_name                    ryano
        alias                           Ryan O
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    c,r
        host_notification_options       d,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        email                           email at mydomain.com
	}






-------------------------------------------------------
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




-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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