-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #12929] Notification are sent without taking the filter into account #4734
Comments
Updated by mfriedrich on 2016-12-07 22:48:04 +00:00
Corresponding debug log with the notification sending in progress would help :) |
Updated by BFalco on 2016-12-13 17:26:23 +00:00
mfriedrich wrote:
Hello mfriedrich, thank you for your reply. Attached to this post you will find an excerpt of the debug log from the Icinga2 master. The host went into hard down state at 13:39:25. The first notification was correctly sent at 13:49:26. |
Updated by BFalco on 2017-01-02 13:49:29 +00:00
Hello and happy New Year, Copyright © 2012-2016 Icinga Development Team (https://www.icinga.org/) Application information: System information: Build information: Steps for reproducing the behaviour:
Workaround: |
Hello, |
#4995 might be related. What happens if you add Recovery and Up to sms notification filters? In terms of the debug log - that's lots of information, but where should I be looking at? "sms_24x7" doesn't exist anywhere. Please extract the corresponding notification log lines. |
I added Up and Recovery to the sms notification. Icinga2 notification behaveiour after multiple reloads is as follows:: debug_clean.txt The debug log of my last post does not contain a sms_24x7 message. I just changed the period of the notification object sms_8x5 to 24x7 as I was testing the configuration outside the the timeperiod 8x5. |
Problem is not notified immediately, but delayed.
In addition to that the current notification state would be interesting. Before the first notification attempt would happen, then afterwards, and then after the recovery event happened.
More info on the Icinga 2 API can be found in the docs, in case you haven't enabled it before. |
Looks like a configuration issue to me, and no further details provided. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12929
Created by BFalco on 2016-10-14 14:53:15 +00:00
Assignee: BFalco
Status: Feedback
Target Version: (none)
Last Update: 2017-01-02 13:49:29 +00:00 (in Redmine)
I'm running Icinga 2 in a distributed monitoring setup with one master and several Icinga satellites.
The configuration is replicated to the satellites via top-down schema (zones.d).
Both master and satellites have the notification feature enabled.
The necessary scripts for sending e-mails or sms are available only to the master.
Notifications are sent in intervalls:
One E-Mail is sent after 10 Minutes.
One SMS is sent after 20 Minutes.
Problem 1:
On some occations, an SMS-notification was instantly sent for a service which entered into UNKNOWN omitting the 20 minutes delay and evading the filter.
The UNKNOWN state was caused by a check plugin which didn't receive a answer from the host before timeout.
Problem 2:
For some hosts, which where down for more than 30 minutes, only the first notification (E-Mail) was sent.
After renaming the hosts in icingas configuration the notifications started working normal for these hosts and the problem appeared for other hosts in a
different zone.
Configuration example:
Attachments
The text was updated successfully, but these errors were encountered: