Notification Recovery Issue

Sotiroff, Kristian Sotiroff.Kristian at mtvne.com
Mon Nov 10 17:03:57 CET 2008


fair enough. should have read the entire thread before jumping in..

________________________________

From: Leah Fisher [mailto:leahfist at gmail.com] 
Sent: 10 November 2008 16:00
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Notification Recovery Issue


As I've said, I notice in the logs that there is a recovery notification
going to my none contact group, then before that I see the notification
sent to the none contact group, and then 2 hours before that I see the
notification going to everyone that it is supposed to.  This has been
happening for awhile now.

Also, I don't believe your suggestion would do anything as the
documentations say:  "Note: Notifications about host or service
recoveries are only sent out if a notification was sent out for the
original problem. It doesn't make sense to get a recovery notification
for something you never knew was a problem."  Therefore why would a
contact only get recovery notifications.

Leah


On Mon, Nov 10, 2008 at 10:32 AM, Sotiroff, Kristian
<Sotiroff.Kristian at mtvne.com> wrote:


	Here's a thought: could it be that your original contact list
don't get
	notified because you are in an escalation period? Thus the
original list
	is out of reach.
	
	One thing you could try is creating a new list (lfisher_ooh) and
then
	set this group to get the alerts during escalation periods but
only
	'recovery' alerts (ie. notification_options r)
	



	-----Original Message-----
	From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com]
	Sent: 10 November 2008 15:22
	To: nagios-users at lists.sourceforge.net
	Subject: Re: [Nagios-users] Notification Recovery Issue
	
	
	>From these definitions - it should work and i see not reason
why it
	doesn't .
	
	have you checked the log to see what happens when it detects a
recovery
	?
	could it be that you have tow instances running and thus the
nagios
	isn't running with the corrent config ?
	
	
	
	
	On Monday 10 November 2008 15:08:54 Leah Fisher wrote:
	> Here are a bunch of my definitions.  A host, the inherited
host
	> definitions, a contact and the escalation I'm using.
	>
	> define host{
	>   use win
	>   host_name  windowshost
	>   address       xxx.xxx.xxx.xxx
	>   contact_groups  +win
	> }
	> define host{
	>   use generic-host
	>   name win
	>   hostgroups  windows
	>   contact_groups +win
	>   register 0
	> }
	> define host{
	>   name generic-host
	>   notifications_enabled 1
	>   event_handler_enabled 1
	>   flap_detection_enabled 0
	>   failure_prediction_enabled 1
	>   process_perf_data 0
	>   retain_status_information 1
	>   retail_nonstatus_information 1
	>   notification_period 24x7
	>   check_command check-host-alive
	>   max_check_attempts 5
	>   notification_interval 120
	>   check_period 24x7
	>   notifcation_options d,r
	>   retry_interval 1
	>   check_interval 5
	>   contact_groups all
	>   register 0
	> }
	> define contact{
	>   contact_name lfisher
	>   alias Leah Fisher
	>   service_notification_period 24x7
	>   host_notification_period 24x7
	>   service_notification_opttions w,u,c,r,f
	>   host_notification_options d,r
	>   service_notification_commands notify-by-email
	>   host_notification_commands host-notify-by-email
	>   email  leahfist at gmail.com
	>   contactgroups  all
	> }
	> define hostescalation{
	>   host_name  *
	>   contact_groups  none
	>   first_notification 2
	>   last_notification  0
	>   notification_interval 360
	>   escalation_period     nonworkhours
	> }
	>
	> On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto
	<assaf.flatto at ssp.uk.com>wrote:
	> > can you show us the escalation config ?
	> >
	> > It will be easier to understand and debud , also a host
declaration
	
	> > will help
	> >
	> > On Monday 10 November 2008 14:33:45 Leah Fisher wrote:
	> > > Sorry, I should have included that.  I'm using version
3.0.5 on
	RHEL4
	> > > ES.
	> > >
	> > > I get recoveries if the host escalations do not take
effect and I
	can
	> > > see in the event log that the notification was just sent
to my
	> > > escalation
	> >
	> > group
	> >
	> > > once the escalation group gets a notification.
	> > >
	> > > Leah
	> > >
	> > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto
	<assaf.flatto at ssp.uk.com
	> > >
	> > >wrote:
	> > > > Which version are you using ?
	> > > >
	> > > > Do you also have them in the contact groups with the
recovery
	option
	> > > > defined in the host/service
	> > > > definition
	> > > >
	> > > > Myself i am using the same issue and we get the alert
for both
	the
	> >
	> > faiure
	> >
	> > > > and recovery ,however i
	> > > > use 2.12 .
	> > > >
	> > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote:
	> > > > > I have been noticing an issue with notifications that
I wanted
	to
	> > > > > run by everyone before I report it as a bug.  I'm also
hoping
	> > > > > someone who is on the development list can let me know
if this
	has
	> > > > > already been reported.
	> > > >
	> > > >  I
	> > > >
	> > > > > use escalations to suppress notifications on weekends
so when
	no
	> > > > > one
	> >
	> > is
	> >
	> > > > > around to fix something, we don't have a very full
inbox come
	> > > > > Monday.
	> > > >
	> > > >  So,
	> > > >
	> > > > > on non work hours, I have a host escalation that goes
to a
	false
	> >
	> > email
	> >
	> > > > > starting from notification 2 to infinity.  This works
great,
	but if
	> >
	> > the
	> >
	> > > > > host recovers during the escalation period, recovery
	notifications
	> >
	> > only
	> >
	> > > > go
	> > > >
	> > > > > to the escalation user, not all the users that were
notified
	of the
	> > > > > problem.  This becomes a problem as certain management
folk
	don't
	> >
	> > seem
	> >
	> > > > > to know how to go to the website to look at the status
and
	think
	> >
	> > things
	> >
	> > > > > are still down without a recovery notification.  I am
not sure
	> > > > > about service alerts, but I know this has not worked
for quite
	some
	> > > > > time on host
	> > > >
	> > > > alerts.
	> > > >
	> > > > > Has anyone else seen this problem?
	> > > > >
	> > > > > Thanks,
	> > > > >
	> > > > > Leah
	> > > >
	> > > > --
	> > > > Assaf Flatto
	> > > > SSP Ops Team
	> > > > Linux System Administrator
	> > > > 169 Euston Road, London, NW1 2AE
	> > > >
	> > > >
	> > > >
	> > > >
	> > > >
	> > > > IMPORTANT . this email and the information in it may be
	confidential,
	> > > > legally
	> > > > privileged and/or protected by law. It is intended
solely for
	the use
	> >
	> > of
	> >
	> > > > the
	> > > > person to whom it is addressed. If you are not the
intended
	> > > > recipient, please
	> > > > notify the sender immediately and do not disclose the
contents
	to any
	> > > > other person, use it for any purpose, or store or copy
the
	> > > > information
	> >
	> > in
	> >
	> > > > any medium.
	> > > > Please also delete all copies of this email and any
attachments
	from
	> >
	> > your
	> >
	> > > > system.
	> > > >
	> > > > We cannot guarantee the security or confidentiality of
email
	> > > > communications. We
	> > > > do not accept any liability for losses or damages that
you may
	suffer
	> >
	> > as
	> >
	> > > > a result of your receipt of this email including but not
limited
	to
	> > > > computer service or system failure, access delays or
	interruption,
	> > > > data non-delivery or
	> > > > mis-delivery, computer viruses or other harmful
components.
	> > > >
	> > > > Copyright in this email and any attachments belong to
Select
	Service
	> > > > Partner UK
	> > > > Limited. Should you communicate with anyone at Select
Service
	Partner
	> >
	> > UK
	> >
	> > > > Limited by
	> > > > email, you consent to us monitoring and reading any such
	> >
	> > correspondence.
	> >
	> > > > Nothing in this email shall be taken or read as
suggesting,
	proposing
	> >
	> > or
	> >
	> > > > relating to any agreement concerted practice or other
practice
	that
	> >
	> > could
	> >
	> > > > infringe UK or EC competition legislation.
	> > > >
	> > > > Select Service Partner UK Limited is a company
registered in
	England
	> >
	> > and
	> >
	> > > > Wales
	> > > > (company number 05687183) whose registered office is at
1 The
	> > > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY
	> >
	> >
	
------------------------------------------------------------------------
	-
	> >
	> > > > This SF.Net email is sponsored by the Moblin Your Move
	Developer's
	> > > > challenge
	> > > > Build the coolest Linux based applications with Moblin
SDK & win
	> > > > great prizes
	> > > > Grand prize is a trip for two to an Open Source event
anywhere
	in the
	> > > > world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
	> > > > _______________________________________________
	> > > > 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
	> >
	> > --
	> > Assaf Flatto
	> > SSP Ops Team
	> > Linux System Administrator
	> > 169 Euston Road, London, NW1 2AE
	> >
	> >
	> >
	> >
	> >
	> > IMPORTANT . this email and the information in it may be
	confidential,
	> > legally
	> > privileged and/or protected by law. It is intended solely
for the
	use of
	> > the
	> > person to whom it is addressed. If you are not the intended
	recipient,
	> > please
	> > notify the sender immediately and do not disclose the
contents to
	any
	> > other person, use it for any purpose, or store or copy the
	information in
	> > any medium.
	> > Please also delete all copies of this email and any
attachments from
	your
	> > system.
	> >
	> > We cannot guarantee the security or confidentiality of email
	> > communications. We
	> > do not accept any liability for losses or damages that you
may
	suffer as
	> > a result of your receipt of this email including but not
limited to
	> > computer service or system failure, access delays or
interruption,
	data
	> > non-delivery or
	> > mis-delivery, computer viruses or other harmful components.
	> >
	> > Copyright in this email and any attachments belong to Select
Service
	> > Partner UK
	> > Limited. Should you communicate with anyone at Select
Service
	Partner UK
	> > Limited by
	> > email, you consent to us monitoring and reading any such
	correspondence.
	> >
	> > Nothing in this email shall be taken or read as suggesting,
	proposing or
	> > relating to any agreement concerted practice or other
practice that
	could
	> > infringe UK or EC competition legislation.
	> >
	> > Select Service Partner UK Limited is a company registered in
England
	and
	> > Wales
	> > (company number 05687183) whose registered office is at 1
The
	Heights,
	> > Brooklands, Weybridge. Surrey. KT13 0NY
	> >
	> >
	> >
	> >
	
------------------------------------------------------------------------
	-
	> > This SF.Net email is sponsored by the Moblin Your Move
Developer's
	> > challenge
	> > Build the coolest Linux based applications with Moblin SDK &
win
	great
	> > prizes
	> > Grand prize is a trip for two to an Open Source event
anywhere in
	the
	> > world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
	> > _______________________________________________
	> > 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
	
	
	
	--
	Assaf Flatto
	SSP Ops Team
	Linux System Administrator
	169 Euston Road, London, NW1 2AE
	
	
	
	
	
	
	IMPORTANT . this email and the information in it may be
confidential,
	legally
	privileged and/or protected by law. It is intended solely for
the use of
	the
	person to whom it is addressed. If you are not the intended
recipient,
	please
	notify the sender immediately and do not disclose the contents
to any
	other
	person, use it for any purpose, or store or copy the information
in any
	medium.
	Please also delete all copies of this email and any attachments
from
	your
	system.
	
	We cannot guarantee the security or confidentiality of email
	communications. We
	do not accept any liability for losses or damages that you may
suffer as
	a
	result of your receipt of this email including but not limited
to
	computer
	service or system failure, access delays or interruption, data
	non-delivery or
	mis-delivery, computer viruses or other harmful components.
	
	Copyright in this email and any attachments belong to Select
Service
	Partner UK
	Limited. Should you communicate with anyone at Select Service
Partner UK
	Limited by
	email, you consent to us monitoring and reading any such
correspondence.
	
	Nothing in this email shall be taken or read as suggesting,
proposing or
	relating to any agreement concerted practice or other practice
that
	could
	infringe UK or EC competition legislation.
	
	Select Service Partner UK Limited is a company registered in
England and
	Wales
	(company number 05687183) whose registered office is at 1 The
Heights,
	Brooklands, Weybridge. Surrey. KT13 0NY
	
	
	
	
------------------------------------------------------------------------
	-
	This SF.Net email is sponsored by the Moblin Your Move
Developer's
	challenge
	Build the coolest Linux based applications with Moblin SDK & win
great
	prizes
	Grand prize is a trip for two to an Open Source event anywhere
in the
	world
	http://moblin-contest.org/redirect.php?banner_id=100&url=/
	_______________________________________________
	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
	
	
	
	
	CONFIDENTIALITY NOTICE
	
	This e-mail (and any attached files) is confidential and
protected by
	copyright (and other intellectual property rights). If you are
not the
	intended recipient please e-mail the sender and then delete the
email and
	any attached files immediately. Any further use or dissemination
is
	prohibited.
	
	While MTV Networks Europe has taken steps to ensure that this
email and
	any attachments are virus free, it is your responsibility to
ensure that
	this message and any attachments are virus free and do not
affect your
	systems / data.
	
	Communicating by email is not 100% secure and carries risks such
as delay,
	data corruption, non-delivery, wrongful interception and
unauthorised
	amendment. If you communicate with us by e-mail, you acknowledge
and
	assume these risks, and you agree to take appropriate measures
to minimise
	these risks when e-mailing us.
	
	MTV Networks International, MTV Networks UK & Ireland,
Greenhouse,
	Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand
Solutions
	International and Comedy Central are all trading names of MTV
Networks
	Europe.  MTV Networks Europe is a partnership between MTV
Networks Europe
	Inc. and Viacom Networks Europe Inc.  Address for service in
Great Britain
	is UK House, 180 Oxford Street, London W1D 1DS, UK.
	


	
------------------------------------------------------------------------
-
	This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
	Build the coolest Linux based applications with Moblin SDK & win
great prizes
	Grand prize is a trip for two to an Open Source event anywhere
in the world
	http://moblin-contest.org/redirect.php?banner_id=100&url=/
	_______________________________________________
	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
	





CONFIDENTIALITY NOTICE

This e-mail (and any attached files) is confidential and protected by 
copyright (and other intellectual property rights). If you are not the 
intended recipient please e-mail the sender and then delete the email and 
any attached files immediately. Any further use or dissemination is 
prohibited.

While MTV Networks Europe has taken steps to ensure that this email and 
any attachments are virus free, it is your responsibility to ensure that 
this message and any attachments are virus free and do not affect your 
systems / data.

Communicating by email is not 100% secure and carries risks such as delay, 
data corruption, non-delivery, wrongful interception and unauthorised 
amendment. If you communicate with us by e-mail, you acknowledge and 
assume these risks, and you agree to take appropriate measures to minimise 
these risks when e-mailing us. 

MTV Networks International, MTV Networks UK & Ireland, Greenhouse, 
Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions 
International and Comedy Central are all trading names of MTV Networks 
Europe.  MTV Networks Europe is a partnership between MTV Networks Europe 
Inc. and Viacom Networks Europe Inc.  Address for service in Great Britain 
is UK House, 180 Oxford Street, London W1D 1DS, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081110/25ecf8fc/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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