Multiple SNMP traps only sending one alert
Mascardo, Erwin
Erwin.Mascardo at intelsat.com
Fri Jun 10 19:46:26 CEST 2005
-----Original Message-----
From: Matt Hanley [mailto:MHANLEY at cxtec.com]
Sent: Friday, 10 June, 2005 11:27
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Multiple SNMP traps only sending one
alert
I've set up Nagios to receive an SNMP trap from a remote source,
and it works fine. The trap comes in, an alert is emailed out, and the
service status is set to critical.
The problem is, subsequent traps come in and no further alerts
are emailed out (although "Last Check" reads correctly). Here is the
service config:
# service FAX
define service{
host_name faxmachine
service_description FAX
is_volatile 1
active_checks_enabled 0
passive_checks_enabled 1
check_period none
max_check_attempts 1
normal_check_interval 2
retry_check_interval 1
contact_groups mhanley
notification_interval 0
notification_period 24x7
notification_options c
check_command check_none
}
What do I need to do so that I'll receive an email alert for
every trap that is sent?
Thanks!
-matt
The problem is your notification_interval. Set at 0, this means that
you'll never get another notification for the same status, even if a
different event causes that status. With is_volatile set, you'll get a
notification for every different SNMP trap that you get -- just set
notification_interval to something small (like 1) if you expect to get
multiple, identical traps in a row.
--Erwin
############################################################
Intelsat is a global communications provider offering flexible and
secure services to customers in over 220 countries and territories.
Intelsat has maintained a leadership position for over 40 years by
distributing video, voice, and data for television and content providers,
government and military entities, major corporations, telecommunications carriers,
and Internet service providers. Intelsat's reach, power and expanding solutions
portfolio deliver information reliably and quickly to every corner of the globe.
For more information, visit www.intelsat.com.
############################################################
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and
destroy all copies of the original message. Any views
expressed in this message are those of the individual
sender, except where the sender specifically states them
to be the views of Intelsat, Ltd. and its subsidiaries.
############################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050610/d4b9fdbd/attachment.html>
More information about the Users
mailing list