Skip to content
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 #9231] Expose notification period though status api for tools like aNAG to use to only notify you during notification period #2989

Closed
icinga-migration opened this issue May 6, 2015 · 4 comments
Labels
area/api REST API enhancement New feature or request

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9231

Created by netmindz on 2015-05-06 13:18:54 +00:00

Assignee: (none)
Status: Rejected (closed on 2015-05-08 08:07:01 +00:00)
Target Version: (none)
Last Update: 2015-05-08 08:07:01 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Currently if you use tools like aNag to be alerted of service or host issues, it can't respect the notification period of that host or service. You can set "global" quiet times in the config of aNag to set quiet times, but if you have a mixture of services that need to be 24/7 but some that are not, there is no way for aNag to know that while this given service is currently in an error state, it it should not notify you.

You can kinda work around this, by setting aNag to never refresh and only trigger a refresh by using NMA, but this doesn't work 100%

Would it be possible to change Icinga2 (and possibly v1 also) to include something in the status result that indicated if this host or service is currently in it's notification window ?


Relations:

@icinga-migration
Copy link
Author

Updated by ddegois on 2015-05-07 07:52:03 +00:00

May I suggest in_notification_period as boolean in status.cgi hostdetail and servicedetail ?

D.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-05-08 08:06:44 +00:00

In Icinga 2 notification objects take care of notification periods, so the exposed status data inside the StatusDataWriter class is not correct at all. We should consider that when implementing the Icinga API where notification objects are accessible as well. I'm closing this feature in favor of #9235

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-05-08 08:06:53 +00:00

  • Duplicates set to 9235

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-05-08 08:07:01 +00:00

  • Status changed from New to Rejected

@icinga-migration icinga-migration added enhancement New feature or request area/api REST API labels Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant