Commit Graph
58 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
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 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 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 35ffe17b65 Add pgrep als another fallback check 2020-05-08 21:20:42 +02:00
Patrick Van der Veken 8c784c2c78 Fix for stupid copy/past type 2020-04-15 13:18:36 +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 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
Patrick Van der Veken 9fcf788b59 Fix for cron nicknames extensions 2019-10-16 15:06:30 +02:00
Patrick Van der Veken 26292b398d Fixed syslog.log check 2019-10-07 10:17:23 +02:00
Patrick Van der Veken f8fd322439 fix for systemd service on Ubuntu/Mint 2019-09-01 20:12:08 +02:00
Patrick Van der Veken 30693afe5d Added supercap monitoring for megaraid plugins 2019-07-19 11:46:54 +02:00
Patrick Van der Veken bab155e752 pdksh hack for sourcing include files 2019-07-16 16:08:47 +02:00
Patrick Van der Veken 976f1f8b84 Added check_linux_autofs + check_hpux_autofs plugins (w/ healing code) 2019-07-14 14:11:42 +02:00
Patrick Van der Veken f7975c73cd Fix command 2019-07-08 09:00:07 +02:00
Patrick Van der Veken e770029fac Update _CELL_COMMAND: use real target instead of symlink 2019-07-08 08:56:52 +02:00
Patrick Van der Veken 61970663d9 Added plugin check_exadata_zfs_cluster 2019-07-05 16:08:58 +02:00
Patrick Van der Veken 0f0185c739 Fix in function name of plugin 2019-06-23 09:29:55 +02:00
Patrick Van der Veken 8e779b6062 Added code for support of fix/healing logic. Command-line opion --no-fix & global var ARG_NO_FIX 2019-06-17 15:17:22 +02:00
Patrick Van der Veken a4868cda09 White space fixes 2019-05-28 14:45:49 +02:00
Patrick Van der Veken f891b1bfea Import bug fix which obsoletes --fix-logs 2019-05-19 09:03:57 +02:00
Patrick Van der Veken 62095c510e Added Exadata stuff:
- Added include_exadata
- Added plugin check_exadata_cell_alerts
- Added plugin check_exadata_cell_celldisks
- Added plugin check_exadata_cell_flash
- Added plugin check_exadata_cell_griddisks
- Added plugin check_exadata_cell_luns
- Added plugin check_exadata_cell_megaraid
- Added plugin check_exadata_cell_physicaldisks
- Added plugin check_exadata_megaraid
2019-05-16 16:23:06 +02:00
Patrick Van der Veken a6c907f236 Fixed in clusterware plugins & others 2019-04-26 13:07:52 +02:00