multiple host and service alerts
Ryan O'Rourke
ryano at ch-gifts.com
Mon Mar 3 22:14:07 CET 2003
Thank you for your response. Here is an excerpt from hostgroups.cfg.
**********************************************************************
## hostgroups.cfg ##
# 'router-admins' contact group definition
define contactgroup{
contactgroup_name router-admin
alias Router Admin
members ryano
}
**********************************************************************
On Mon, 2003-03-03 at 15:01, Otmar Conradus wrote:
> 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
More information about the Users
mailing list