Notification Recovery Issue
Assaf Flatto
assaf.flatto at ssp.uk.com
Mon Nov 10 16:21:41 CET 2008
>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
More information about the Users
mailing list