Summary: | Cronjob monitoring script, nagios3 compatible | ||
---|---|---|---|
Product: | Koha | Reporter: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Component: | Test Suite | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Status: | RESOLVED WONTFIX | QA Contact: | Galen Charlton <gmcharlt> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, gitbot, jonathan.druart, katrin.fischer, veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12855 | ||
Change sponsored?: | --- | Patch complexity: | Medium patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Attachments: | initial patch |
Description
Olli-Antti Kivilahti
2014-09-10 14:41:57 UTC
Here are some example crontab configurations to get started using this feature: 0 * * * * $KOHA_CRONJOB_TRIGGER cronjobs/holds/build_holds_queue.pl -v 5 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/holds/cancel_expired_holds.pl 4 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/holds/auto_unsuspend_holds.pl 30 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/fines.pl -v 10 1 * * * $KOHA_CRONJOB_TRIGGER cronjobs/update_totalissues.pl --incremental --use-stats 45 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/create_koc_db.pl --sqlite3 --force --file /home/koha/kohaclone/koha-tmpl/static_content/borrowers.db 0 0 * * 7 $KOHA_CRONJOB_TRIGGER cronjobs/removeShortLoanStatus.pl -v */30 * * * * $KOHA_CRONJOB_TRIGGER cronjobs/smsalertnumberFromPhone.pl --verbose --confirm 0 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/delete_expired_opac_registrations.pl -c * * * * * $KOHA_CRONJOB_TRIGGER cronjobs/process_message_queue.pl -v 25 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/advance_notices.pl -c 35 0 * * * $KOHA_CRONJOB_TRIGGER cronjobs/overdue_notices.pl --triggered Patch applied cleanly\n Patch still applies, but I don't know how to test this. Someone using Nagios maybe? (In reply to Katrin Fischer from comment #3) > Patch still applies, but I don't know how to test this. Someone using Nagios > maybe? 1. I don't think this really has a place in Koha. People can monitor however they like, so I don't think we should include Nagios specifically. 2. I use Nagios, but I don't have any interest in testing this. 3. It's not clear from the description what this patch does, although after reviewing the code, it seems like it's trying to do too much. 4. That all said, it wouldn't hurt to make cronjobs log in some way that is friendly for monitoring apps. We have cronlogaction now, but maybe that could be improved. Olli, are you still interested in this in 2019? (In reply to David Cook from comment #4) > (In reply to Katrin Fischer from comment #3) > > Patch still applies, but I don't know how to test this. Someone using Nagios > > maybe? > > 1. I don't think this really has a place in Koha. People can monitor however > they like, so I don't think we should include Nagios specifically. > > 2. I use Nagios, but I don't have any interest in testing this. > > 3. It's not clear from the description what this patch does, although after > reviewing the code, it seems like it's trying to do too much. > > 4. That all said, it wouldn't hurt to make cronjobs log in some way that is > friendly for monitoring apps. We have cronlogaction now, but maybe that > could be improved. > > Olli, are you still interested in this in 2019? I am closing this as there has been no reply in another 4 years. |