-
Notifications
You must be signed in to change notification settings - Fork 14
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
Reporting errors in Argus itself #88
Comments
These objects should be get_or_created early and easily and often. Maybe a management command named "setup" or "verify" or something, or get_or_created on each use of the function. The first use of the function could be when setting up the system for the first time, a "Hello, World" incident, low severity! |
There now is a way to auto-create an argus user/source/source type. What's left is to create a suitable incident every time argus complains about something in its logs. |
This feature sounds very useful! Still, I am a bit worried that, in certain cases, Argus might overload with its own error messages if this were implemented naively. So, two requirements that should be met before implementation
|
Removing "good first issue" tag for aforementioned issues. |
Another approach would be sending a notification through Argus without creating an incident. |
This came up again in #760. |
The types of errors that argus can report about itself, for instance: Failure to send a notification because the notification-endpoint isn't answering (email server down, say), should be reported as a incident.
This means we need a SourceType "argus" and a SourceSystem representing the host argus is running on. Named "self" maybe? "me"? I suspect hostname would be tricky. Also, a function/method argus can use to write to the incidents-table, with SourceType/SourceSystem locked.
(This is very nice, because we can dogfood the system using itself, triggering errors in argus in order to have incidents turn up in argus :) )
The text was updated successfully, but these errors were encountered: