[Pkg-nagios-devel] Notifications
Marc Haber
mh+pkg-nagios-devel at zugschlus.de
Sat Jan 13 14:35:18 CET 2007
On Mon, Jan 08, 2007 at 10:59:54AM +0100, Jan Wagner wrote:
> I noticed some trouble related notifications since 6th dec 2006 on my
> nagios2 installations. (in my logs I see until this day correct
> notifications)
>
> [2006-12-06] Accepted 2.6-1 in unstable (low) (Marc Haber)
>
> 1rst: Notification is not send to correct contact_groups
>
> [1168164617] SERVICE ALERT: archive.daniel-baumann.ch;HTTP;OK;HARD;4;HTTP OK
> HTTP/1.1 200 OK - 455 bytes in 0.057 seconds
> [1168164617] SERVICE NOTIFICATION:
> waja;archive.daniel-baumann.ch;HTTP;OK;notify-by-email;HTTP OK HTTP/1.1 200
> OK - 455 bytes in 0.057 seconds
>
> # grep contact x_host_dbaumann_daniel-baumann.ch_nagios2.cfg
> contact_groups dbaumann
> # grep dbaumann *
> local_contacts_nagios2.cfg:# 'dbaumann' contact definition
> local_contacts_nagios2.cfg: contact_name dbaumann1
> local_contacts_nagios2.cfg:# 'dbaumann' contact definition
> local_contacts_nagios2.cfg: contact_name dbaumann2
> local_contacts_nagios2.cfg:# 'dbaumann" contact group definition
> local_contacts_nagios2.cfg: contactgroup_name dbaumann
> local_contacts_nagios2.cfg: members dbaumann1,dbaumann2
> x_host_dbaumann_daniel-baumann.ch_nagios2.cfg: contact_groups
> dbaumann
>
> Sorry ... But I cant follow, why "waja" was choosed as contact, maybe any
> other can. This did work correct til anywhere early in dec 2006.
I cannot see this from your configuration snippets, sorry.
> 2nd: Notifications are only send, when changing to/from "hard non-OK"
>
> This seems relevant with "notification_interval".
>
> nagios2:/etc/nagios2/conf.d# grep "notification_interval\ *0" *
> generic-host_nagios2.cfg: notification_interval 0
> generic-service_nagios2.cfg: notification_interval
> 0 ; Only send notifications on status change by default.
> nagios2:/etc/nagios2/conf.d# grep "notification_interval"
> x_host_dbaumann_daniel-baumann.ch_nagios2.cfg
> notification_interval 5 ; default = 0
>
> But there are only send notifications when the status become "hard non-OK" and
> retire from it.
> The Webinterface says: "Notification Interval: No Re-notification"
In my notification setup (which is a lot simpler, all notifications go
to myself), notification interval setup works.
> I dont know, but both appeared anywhere after 6th dec. 2006, so I guess its
> related to 2.6.
>
> Any ideas/hints?
I don't have any, and the others on this list obviously not as well.
Maybe you'd be best off with reporting this (including more complete
configuration snippets that actually allow building your setup in a
lab) on the upstream mailing list.
Sorry that it didn't work out here. This might as well be a new
upstream bug.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-nagios-devel
mailing list