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

Create a new daemon that sends out alarm notifications upon customised trigger conditions #36

Closed
HouzuoGuo opened this issue Mar 14, 2018 · 0 comments
Assignees

Comments

@HouzuoGuo
Copy link
Owner

HouzuoGuo commented Mar 14, 2018

The new daemon collects configuration input on alarm name, methods of notification (telephone, SMS, email, satellite, or any combination), and trigger conditions such as:

  • Disk usage on / (built-in)
  • Free memory (built-in)
  • Shell script that normally exits with status 0 (customised input)

Then, the daemon runs in background and periodically checks the trigger conditions, interval of which is also customised by configuration input.

Consecutive failures in trigger conditions will not cause more notifications to be delivered, however, when trigger conditions are no longer present, notifications will tell that alarm conditions are no longer triggered.

For example:

An alarm called "disk usage threshold exceeded" is configured to send notification via telephone call, SMS, and email, the alarm checks disk usage on / at 3 minutes interval and triggers when the usage exceeds 95%.

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

No branches or pull requests

2 participants