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

Add a check "alert" option. #1

Open
jimfulton opened this issue Feb 7, 2015 · 0 comments
Open

Add a check "alert" option. #1

jimfulton opened this issue Feb 7, 2015 · 0 comments

Comments

@jimfulton
Copy link
Member

Check's get a new option: alert with (initial) options always (default), daytime and never.

always provides current behavior.

never checks never go critical and this never alert.

daytime checks only go critical during daylight hours, where daylight hours are an agent configuration option. They default to 9-20h local (to server). There might be a plumbing issue requiring a change to the internal plumbing interface.

(Note that another way to approach this might be to define an alert type that's included in fault data and the alerter can use to decide how to alert. For pager duty, this might select a different service with different on-call schedules. I think however that the check option might be cleaner because it wouldn't alert until daytime, rather than alerting at night and having to arrange that the alerter somehow deliveres the alert at the right time.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant