* New plugin check_hpux_fs_usage + check_linux_fs_usage()

* Fix for archiving issue (not rotating until HC_LOG becomes empty)
* Fix for data_space2comma -> data_comma2space
* Report layout updates
* Smaller fixes + updates
This commit is contained in:
Patrick Van der Veken
2019-01-24 20:53:51 +01:00
parent cbddbf0eec
commit 178dcc6ad3
94 changed files with 1160 additions and 273 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_aix_file_age.conf.dist
# @(#) check_aix_file_age.conf
#******************************************************************************
# This is a configuration file for the check_aix_file_age HC plugin.
# All lines starting with a '#' are comment lines.
@@ -12,4 +12,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_aix_root_crontab.conf.dist
# @(#) check_aix_root_crontab.conf
#******************************************************************************
# This is a configuration file for the check_aix_root_crontab HC plugin.
# All lines starting with a '#' are comment lines.
@@ -13,4 +13,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_aix_subsystems.conf.dist
# @(#) check_aix_subsystems.conf
#******************************************************************************
# This is a configuration file for the check_aix_subsystems HC plugin.
# All lines starting with a '#' are comment lines.
@@ -32,4 +32,4 @@ IBM.CSMAgentRM
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_aix_sysbackup.conf.dist
# @(#) check_aix_sysbackup.conf
#******************************************************************************
# This is a configuration file for the check_aix_sysbackup HC plugin.
# All lines starting with a '#' are comment lines.
@@ -19,4 +19,4 @@ backup_age=14
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -12,11 +12,11 @@ ignore_missing_fs=yes
# specify mount points and their options (use the mount options as displayed
# by the 'mount' command; order of the options is not important)
# [fs:<mount point>:<mount options>]
fs:myfs1:myopts1
fs:myfs2:myopts2
# [fs:<mount_point>:<mount_options>]
#fs:my_fs1:my_opts1
#fs:my_fs2:my_opts2
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+40
View File
@@ -0,0 +1,40 @@
#******************************************************************************
# @(#) check_hpux_fs_usage.conf
#******************************************************************************
# This is a configuration file for the check_hpux_fs_usage HC plugin.
# All lines starting with a '#' are comment lines.
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy=yes
# specify whether to perform inode usage check
# [default: yes]
check_inodes_usage=yes
# specify whether to perform space usage check
# [default: yes]
check_space_usage=yes
# specify the maximum % of inodes usage a filesystem may reach (general threshold)
# [default: 90]
max_inodes_usage=90
# specify the maximum % of space usage a filesystem may reach (general threshold)
# [default: 90]
max_space_usage=90
# specify mount points and their maximum usage (in %). Leave undefined to
# perform check on all active filesystems. When not defining individual thresholds
# for a given filesystem, the general threshold will be used (see above)
# [fs:<mount_point>:<max_inode_usage_%>:<max_space_usage_%]
#fs:myfs1:70:95
#fs:myfs2:75:90
#******************************************************************************
# End of FILE
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_ignite_backup.conf.dist
# @(#) check_hpux_ignite_backup.conf
#******************************************************************************
# This is a configuration file for the check_hpux_ignite_backup HC plugin.
# All lines starting with a '#' are comment lines.
@@ -16,4 +16,4 @@ exclude_hosts=""
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+1 -1
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_ntp_status.conf.dist
# @(#) check_hpux_ntp_status.conf
#******************************************************************************
# This is a configuration file for the check_hpux_ntp_status HC plugin.
# All lines starting with a '#' are comment lines.
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_ovpa_status.conf.dist
# @(#) check_hpux_ovpa_status.conf
#******************************************************************************
# This is a configuration file for the check_hpux_ovpa_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -17,4 +17,4 @@ ovpa_daemons=""
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_root_crontab.conf.dist
# @(#) check_hpux_root_crontab.conf
#******************************************************************************
# This is a configuration file for the check_hpux_root_crontab HC plugin.
# All lines starting with a '#' are comment lines.
@@ -11,4 +11,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+1 -1
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_sfm_status.conf.dist
# @(#) check_hpux_sfm_status.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sfm_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_sg_cluster_config.conf.dist
# @(#) check_hpux_sg_cluster_config.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_cluster_config HC plugin.
# All lines starting with a '#' are comment lines.
@@ -13,4 +13,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_sg_cluster_status.conf.dist
# @(#) check_hpux_sg_cluster_status.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_cluster_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -12,4 +12,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_sg_package_config.conf.dist
# @(#) check_hpux_sg_package_config.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_package_config HC plugin.
# All lines starting with a '#' are comment lines.
@@ -17,4 +17,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_sg_package_status.conf.dist
# @(#) check_hpux_sg_package_status.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_package_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -12,4 +12,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
+2 -2
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_hpux_syslog.conf.dist
# @(#) check_hpux_syslog.conf
#******************************************************************************
# This is a configuration file for the check_hpux_syslog HC plugin.
# All lines starting with a '#' are comment lines.
@@ -17,4 +17,4 @@ syslog_classes="vmunix"
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -0,0 +1,40 @@
#******************************************************************************
# @(#) check_linux_fs_usage.conf
#******************************************************************************
# This is a configuration file for the check_linux_fs_usage HC plugin.
# All lines starting with a '#' are comment lines.
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy=yes
# specify whether to perform inode usage check
# [default: yes]
check_inodes_usage=yes
# specify whether to perform space usage check
# [default: yes]
check_space_usage=yes
# specify the maximum % of inodes usage a filesystem may reach (general threshold)
# [default: 90]
max_inodes_usage=90
# specify the maximum % of space usage a filesystem may reach (general threshold)
# [default: 90]
max_space_usage=90
# specify mount points and their maximum usage (in %). Leave undefined to
# perform check on all active filesystems. When not defining individual thresholds
# for a given filesystem, the general threshold will be used (see above)
# [fs:<mount_point>:<max_inode_usage_%>:<max_space_usage_%]
#fs:myfs1:70:95
#fs:myfs2:75:90
#******************************************************************************
# End of FILE
#******************************************************************************
+1 -1
View File
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_ntp_status.conf.dist
# @(#) check_linux_ntp_status.conf
#******************************************************************************
# This is a configuration file for the check_linux_ntp_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_root_crontab.conf.dist
# @(#) check_linux_root_crontab.conf
#******************************************************************************
# This is a configuration file for the check_linux_root_crontab HC plugin.
# All lines starting with a '#' are comment lines.
@@ -11,4 +11,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_sg_cluster_config.conf.dist
# @(#) check_linux_sg_cluster_config.conf
#******************************************************************************
# This is a configuration file for the check_linux_sg_cluster_config HC plugin.
# All lines starting with a '#' are comment lines.
@@ -13,4 +13,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_sg_cluster_status.conf.dist
# @(#) check_linux_sg_cluster_status.conf
#******************************************************************************
# This is a configuration file for the check_linux_sg_cluster_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -12,4 +12,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_sg_package_config.conf.dist
# @(#) check_linux_sg_package_config.conf
#******************************************************************************
# This is a configuration file for the check_linux_sg_package_config HC plugin.
# All lines starting with a '#' are comment lines.
@@ -17,4 +17,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -1,5 +1,5 @@
#******************************************************************************
# @(#) check_linux_sg_package_status.conf.dist
# @(#) check_linux_sg_package_status.conf
#******************************************************************************
# This is a configuration file for the check_linux_sg_package_status HC plugin.
# All lines starting with a '#' are comment lines.
@@ -12,4 +12,4 @@
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************