Added support for --log-healthy (AIX plugins)

This commit is contained in:
patvdv
2019-03-10 16:31:15 +01:00
parent cced8a893c
commit c3cc87609d
15 changed files with 449 additions and 142 deletions
+12 -3
View File
@@ -6,9 +6,18 @@
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
# file (full path); maximum age in minutes since last change
/var/adm/ras/syslog.caa;600
/var/log/ntp.log;30
# 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
+12 -3
View File
@@ -6,10 +6,19 @@
# [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/bin/cfg2html_aix.sh
/usr/local/bin/run_aix_system_backup.sh
/usr/bin/nmon
# Format:
# cron:<cron_entry>
# Examples:
#cron:/opt/cfg2html/bin/cfg2html_aix.sh
#cron:/usr/local/bin/run_aix_system_backup.sh
#cron:/usr/bin/nmon
#******************************************************************************
# End of FILE
+31 -22
View File
@@ -6,29 +6,38 @@
# [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 required active subsystems
sendmail
syslogd
portmap
inetd
snmpd
hostmibd
snmpmibd
aixmibd
#nimsh
biod
rpc.statd
rpc.lockd
automountd
qdaemon
writesrv
sshd
xntpd
cimsys
ctrmc
IBM.ServiceRM
IBM.DRM
IBM.CSMAgentRM
# Format:
# subsys:<subsystem_name>
# Examples:
#subsys:sendmail
#subsys:syslogd
#subsys:portmap
#subsys:inetd
#subsys:snmpd
#subsys:hostmibd
#subsys:snmpmibd
#subsys:aixmibd
#subsys:nimsh
#subsys:biod
#subsys:rpc.statd
#subsys:rpc.lockd
#subsys:qdaemon
#subsys:automountd
#subsys:writesrv
#subsys:sshd
#subsys:xntpd
#subsys:cimsys
#subsys:ctrmc
#subsys:IBM.ServiceRM
#subsys:IBM.DRM
#subsys:IBM.CSMAgentRM
#******************************************************************************
# 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"
# full path to the location of mksysb images, the tool expects sub-directories
# per host underneath this location
backup_path=/export/images
@@ -17,6 +22,7 @@ mksysb_log=mksysb.log
# [default: 14]
backup_age=14
#******************************************************************************
# End of FILE
#******************************************************************************