Import
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_file_age.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# file (full path); maximum age in minutes since last change
|
||||
/var/adm/ras/syslog.caa;600
|
||||
/var/log/ntp.log;30
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,30 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_root_crontab.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,35 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_subsystems.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,22 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_aix_sysbackup.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,21 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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
|
||||
# [hc:HC plugin name]
|
||||
hc:plugin1
|
||||
hc:plugin2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,14 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# file (full path); maximum age in minutes since last change
|
||||
/var/adm/syslog/syslog.log;60
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,30 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,22 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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 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:myfs1:myopts1
|
||||
fs:myfs2:myopts2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,18 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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 properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
|
||||
# [parid;runtime_status;boot_status]
|
||||
# runtime_status should be 'on' or 'off'
|
||||
# boot_status should be 'auto' or 'manual'
|
||||
#1;on;auto
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,19 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_ignite_backup.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,24 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_ntp_status.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# maximum allowed offset (in milliseconds)
|
||||
# [default: 500]
|
||||
max_offset=500
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,14 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_root_crontab.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of commands (or strings) that should appear in active cron entries
|
||||
/opt/cfg2html/cfg2html_hpux.sh
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_sg_cluster_config.conf.dist
|
||||
#******************************************************************************
|
||||
# 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,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_sg_cluster_status.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of required cluster statuses (format : "parameter=value")
|
||||
#status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,20 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_sg_package_config.conf.dist
|
||||
#******************************************************************************
|
||||
# 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,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_sg_package_status.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of required package statuses (format : "package_name:parameter=value")
|
||||
#my_package|status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,20 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_hpux_syslog.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,17 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# client name; maximum amount of warnings allowed; maximum backup age (hours/days/weeks)
|
||||
testclient1;0;10h
|
||||
testclient2;0;2d
|
||||
testclient3;0;5w
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# file (full path); maximum age in minutes since last change
|
||||
/var/log/messages;60
|
||||
/var/log/ntp.log;30
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,30 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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.
|
||||
incl:file1
|
||||
incl:dir1
|
||||
excl:dir1/file2
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,26 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,29 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,19 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,26 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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]
|
||||
#******************************************************************************
|
||||
|
||||
# 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,14 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_root_crontab.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of commands (or strings) that should appear in active cron entries
|
||||
/usr/bin/cfg2html-linux
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,16 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_sg_cluster_config.conf.dist
|
||||
#******************************************************************************
|
||||
# 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,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_sg_cluster_status.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of required cluster statuses (format : "parameter=value")
|
||||
#status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,20 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_sg_package_config.conf.dist
|
||||
#******************************************************************************
|
||||
# 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,15 @@
|
||||
#******************************************************************************
|
||||
# @(#) check_linux_sg_package_status.conf.dist
|
||||
#******************************************************************************
|
||||
# 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]
|
||||
#******************************************************************************
|
||||
|
||||
# list of required package statuses (format : "package_name:parameter=value")
|
||||
#my_package|status=up
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,18 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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 properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
|
||||
# [ctid;runtime_status;boot_status]
|
||||
# runtime_status should be 'running' or 'stopped'
|
||||
# boot_status should be 'yes' or 'no'
|
||||
#100;running;yes
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# End of FILE
|
||||
#******************************************************************************
|
||||
@@ -0,0 +1,31 @@
|
||||
#******************************************************************************
|
||||
# @(#) 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 (seconds)
|
||||
HC_TIME_OUT=60
|
||||
|
||||
# location of log directory, see also --log-dir)
|
||||
LOG_DIR="/var/opt/hc"
|
||||
|
||||
# location of events directory
|
||||
EVENTS_DIR="${LOG_DIR}/events"
|
||||
|
||||
# location of state directory
|
||||
STATE_DIR="${LOG_DIR}/state"
|
||||
|
||||
# location of persistent state directory
|
||||
STATE_PERM_DIR="${STATE_DIR}/persistent"
|
||||
|
||||
# location of temporary state directory
|
||||
STATE_TEMP_DIR="${STATE_DIR}/temporary"
|
||||
|
||||
|
||||
#******************************************************************************
|
||||
# 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