Re-org of tree
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 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
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,36 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_file_change.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_aix_file_change 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="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
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
# incl:<full path> (includes a path)
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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
|
||||
# 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
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,44 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_subsystems.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_aix_subsystems 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="no"
|
||||
|
||||
# list of required active subsystems
|
||||
# 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
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,28 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_sysbackup.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_aix_sysbackup 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="no"
|
||||
|
||||
# full path to the location of mksysb images, the tool expects sub-directories
|
||||
# per host underneath this location
|
||||
backup_path=/export/images
|
||||
|
||||
# name of the file containing the mksysb output
|
||||
mksysb_log=mksysb.log
|
||||
|
||||
# maximum days before backup gets flagged as 'too old'
|
||||
# [default: 14]
|
||||
backup_age=14
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,44 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_exadata_zfs_share_usage.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_exadata_zfs_share_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 the user account for the SSH session to the ZFS appliance(s)
|
||||
# [default: root]
|
||||
ssh_user=""
|
||||
|
||||
# specify the private key file for the SSH session to the ZFS appliance(s)
|
||||
# [default: ~root/.ssh/id_rsa]
|
||||
ssh_key_file=""
|
||||
|
||||
# specify additional options for the SSH session to the ZFS appliance(s)
|
||||
# [default: null]
|
||||
ssh_opts=""
|
||||
|
||||
# specify the ZFS hostname(s), log name(s) & alert levels. Filters
|
||||
# should be comma-separated. Following logs are supported (filters in brackets)
|
||||
# alert (critical,major,minor
|
||||
# fltlog (critical,major,minor)
|
||||
# system (error)
|
||||
# scrk (failed)
|
||||
# Format:
|
||||
# zfs:<host_name>:<alert|fltlog|audit|scrk|system>:<minor,major,critical>]
|
||||
# Examples:
|
||||
# check all major events in the fltlog on myzfs1
|
||||
# zfs:myzfs1:fltlog:major
|
||||
# check for all major & critical events in the audit and fltlog on myzfs2
|
||||
# zfs:myzfs2:audit:major,critical
|
||||
# zfs:myzfs2:fltlog:major,critical
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,38 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_exadata_zfs_services.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_exadata_zfs_services 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 the user account for the SSH session to the ZFS appliance(s)
|
||||
# [default: root]
|
||||
ssh_user=""
|
||||
|
||||
# specify the private key file for the SSH session to the ZFS appliance(s)
|
||||
# [default: ~root/.ssh/id_rsa]
|
||||
ssh_key_file=""
|
||||
|
||||
# specify additional options for the SSH session to the ZFS appliance(s)
|
||||
# [default: null]
|
||||
ssh_opts=""
|
||||
|
||||
# specify the ZFS hostname(s), services name(s) and their desired state.
|
||||
# In order to check share(s) for a given ZFS appliance at least one configuration
|
||||
# entry must be present: either a wildcard or custom entry.
|
||||
# Format:
|
||||
# zfs:<host_name>:<service_name>:<online|disabled>
|
||||
# Examples:
|
||||
# check on myzfs1 that svc1 is online
|
||||
# zfs:myzfs1:svc1:online
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,55 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_exadata_zfs_share_replication.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_exadata_zfs_share_replication 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 the user account for the SSH session to the ZFS appliance(s)
|
||||
# [default: root]
|
||||
ssh_user=""
|
||||
|
||||
# specify the private key file for the SSH session to the ZFS appliance(s)
|
||||
# [default: ~root/.ssh/id_rsa]
|
||||
ssh_key_file=""
|
||||
|
||||
# specify additional options for the SSH session to the ZFS appliance(s)
|
||||
# [default: null]
|
||||
ssh_opts=""
|
||||
|
||||
# specify the maximum replication in seconds (general threshold)
|
||||
# [default: 300]
|
||||
max_replication_lag=300
|
||||
|
||||
# specify the ZFS hostname(s), replication name(s) and their maximum lag (in seconds)
|
||||
# When not defining a threshold for a given share, the general threshold will
|
||||
# be used (see above). When defining a threshold of 0 (zero), then the check
|
||||
# will for this give share will be skipped (this allows for exclusion of shares)
|
||||
# In order to check share(s) for a given ZFS appliance at least one configuration
|
||||
# entry must be present: either a wildcard or custom entry.
|
||||
# Format:
|
||||
# zfs:<host_name>:<replication_name|*>:<true|false|*>:<success|failed|*>:[<max_replication_lag>]
|
||||
# Examples:
|
||||
# check rep_share1 on myzfs1 with a custom threshold of 300 seconds
|
||||
# zfs:myzfs1:rep_share1:*:*:600
|
||||
# check all shares of myzfs2 with a custom threshold of 1200 seconds
|
||||
# zfs:myzfs2:*:*:*:1200
|
||||
# check all shares of myzfs3 with the general threshold
|
||||
# zfs:myzfs3:*:*:*:
|
||||
# disable all shares of myzfs4 from checking
|
||||
# zfs:myzfs4:*:*:*:0
|
||||
# disable check of rep_share7 on myzfs5
|
||||
# zfs:myzfs5:rep_share7:*:*:0
|
||||
# check that rep_share4 on myzfs6 is inactive
|
||||
# zfs:myzfs6:rep_share4:false:*:
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,53 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_exadata_zfs_share_usage.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_exadata_zfs_share_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 the user account for the SSH session to the ZFS appliance(s)
|
||||
# [default: root]
|
||||
ssh_user=""
|
||||
|
||||
# specify the private key file for the SSH session to the ZFS appliance(s)
|
||||
# [default: ~root/.ssh/id_rsa]
|
||||
ssh_key_file=""
|
||||
|
||||
# specify additional options for the SSH session to the ZFS appliance(s)
|
||||
# [default: null]
|
||||
ssh_opts=""
|
||||
|
||||
# specify the maximum % of space usage a share may reach (general threshold)
|
||||
# [default: 90]
|
||||
max_space_usage=90
|
||||
|
||||
# specify the ZFS hostname(s), project+share name(s) and their maximum usage (in %)
|
||||
# When not defining a threshold for a given share, the general threshold will
|
||||
# be used (see above). When defining a threshold of 0 (zero), then the check
|
||||
# will for this give share will be skipped (this allows for exclusion of shares)
|
||||
# In order to check share(s) for a given ZFS appliance at least one configuration
|
||||
# entry must be present: either a wildcard or custom entry.
|
||||
# Format:
|
||||
# zfs:<host_name>:<project_name|*>:<share_name|*>:[<usage_threshold_%>]
|
||||
# Examples:
|
||||
# check share1 on myzfs1 with a custom threshold of 75%
|
||||
# zfs:myzfs1:projectX:share1:75
|
||||
# check all shares of myzfs2 with a custom threshold of 85%
|
||||
# zfs:myzfs2:*:*:85
|
||||
# check all shares of myzfs3 with the general threshold
|
||||
# zfs:myzfs3:*:*:
|
||||
# disable all shares of myzfs4 from checking
|
||||
# zfs:myzfs4:*:*:0
|
||||
# disable check of share7 on myzfs5
|
||||
# zfs:myzfs5:projectY:share7:0
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_host.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_host feature.
|
||||
# All lines starting with a '#' are comment lines.
|
||||
# [default: indicates hardcoded script values if no value is defined here]
|
||||
#******************************************************************************
|
||||
|
||||
# specify the style in which results should be displayed (see --list-core)
|
||||
# [default: init]
|
||||
display_style=init
|
||||
|
||||
# specify the list of HC plugins that need to be executed. All parameters are
|
||||
# optional except 'HC plugin name'
|
||||
# [hc:HC plugin name:HC plugin configuration file:HC title:HC plugin run timeout]
|
||||
hc:plugin1
|
||||
hc:plugin2::Test plugin
|
||||
hc:plugin3:::180
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,33 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_drd_status.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_drd_status 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="no"
|
||||
|
||||
# check clone age? (yes|no)
|
||||
# [default: yes]
|
||||
check_clone="yes"
|
||||
|
||||
# maximum days before the drd clone gets flagged as 'too old'
|
||||
# [default: 30]
|
||||
clone_age=30
|
||||
|
||||
# check sync age? (yes|no)
|
||||
# [default: yes]
|
||||
check_sync="yes"
|
||||
|
||||
# maximum days before the drd sync gets flagged as 'too old'
|
||||
# [default: 30]
|
||||
sync_age=30
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_file_age.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_file_age 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="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
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,36 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_file_change.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_file_change 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="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
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
# incl:<full path> (includes a path)
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,27 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_fs_mounts_options.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_fs_mounts_options 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="no"
|
||||
|
||||
# specify whether non-mounted FS should be alerted on (yes|no)
|
||||
# [default: 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)
|
||||
# [fs:<mount_point>:<mount_options>]
|
||||
#fs:my_fs1:my_opts1
|
||||
#fs:my_fs2:my_opts2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,47 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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 %). When not defining a threshold
|
||||
# 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
|
||||
#fs:myfs1:70:95
|
||||
# check myfs2 with the general inodes usage threshold & a custom space usage threshold
|
||||
#fs:myfs2::80
|
||||
# check myfs3 with a custom inodes usage threshold & do not check the space usage
|
||||
#fs:myfs3:99:0
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_hpvm_vpar_status.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_hpvm_vpar_status 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="no"
|
||||
|
||||
# specify properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
|
||||
# Format:
|
||||
# [vpar:<parid>:<runtime_status>:<boot_status>]
|
||||
# runtime_status should be 'on' or 'off'
|
||||
# boot_status should be 'auto' or 'manual'
|
||||
# Examples:
|
||||
#vpar:1:on:auto
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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
|
||||
|
||||
# list of hosts to exclude from the check (comma-separated list)
|
||||
# [default: none]
|
||||
exclude_hosts=""
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,29 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_ioscan.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_ioscan 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="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"
|
||||
|
||||
# specify whether ioscan needs to be run in kernel-cached or not (yes|no)
|
||||
# [default: yes]
|
||||
kernel_mode="yes"
|
||||
|
||||
# specify whether ioscan needs to report in Agile view or not (yes|no)
|
||||
# [default: yes]
|
||||
agile_view="yes"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_kernel_params.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_kernel_params 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="no"
|
||||
|
||||
# specify kernel parameters and their values or expression (as reported by kctune)
|
||||
# Format:
|
||||
# [param:<param_name>:<param_value>]
|
||||
# Examples:
|
||||
#param:nproc:5000
|
||||
#param:filecache_max:50%
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,34 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_kernel_usage.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_kernel_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="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
|
||||
# Format:
|
||||
# [param:<param_name>:<param_threshold>]
|
||||
# Examples:
|
||||
#param:nproc:70
|
||||
|
||||
# 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 ]
|
||||
exclude_params=""
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 allowed offset (in milliseconds (positive integers only))
|
||||
# [default: 500]
|
||||
max_offset=500
|
||||
|
||||
# use IPv4 for ntpq
|
||||
# [default: no]
|
||||
ntpq_use_ipv4=no
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,21 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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"
|
||||
|
||||
# list of OVPA daemons to check (comma-separated list)
|
||||
# [default: oacore,midaemon,perfalarm,ttd,ovcd,ovbbccb,perfd (v12)]
|
||||
ovpa_daemons=""
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,33 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_patch_version.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_patch_version 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"
|
||||
|
||||
# OE version that should be checked (version string as displayed by 'swlist')
|
||||
# [default: none]
|
||||
required_oe=""
|
||||
|
||||
# comma-separated list of SD patches that should be checked
|
||||
# [default: none]
|
||||
required_patches=""
|
||||
|
||||
# check that all installed filesets are configured?
|
||||
# [default: yes]
|
||||
check_filesets="yes"
|
||||
|
||||
# list of filesets to exclude from the check (comma-separated list)
|
||||
# [default: none]
|
||||
exclude_filesets=""
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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
|
||||
# Format:
|
||||
# cron:<cron_entry>
|
||||
# Examples:
|
||||
#cron:/opt/cfg2html/cfg2html_hpux.sh
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,49 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [default: indicates hardcoded script values if no value is defined here]
|
||||
#******************************************************************************
|
||||
|
||||
# specify whether to also log passed health checks (yes|no)
|
||||
# (warning: this may rapidly grow the HC log)
|
||||
# [default: no]
|
||||
log_healthy="yes"
|
||||
|
||||
# specify whether to check for new events? (yes|no)
|
||||
# [default: 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
|
||||
# dd: days
|
||||
# mm: months
|
||||
# yy: years)
|
||||
# [default: 1:dd (last day)]
|
||||
events_age="1:dd"
|
||||
|
||||
# specify the severity for which events events to check. Leave blank for all.
|
||||
# You can specify multiple severities separated by comma
|
||||
# severities: MILESTONE,INFORMATIONAL,WARNING,ERROR,CRITICAL,STOPLOGGING
|
||||
# see also: /var/opt/sfm/conf/FMLoggerConfig.xml
|
||||
# [default: CRITICAL]
|
||||
events_severity="CRITICAL"
|
||||
|
||||
# specify whether to send a test event? (yes|no)
|
||||
# [default: no]
|
||||
send_test_event="yes"
|
||||
|
||||
# specify wait time for test event (seconds)
|
||||
# [default: 60]
|
||||
wait_test_event=60
|
||||
|
||||
# specify the URL for the external SIM/IRS subscriber (only 1 URL supported)
|
||||
# [default: none]
|
||||
event_subscriber_wbem=""
|
||||
event_subscriber_cimom=""
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# It is recommended to only monitor unique "param1 value2" combinations
|
||||
#******************************************************************************
|
||||
|
||||
#[mycluster]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 cluster statuses
|
||||
# Format:
|
||||
# sg:<parameter>=<value>
|
||||
# Examples:
|
||||
#sg:status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,20 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# It is recommended to only monitor unique "param1 value2" combinations
|
||||
#******************************************************************************
|
||||
|
||||
#[mypkg1]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
#[mypkg2]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 package statuses
|
||||
# Format:
|
||||
# sg:<package_name>:<parameter>=<value>
|
||||
# Examples:
|
||||
#sg:my_package:status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_syslog.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_hpux_syslog 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="no"
|
||||
|
||||
# path to the SYSLOG file
|
||||
# [default: /var/adm/syslog/syslog.log]
|
||||
syslog_file="/var/adm/syslog/syslog.log"
|
||||
|
||||
# comma-separated list of tags to search for (case insensitive) (see man 1 logger)
|
||||
# [default: vmunix]
|
||||
syslog_classes="vmunix"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_burp_backup.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_burp_backup 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="no"
|
||||
|
||||
# specify client & backup details
|
||||
# Format:
|
||||
# client:<client_name>:<max_warnings_allowed>:<max_backup_age>(d|h|w)
|
||||
# Examples:
|
||||
#client:host1:0:10h
|
||||
#client:host2:0:2d
|
||||
#client:host3:0:5w
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,21 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_es_status.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_es_status 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="no"
|
||||
|
||||
# specify the URL of the Elasticsearch instance (host:port)
|
||||
# [default: http://localhost:9200]
|
||||
es_url="http://localhost:9200"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_file_age.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_file_age 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="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
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,36 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_file_change.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_file_change 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="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
|
||||
|
||||
# specify if file names need to be checked/flagged for meta characters [yes|no]
|
||||
# [default: yes]
|
||||
do_meta_check="yes"
|
||||
|
||||
# specify files or directories check (directories are automatically expanded)
|
||||
# format:
|
||||
# incl:<full path> (includes a path)
|
||||
# excl:<full path> (excludes a path)
|
||||
# note: shell wild cards in the file paths are not supported! Exclusions have
|
||||
# a higher priority than inclusions.
|
||||
# Examples:
|
||||
#incl:file1
|
||||
#incl:dir1
|
||||
#excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,47 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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="no"
|
||||
|
||||
# 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 %). When not defining a threshold
|
||||
# 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
|
||||
#fs:myfs1:70:95
|
||||
# check myfs2 with the general inodes usage threshold & a custom space usage threshold
|
||||
#fs:myfs2::80
|
||||
# check myfs3 with a custom inodes usage threshold & do not check the space usage
|
||||
#fs:myfs3:99:0
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,32 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_hpacucli.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_hpacucli 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="no"
|
||||
|
||||
# location of 'hpacucli' tool
|
||||
hpacucli_bin="/usr/sbin/hpacucli"
|
||||
|
||||
# controller all show status (0=off, 1=on) [default: 1]
|
||||
do_acu_controller=1
|
||||
|
||||
# controller slot=X enclosure all show (0=off, 1=on) [default: 1]
|
||||
do_acu_enclosure=1
|
||||
|
||||
# controller slot=X physicaldrive all show status (0=off, 1=on) [default: 1]
|
||||
do_acu_physical=1
|
||||
|
||||
# controller slot=X logicaldrive all show status (0=off, 1=on) [default: 1]
|
||||
do_acu_logical=1
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,35 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_hpasmcli.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_hpasmcli 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="no"
|
||||
|
||||
# location of 'hpasmcli' tool
|
||||
hpasmcli_bin="/sbin/hpasmcli"
|
||||
|
||||
# SHOW FANS (0=off, 1=on) [default: 1]
|
||||
do_asm_fans=1
|
||||
|
||||
# SHOW DIMM (0=off, 1=on) [default: 1]
|
||||
do_asm_dimm=1
|
||||
|
||||
# SHOW POWERSUPPLY (0=off, 1=on) [default: 1]
|
||||
do_asm_powersupply=1
|
||||
|
||||
# SHOW SERVER (0=off, 1=on) [default: 1]
|
||||
do_asm_server=1
|
||||
|
||||
# SHOW TEMPERATURE (0=off, 1=on) [default: 1]
|
||||
do_asm_temperature=1
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_hplog.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_hplog 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="no"
|
||||
|
||||
# location of 'hpacucli' tool
|
||||
hplog_bin="/sbin/hplog"
|
||||
|
||||
# comma-separated list of severities to search for (case insensitive)
|
||||
# [default: CRITICAL,CAUTION]
|
||||
hplog_severities="CRITICAL,CAUTION"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,31 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_hpssacli.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_hpssacli 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="no"
|
||||
|
||||
# location of 'hpssacli' tool
|
||||
hpssacli_bin="/usr/sbin/hpssacli"
|
||||
|
||||
# controller all show status (0=off, 1=on) [default: 1]
|
||||
do_ssa_controller=1
|
||||
|
||||
# controller slot=X enclosure all show (0=off, 1=on) [default: 1]
|
||||
do_ssa_enclosure=1
|
||||
|
||||
# controller slot=X physicaldrive all show status (0=off, 1=on) [default: 1]
|
||||
do_ssa_physical=1
|
||||
|
||||
# controller slot=X logicaldrive all show status (0=off, 1=on) [default: 1]
|
||||
do_ssa_logical=1
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,63 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_mysqld_status.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_mysqld_status 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="no"
|
||||
|
||||
# specify whether to perform table checks (mysqlcheck)
|
||||
# MySQL privileges required: SHOW DATABASES, SELECT (global or per database)
|
||||
# [default: yes]
|
||||
do_check="yes"
|
||||
|
||||
# specify whether the type of check to execute
|
||||
# Format: <quick|medium|extended>
|
||||
# [default: quick]
|
||||
check_type="quick"
|
||||
|
||||
# list of databases to check (comma-separated). Null value means all databases.
|
||||
# [default: null]
|
||||
check_databases=""
|
||||
|
||||
# list of databases to excluded from checking (comma-separated).
|
||||
# overrules the 'check_databases' parameter
|
||||
# [default: null]
|
||||
exclude_databases=""
|
||||
|
||||
# list of tables to excluded from checking (comma-separated)
|
||||
# (must be fully qualified names)
|
||||
# [default: null]
|
||||
exclude_tables=""
|
||||
|
||||
# specify whether to gather statistics (mysqladmin) (statistics are only logged
|
||||
# when a failed HC is logged)
|
||||
# [default: yes]
|
||||
# MySQL privileges required: SHOW DATABASES, SELECT (global)
|
||||
do_stats="yes"
|
||||
|
||||
# specify the MySQL user account (mysqlcheck/mysqlshow)
|
||||
# [default: null]
|
||||
mysql_user=""
|
||||
|
||||
# specify the MySQL user password (mysqlcheck/mysqlshow)
|
||||
# [default: null]
|
||||
mysql_password=""
|
||||
|
||||
# specify the MySQL host name (mysqlcheck/mysqlshow)
|
||||
# [default: localhost]
|
||||
mysql_host="localhost"
|
||||
|
||||
# specify the MySQL host port (mysqlcheck/mysqlshow)
|
||||
# [default: 3306]
|
||||
mysql_port="3306"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,33 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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"
|
||||
|
||||
# whether to force the use of chronyd?
|
||||
# [default: no]
|
||||
force_chrony="no"
|
||||
|
||||
# whether to force the use of ntpd?
|
||||
# [default: no]
|
||||
force_ntp="no"
|
||||
|
||||
# maximum allowed offset (in milliseconds (positive integers only)
|
||||
# [default: 500]
|
||||
max_offset=500
|
||||
|
||||
# use IPv4 for ntpq
|
||||
# [default: no]
|
||||
ntpq_use_ipv4="no"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,35 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_process_limits.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_process_limits 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="no"
|
||||
|
||||
# -- user stanzas --
|
||||
# supported limit checks: Max open files; Max processes
|
||||
# format:
|
||||
# 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)
|
||||
# Examples:
|
||||
#user;postfix;Max open files;;75
|
||||
|
||||
# -- process stanzas --
|
||||
# supported limit checks: Max open files
|
||||
# format:
|
||||
# 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)
|
||||
# Examples:
|
||||
#process;nfsd;Max open files;100;80
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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
|
||||
# Format:
|
||||
# cron:<cron_entry>
|
||||
# Examples:
|
||||
#cron:/usr/bin/cfg2html-linux
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# It is recommended to only monitor unique "param1 value2" combinations
|
||||
#******************************************************************************
|
||||
|
||||
#[mycluster]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 cluster statuses
|
||||
# Format:
|
||||
# sg:<parameter>=<value>
|
||||
# Examples:
|
||||
#sg:status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,20 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# It is recommended to only monitor unique "param1 value2" combinations
|
||||
#******************************************************************************
|
||||
|
||||
#[mypkg1]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
#[mypkg2]
|
||||
#param1 value1
|
||||
#param2 value2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,23 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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.
|
||||
# [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 package statuses
|
||||
# Format:
|
||||
# sg:<package_name>:<parameter>=<value>
|
||||
# Examples:
|
||||
#sg:my_package:status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,22 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_vz_ct_counters.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_vz_ct_counters 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="no"
|
||||
|
||||
# specify containers for which to check the UBC
|
||||
# Format:
|
||||
# [ct:<ct_id>]
|
||||
# Examples:
|
||||
#ct:100
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,25 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_vz_ct_status.conf
|
||||
#******************************************************************************
|
||||
# This is a configuration file for the check_linux_openvz_ct_status 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="no"
|
||||
|
||||
# specify properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
|
||||
# Format:
|
||||
# [ct:<ct_id>:<runtime_status>:<boot_status>]
|
||||
# runtime_status should be 'running' or 'stopped'
|
||||
# boot_status should be 'yes' or 'no'
|
||||
# Examples:
|
||||
#ct:100:running:yes
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_health.conf
|
||||
#******************************************************************************
|
||||
# This is the main configuration file for the check_health.sh tool.
|
||||
# All lines starting with a '#' are comment lines.
|
||||
# [default: indicates hardcoded script values if no value is defined here]
|
||||
#******************************************************************************
|
||||
|
||||
# --- general settings ---
|
||||
# maximum timeout for HC calls/plugins (seconds) [default: 60]
|
||||
HC_TIME_OUT=60
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,22 @@
|
||||
#******************************************************************************
|
||||
# @(#) notify_eif.conf
|
||||
#******************************************************************************
|
||||
# This is the configuration file for the notify_eif.sh provider.
|
||||
# All lines starting with a '#' are comment lines.
|
||||
# [default: indicates hardcoded script values if no value is defined here]
|
||||
#******************************************************************************
|
||||
|
||||
# --- EIF settings ---
|
||||
# location of the posteifmsg tool
|
||||
EIF_BIN="/opt/eif/bin/posteifmsg"
|
||||
|
||||
# location of the posteifmsg configuration file
|
||||
EIF_ETC="/etc/opt/eif/posteifmsg.conf"
|
||||
|
||||
# default ITM severity
|
||||
EIF_SEVERITY="MINOR"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,18 @@
|
||||
#******************************************************************************
|
||||
# @(#) notify_sms.conf
|
||||
#******************************************************************************
|
||||
# This is the the configuration file for the notify_sms.sh provider.
|
||||
# All lines starting with a '#' are comment lines.
|
||||
# [default: indicates hardcoded script values if no value is defined here]
|
||||
#******************************************************************************
|
||||
|
||||
# --- SMS settings ---
|
||||
# list of supported SMS providers (comma-separated)
|
||||
SMS_PROVIDERS=""
|
||||
|
||||
# configuration settings for individual SMS providers go here
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,3 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
File system is mounted with incorrect options. Remount the file system with the correct options.
|
||||
* Check /etc/fstab
|
||||
* Check /etc/cmcluster/<PKG_NAME>/<PKG_NAME>.conf files (directive "fs_mount_opt")
|
||||
|
||||
Keep in mind that special mount options may apply for:
|
||||
* NFS file systems
|
||||
* SAP file systems
|
||||
* Oracle data/redo files
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
Check any faulty devices or error messages:
|
||||
* ioscan -P health (look for 'offline' devices)
|
||||
* ioscan -fnN (look for 'NO_HW' devices)
|
||||
* dmesg
|
||||
* /var/adm/syslog/syslog.log
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
Execute:
|
||||
* mwa start all
|
||||
* /sbin/init.d/ovpa start
|
||||
Verify:
|
||||
* perfstat -p
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMMENDATION ***
|
||||
Check the root crontab for any wrongly commented lines and fix:
|
||||
* crontab -l | grep '^#'
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
Check current cluster status:
|
||||
* cmviewcl [-v]
|
||||
If the cluster is down:
|
||||
* cmruncl
|
||||
Check for possible errors in:
|
||||
* /var/adm/cmcluster/log/*
|
||||
* /var/adm/syslog/syslog.log (cmcld)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
Check current package status:
|
||||
* cmviewcl [-v] -p <PKG_NAME>
|
||||
If the package is down:
|
||||
* cmrunpkg <PKG_NAME> (on the primary node)
|
||||
- or -
|
||||
* cmmodpkg -e <PKG_NAME>
|
||||
* cmmodpkg -e -n <PRIMARY_NODE> <PKG_NAME>
|
||||
Check for possible errors in:
|
||||
* /var/adm/cmcluster/log/*
|
||||
* /var/adm/syslog/syslog.log (cmcld)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
If this host is part of Serviceguard cluster and the affected volume group
|
||||
is cluster aware, then major/minor numbers must be unique AND identical on
|
||||
all cluster nodes.
|
||||
|
||||
View the current major/minor:
|
||||
* vgs
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMENDATION ***
|
||||
File system is mounted with incorrect options. Remount the file system with the correct options.
|
||||
* Check /etc/fstab
|
||||
|
||||
Keep in mind that special mount options may apply for:
|
||||
* NFS file systems
|
||||
* SAP file systems
|
||||
* Oracle data/redo files
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
*** MESSAGE ***
|
||||
<## @_HC_BODY ##>
|
||||
|
||||
*** RECOMMMENDATION ***
|
||||
Check the root crontab for any wrongly commented lines and fix:
|
||||
* crontab -l | grep '^#'
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
*** LOGS ***
|
||||
Please check the corresponding log file(s) for more details. At <## @HOST_NAME ##>:<## @LOG_DIR ##>)
|
||||
|
||||
You can also run /opt/hc/bin/check_health.sh --report --id=<## @_MAIL_FAIL_ID ##> (--detail) on <## @HOST_NAME ##>
|
||||
|
||||
Following log files have been attached to this e-mail:
|
||||
|
||||
STDOUT : <## @_MAIL_STDOUT_MSG ##>
|
||||
STDERR : <## @_MAIL_STDERR_MSG ##>
|
||||
|
||||
******* END OF MAIL. DO NOT REPLY TO THIS E-MAIL. NOBODY WILL SEE IT! ********
|
||||
@@ -0,0 +1,4 @@
|
||||
*** ID ***
|
||||
HC NAME : <## @_MAIL_HC ##>
|
||||
FAIL ID : <## @_MAIL_FAIL_ID ##>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
To: <## @ARG_MAIL_TO ##>
|
||||
Subject: <## @_SUBJ_MSG ##>
|
||||
From: <## @_FROM_MSG ##>
|
||||
Reference in New Issue
Block a user