Added support for --log-healthy (HP-UX)

Other fixes
This commit is contained in:
patvdv
2019-03-10 20:36:58 +01:00
parent 47d8fa272a
commit a2f1c51bea
45 changed files with 1290 additions and 552 deletions
@@ -6,6 +6,11 @@
# [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="no"
# check clone age? (yes|no)
# [default: yes]
check_clone="yes"
+13 -3
View File
@@ -6,9 +6,19 @@
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# file (full path); maximum age in minutes since last change
/var/adm/syslog/syslog.log;60
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy="no"
# specify file details
# Format:
# file:<file_path>:<max_age_minutes_since_last_change>
# Examples:
#file:/var/log/messages:60
#file:/var/log/ntp.log:30
#******************************************************************************
# End of FILE
#******************************************************************************
#******************************************************************************
@@ -6,6 +6,11 @@
# [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="no"
# name of the state file to use (will be relative to /var/opt/hc/state/persistent
# [default: discovered.file_change]
state_file=discovered.file_change
@@ -6,6 +6,11 @@
# [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="no"
# specify whether non-mounted FS should be alerted on (yes|no)
# [default: yes]
ignore_missing_fs="yes"
@@ -6,12 +6,18 @@
# [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="no"
# specify properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
# [parid;runtime_status;boot_status]
# Format:
# [vpar:<parid>:<runtime_status>:<boot_status>]
# runtime_status should be 'on' or 'off'
# boot_status should be 'auto' or 'manual'
# Examples:
#1;on;auto
#vpar:1:on:auto
#******************************************************************************
+5
View File
@@ -6,6 +6,11 @@
# [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="no"
# comma-separated list of HW device classes that should be checked
# [default: ctl,diag,disk,ext_bus,fc,fcp,i2o,ipmi,lan,lvm,olar,vxvm]
ioscan_classes="ctl,diag,disk,ext_bus,fc,fcp,i2o,ipmi,lan,lvm,olar,vxvm"
@@ -6,8 +6,14 @@
# [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="no"
# specify kernel parameters and their values or expression (as reported by kctune)
# [param:<param_name>:<param_value>]
# Format:
# [param:<param_name>:<param_value>]
# Examples:
#param:nproc:5000
#param:filecache_max:50%
@@ -6,15 +6,21 @@
# [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="no"
# specify a general maximum usage threshold (percentage)
# [ default: 90% ]
max_kcusage=90
# specify individual kernel parameters and their maximum usage threshold (percentage)
# definitions here will overrides max_kcusage for these parameters
# [param:<param_name>:<param_threshold>]
# Format:
# [param:<param_name>:<param_threshold>]
# Examples:
# param:nproc:70
#param:nproc:70
# specify parameters that should be excluded from the check
# comma-separated list (as shown by kctune/kcusage)
@@ -15,6 +15,7 @@ log_healthy="yes"
# [default: oacore,midaemon,perfalarm,ttd,ovcd,ovbbccb,perfd (v12)]
ovpa_daemons=""
#******************************************************************************
# End of FILE
#******************************************************************************
+10 -1
View File
@@ -6,8 +6,17 @@
# [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="no"
# list of commands (or strings) that should appear in active cron entries
/opt/cfg2html/cfg2html_hpux.sh
# Format:
# cron:<cron_entry>
# Examples:
#cron:/opt/cfg2html/cfg2html_hpux.sh
#******************************************************************************
# End of FILE
@@ -6,9 +6,16 @@
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# list of required cluster statuses (format : "parameter=value")
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy="no"
# list of required cluster statuses
# Format:
# sg:<parameter>=<value>
# Examples:
#status=up
#sg:status=up
#******************************************************************************
@@ -6,9 +6,16 @@
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# list of required package statuses (format : "package_name:parameter=value")
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy="no"
# list of required package statuses
# Format:
# sg:<package_name>:<parameter>=<value>
# Examples:
#my_package|status=up
#sg:my_package:status=up
#******************************************************************************
+5
View File
@@ -6,6 +6,11 @@
# [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="no"
# path to the SYSLOG file
# [default: /var/adm/syslog/syslog.log]
syslog_file="/var/adm/syslog/syslog.log"