* Improved discovery routine & added log_healthy in check_hpux_ignite_backup()
* Improved config file comments
This commit is contained in:
@@ -12,7 +12,7 @@ state_file=discovered.file_change
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check=yes
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
@@ -20,11 +20,12 @@ do_meta_check=yes
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
# check clone age? (yes|no)
|
||||
# [default: yes]
|
||||
check_clone=yes
|
||||
check_clone="yes"
|
||||
|
||||
# maximum days before the drd clone gets flagged as 'too old'
|
||||
# [default: 30]
|
||||
@@ -16,7 +16,7 @@ clone_age=30
|
||||
|
||||
# check sync age? (yes|no)
|
||||
# [default: yes]
|
||||
check_sync=yes
|
||||
check_sync="yes"
|
||||
|
||||
# maximum days before the drd sync gets flagged as 'too old'
|
||||
# [default: 30]
|
||||
@@ -25,4 +25,4 @@ sync_age=30
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -12,7 +12,7 @@ state_file=discovered.file_change
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check=yes
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
@@ -20,11 +20,12 @@ do_meta_check=yes
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
# specify whether non-mounted FS should be alerted on (yes|no)
|
||||
# [default: yes]
|
||||
ignore_missing_fs=yes
|
||||
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)
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# specify whether to perform inode usage check
|
||||
# [default: yes]
|
||||
check_inodes_usage=yes
|
||||
check_inodes_usage="yes"
|
||||
|
||||
# specify whether to perform space usage check
|
||||
# [default: yes]
|
||||
check_space_usage=yes
|
||||
check_space_usage="yes"
|
||||
|
||||
# specify the maximum % of inodes usage a filesystem may reach (general threshold)
|
||||
# [default: 90]
|
||||
@@ -31,6 +31,7 @@ max_space_usage=90
|
||||
# for a given filesystem, the general threshold will be used (see above). When
|
||||
# defining a threshold of 0 (zero), then the check will for this give filesystem
|
||||
# will be skipped (this allows for exclusion of filesystems)
|
||||
# Format:
|
||||
# [fs:<mount_point>:<max_inode_usage_%>:<max_space_usage_%]
|
||||
# Examples:
|
||||
# check myfs1 with a custom inodes + space usage threshold
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# [parid;runtime_status;boot_status]
|
||||
# runtime_status should be 'on' or 'off'
|
||||
# boot_status should be 'auto' or 'manual'
|
||||
# Examples:
|
||||
#1;on;auto
|
||||
|
||||
|
||||
|
||||
@@ -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="yes"
|
||||
|
||||
# maximum days before backup gets flagged as 'too old'
|
||||
# [default: 14]
|
||||
backup_age=14
|
||||
|
||||
@@ -12,13 +12,13 @@ ioscan_classes="ctl,diag,disk,ext_bus,fc,fcp,i2o,ipmi,lan,lvm,olar,vxvm"
|
||||
|
||||
# specify whether ioscan needs to be run in kernel-cached or not (yes|no)
|
||||
# [default: yes]
|
||||
kernel_mode=yes
|
||||
kernel_mode="yes"
|
||||
|
||||
# specify whether ioscan needs to report in Agile view or not (yes|no)
|
||||
# [default: yes]
|
||||
agile_view=yes
|
||||
agile_view="yes"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
|
||||
# specify kernel parameters and their values or expression (as reported by kctune)
|
||||
# [param:<param_name>:<param_value>]
|
||||
param:nproc:5000
|
||||
param:filecache_max:50%
|
||||
# Examples:
|
||||
#param:nproc:5000
|
||||
#param:filecache_max:50%
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -13,9 +13,10 @@ 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>]
|
||||
param:nproc:70
|
||||
# Examples:
|
||||
# param:nproc:70
|
||||
|
||||
# specify parameters that should be excluded from the check
|
||||
# specify parameters that should be excluded from the check
|
||||
# comma-separated list (as shown by kctune/kcusage)
|
||||
# (does not override param:: lines from above)
|
||||
# [ default: none ]
|
||||
@@ -24,4 +25,4 @@ exclude_params=""
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# maximum allowed offset (in milliseconds (positive integers only))
|
||||
# [default: 500]
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# list of OVPA daemons to check (comma-separated list)
|
||||
# [default: oacore,midaemon,perfalarm,ttd,ovcd,ovbbccb,perfd (v12)]
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# OE version that should be checked (version string as displayed by 'swlist')
|
||||
# [default: none]
|
||||
@@ -21,7 +21,7 @@ required_patches=""
|
||||
|
||||
# check that all installed filesets are configured?
|
||||
# [default: yes]
|
||||
check_filesets=yes
|
||||
check_filesets="yes"
|
||||
|
||||
# list of filesets to exclude from the check (comma-separated list)
|
||||
# [default: none]
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
# specify whether to also log passed health checks (yes|no)
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# specify whether to check for new events? (yes|no)
|
||||
# [default: yes]
|
||||
check_events=yes
|
||||
check_events="yes"
|
||||
|
||||
# specify the age interval for which to check events
|
||||
# (format: X:mm|X:hh|X:dd|X:yy, where X stands for an integer and
|
||||
@@ -32,7 +32,7 @@ events_severity="CRITICAL"
|
||||
|
||||
# specify whether to send a test event? (yes|no)
|
||||
# [default: no]
|
||||
send_test_event=yes
|
||||
send_test_event="yes"
|
||||
|
||||
# specify wait time for test event (seconds)
|
||||
# [default: 60]
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#******************************************************************************
|
||||
|
||||
# list of required cluster statuses (format : "parameter=value")
|
||||
# Examples:
|
||||
#status=up
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#******************************************************************************
|
||||
|
||||
# list of required package statuses (format : "package_name:parameter=value")
|
||||
# Examples:
|
||||
#my_package|status=up
|
||||
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
#******************************************************************************
|
||||
|
||||
# client name; maximum amount of warnings allowed; maximum backup age (hours/days/weeks)
|
||||
testclient1;0;10h
|
||||
testclient2;0;2d
|
||||
testclient3;0;5w
|
||||
# Examples:
|
||||
#testclient1;0;10h
|
||||
#testclient2;0;2d
|
||||
#testclient3;0;5w
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
|
||||
@@ -12,7 +12,7 @@ state_file=discovered.file_change
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check=yes
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
@@ -20,11 +20,12 @@ do_meta_check=yes
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
#******************************************************************************
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# specify whether to perform inode usage check
|
||||
# [default: yes]
|
||||
check_inodes_usage=yes
|
||||
check_inodes_usage="yes"
|
||||
|
||||
# specify whether to perform space usage check
|
||||
# [default: yes]
|
||||
check_space_usage=yes
|
||||
check_space_usage="yes"
|
||||
|
||||
# specify the maximum % of inodes usage a filesystem may reach (general threshold)
|
||||
# [default: 90]
|
||||
@@ -31,6 +31,7 @@ max_space_usage=90
|
||||
# for a given filesystem, the general threshold will be used (see above). When
|
||||
# defining a threshold of 0 (zero), then the check will for this give filesystem
|
||||
# will be skipped (this allows for exclusion of filesystems)
|
||||
# Format:
|
||||
# [fs:<mount_point>:<max_inode_usage_%>:<max_space_usage_%]
|
||||
# Examples:
|
||||
# check myfs1 with a custom inodes + space usage threshold
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
# specify whether to also log passed health checks
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy=yes
|
||||
log_healthy="yes"
|
||||
|
||||
# whether to force the use of chronyd?
|
||||
# [default: no]
|
||||
force_chrony=no
|
||||
force_chrony="no"
|
||||
|
||||
# whether to force the use of ntpd?
|
||||
# [default: no]
|
||||
force_ntp=no
|
||||
force_ntp="no"
|
||||
|
||||
# maximum allowed offset (in milliseconds (positive integers only)
|
||||
# [default: 500]
|
||||
@@ -25,7 +25,7 @@ max_offset=500
|
||||
|
||||
# use IPv4 for ntpq
|
||||
# [default: no]
|
||||
ntpq_use_ipv4=no
|
||||
ntpq_use_ipv4="no"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
|
||||
@@ -17,7 +17,8 @@ log_healthy="no"
|
||||
# user:<user name>;<limit name>;<soft threshold in %>;<hard threshold in %>
|
||||
# note: <limit name> must exactly match the descriptor in /proc/<PID>/limits
|
||||
# thresholds are optional (will not be checked when not specified)
|
||||
user;postfix;Max open files;;75
|
||||
# Examples:
|
||||
#user;postfix;Max open files;;75
|
||||
|
||||
# -- process stanzas --
|
||||
# supported limit checks: Max open files
|
||||
@@ -25,7 +26,8 @@ user;postfix;Max open files;;75
|
||||
# process:<process name>;<limit name>;<soft threshold in %>;<hard threshold in %>
|
||||
# note: <limit name> must exactly match the descriptor in /proc/<PID>/limits
|
||||
# thresholds are optional (will not be checked when not specified)
|
||||
process;nfsd;Max open files;100;80
|
||||
# Examples:
|
||||
#process;nfsd;Max open files;100;80
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#******************************************************************************
|
||||
|
||||
# list of required cluster statuses (format : "parameter=value")
|
||||
# Examples:
|
||||
#status=up
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#******************************************************************************
|
||||
|
||||
# list of required package statuses (format : "package_name:parameter=value")
|
||||
# Examples:
|
||||
#my_package|status=up
|
||||
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# [ctid;runtime_status;boot_status]
|
||||
# runtime_status should be 'running' or 'stopped'
|
||||
# boot_status should be 'yes' or 'no'
|
||||
# Examples:
|
||||
#100;running;yes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user