289 Commits
Author SHA1 Message Date
patrick 6bbbb8970c * Refactored --archive-all feature so that archiving runs more efficiently (starting with the HC that has most messages in the HC log first, then with the HC that has the second most messages etc)
* show_statistics(): show archived events in proper order
* quoting fixes
20201227
2020-12-27 17:11:00 +01:00
patrick 04b5e8f8e5 Fixes 2020-12-27 01:05:31 +01:00
patrick 835189facf Fix typo 2020-12-26 19:43:08 +01:00
patrick 1fd486b036 * Added plugins: check_*_uptim, check_linux_fetchmail_status, check_linux_dovecot_status
* Fixes for check_*_ntp_status plugins.
* Added log check for check_*_postfix plugins.
2020-12-26 17:51:03 +01:00
patrick cc1d9e5c98 Fix issue #9 : do_cleanup() removing plugin stdout & stderr log files when running multiple HC plugins 2020-11-08 22:01:10 +01:00
Patrick Van der Veken 4a8dcb035c Fix template comment 20201031 2020-10-28 17:27:14 +01:00
patrick 3e9b483e84 Added check_linux_fail2ban_status plugin 2020-10-18 20:10:45 +02:00
patrick 3f5c47da52 Fix in check_linux_httpd_status plugin 2020-10-10 18:09:55 +02:00
patrick 13bc933e89 * Fix in display_init plugin for larger field
* check_linux_httpd_status plugin: added support for configuration 
parameters 'httpd_path' and changed meaning of 'httpd_bin' in order to 
support debian/ubuntu distros using the 'apache(2)' binary
2020-10-10 17:15:30 +02:00
Patrick Van der Veken e3da7e7b94 check_linux_mysqld_status(): fixes around systemctl handling, better error handling, corrected handling of DO_MYSQLCHECK, fix non-localhost process checking 20200926 2020-09-25 09:39:30 +02:00
patrick 2135f56abe Merge branch 'master' of https://github.com/patvdv/check_health 2020-09-05 14:16:00 +02:00
patrick 797ae2380a check_*_file_change plugin: fix log_hc call for failed checksum + quote fix 2020-09-05 14:15:50 +02:00
Patrick Van der Veken 6aedc6d180 Merge branch 'master' of https://github.com/patvdv/check_health 2020-07-07 14:39:28 +02:00
Patrick Van der Veken 92d20dd582 Added check_exadata_ib_status plugin 2020-07-07 14:39:08 +02:00
patrick 719e58d33d Update README 2020-05-09 22:43:35 +02:00
patrick 35ffe17b65 Add pgrep als another fallback check 2020-05-08 21:20:42 +02:00
patrick c1896ec1c2 Fix in conffiles 20200418 2020-04-29 19:40:59 +02:00
patrick 32c8d035c0 Fix in conffiles 2020-04-29 19:38:39 +02:00
patrick c0a22a0513 Comment fix 2020-04-19 11:18:51 +02:00
patrick 36726086c2 Comment fix 2020-04-18 23:35:04 +02:00
patrick 6028a3ad13 Comment fix 2020-04-18 23:15:37 +02:00
patrick eed20b7110 Comment fix 2020-04-18 23:14:48 +02:00
Patrick Van der Veken 8c784c2c78 Fix for stupid copy/past type 2020-04-15 13:18:36 +02:00
Patrick Van der Veken 8c53a1586e Update comment 2020-04-14 21:07:58 +02:00
patrick d14393ca85 Add more default settings to config files 2020-04-13 20:28:28 +02:00
patrick be2c4fab8e Copy/paste fix 2020-04-12 10:47:35 +02:00
patrick 3e859f3c27 Fix error checking + updated comments 2020-04-11 11:45:14 +02:00
patrick 68eced6aa4 Add support for OpenVZ 7.x 2020-04-11 11:44:35 +02:00
patrick 85e88d78c4 Update comment 2020-04-10 19:56:43 +02:00
patrick 436821522d Add help comment 2020-04-10 18:44:01 +02:00
patrick a72fbd1576 Added support for OpenVZ 7. Now using /proc/user_beancounters instead of the 'vzubc' tool. Added possbility to exclude UBC counters 2020-04-10 18:43:01 +02:00
Patrick Van der Veken 8b6b2e9c31 Rollback some stuff + whitespace fixes 2020-04-08 11:49:37 +02:00
Patrick Van der Veken c8aa4aad79 * Add caching to reporting features
* Fixed a problem with LOG_HEALTHY="Yes" and check_params()
* Other smaller fixes
* Whitespace fixes
2020-04-08 10:17:22 +02:00
Patrick Van der Veken 8976184b45 Undo wrong fix 2020-03-26 16:41:12 +01:00
Patrick Van der Veken 302f8e79aa Small fixes 2020-03-25 13:33:29 +01:00
Patrick Van der Veken 4b45ed81ed Merge branch 'master' of https://github.com/patvdv/check_health 2020-03-12 21:51:00 +01:00
Patrick Van der Veken c262342448 Add --list-details to replace --list and make --list displaying only a terse list of health checks. This makes --list a lot more peformant. 2020-03-12 21:50:47 +01:00
Patrick Van der Veken 534c935589 Fix for numerical range conversion 2020-03-06 10:21:07 +01:00
Patrick Van der Veken daf50c64cb Added possibility to do check based on an hourly schedule 2020-03-04 10:15:48 +01:00
Patrick Van der Veken 7d575cab86 Merge branch 'master' of https://github.com/patvdv/check_health 2020-01-30 11:43:58 +01:00
Patrick Van der Veken 982a237d77 Added possbility to do checks based on weekday in check_exadata_zfs_share_replication plugin
Added data_has_newline()
2020-01-30 11:43:36 +01:00
Patrick Van der Veken 2481032360 Fix in archiving routine for bogus messages 2019-11-03 19:33:30 +01:00
Patrick Van der Veken 6184a1a061 Fix in check_linux_httpd_status plugin 2019-11-01 16:47:49 +01:00
Patrick Van der Veken f2b4970977 Added configuration parameters for the check_linux_httpd_status() plugin to support httpd that were compiled from source (no sysv or systemd) 2019-11-01 16:40:17 +01:00
Patrick Van der Veken b460eca52c Update Debian conffiles 2019-10-29 20:42:35 +01:00
Patrick Van der Veken 048e7bd758 Fix Debian postrm 2019-10-29 20:32:56 +01:00
Patrick Van der Veken f91efc6520 Build updates for Debian 2019-10-29 20:20:55 +01:00
Patrick Van der Veken 5425a44afb Strip post-install for Debian 2019-10-24 20:37:29 +02:00
Patrick Van der Veken bb703e2964 Fixed post-install logic for Debian 2019-10-23 20:42:11 +02:00
Patrick Van der Veken b60f383f48 Added HC_LOG_HEALTHY & HC_WILL_FIX as global settings
Fixed missing error checking in check_linux_autofs
2019-10-23 19:56:36 +02:00