-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send custom notification when node has notifies=no
Prior to this commit, if a poller was setup with the setting notifies=no and you would send a SEND_CUSTOM_HOST/SVC_NOTIFICATION to the Naemon query handler, then no notification would be sent. This commit ensure that the master correctly will send the notification. Note that in the case we handle a custom notification on a node that normally isn't responsible for the object, then we do not forward the external command to any other nodes. This is to ensure that we only send one notification in case the systems has disagreements about the settings. This also fixes an issue in general with notifications that might not be sent in case of pollers with notifies=no. This fixes MON-10239 Signed-off-by: Jacob Hansen <jhansen@op5.com>
- Loading branch information
1 parent
b4542b7
commit d04c950
Showing
2 changed files
with
289 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters