Provide a method to inform Fedora-Infra about errors #1

Closed
opened 2020-02-11 22:26:52 +00:00 by mattia · 2 comments
Owner

The current fedora-review script relies on emails sent by cron directly to tibbs.
We can use this new script the same way, since it always requires a cronjob to be executed, but maybe there's a better way, by using python logging. We can choose:

  • send errors by SMTP handler: to what email address?
  • send errors to journald by python-systemd JournalHandler: is there some monitoring service to look for errors in journal?
  • store logs of runs by RotatingFileHandler: this will not alert anyone, but may provide useful historic information
  • other methods unknown by me? (some Nagios plugin?)

Suggestions welcome.

The current fedora-review script relies on emails sent by cron directly to tibbs. We can use this new script the same way, since it always requires a cronjob to be executed, but maybe there's a better way, by using python logging. We can choose: * send errors by SMTP handler: to what email address? * send errors to journald by python-systemd JournalHandler: is there some monitoring service to look for errors in journal? * store logs of runs by RotatingFileHandler: this will not alert anyone, but may provide useful historic information * other methods unknown by me? (some Nagios plugin?) Suggestions welcome.
Author
Owner

Actually the script will provide information about run by reporting to systemd journal and optionally to email addresses.

Actually the script will provide information about run by reporting to systemd journal and optionally to email addresses.
Author
Owner

Metadata Update from @mattia:

  • Issue status updated to: Closed (was: Open)
**Metadata Update from @mattia**: - Issue status updated to: Closed (was: Open)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
apps/review_stats#1
No description provided.