* Added Clusterware (CRS) plugins (as a platform).

* Moved Serviceguard plugins to separate platform (+fixes)
* Other fixes
This commit is contained in:
Patrick Van der Veken
2019-04-24 14:19:02 +02:00
parent a4e1b4b954
commit 05dd91edc4
49 changed files with 1584 additions and 1126 deletions
@@ -0,0 +1,24 @@
#******************************************************************************
# @(#) check_clusterware_resource_config.conf
#******************************************************************************
# This is a configuration file for the check_clusterware_resource_config 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"
# stanza(s) of resource definitions (case sensitive).
# Example:
#[myresource]
#NAME=myresource
#TYPE=cluster_resource
#ACL=owner:root:rwx,pgrp:root:r-x,other::r--,user:oracle:r-x
#******************************************************************************
# End of FILE
#******************************************************************************
@@ -0,0 +1,26 @@
#******************************************************************************
# @(#) check_clusterware_resource_status.conf
#******************************************************************************
# This is a configuration file for the check_clusterware_resource_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 resource statuses
# Format:
# crs:<resource_name>:<*|node>=<ONLINE|OFFLINE>,<*|node>=<ONLINE|OFFLINE>,...
# Note: ONLINE definitions must precede OFFLINE definitions (if used)
# Examples:
#crs:res1:node1=ONLINE
#crs:res2:*=ONLINE
#crs:res3:node1=ONLINE,node2=OFFLINE
#******************************************************************************
# End of FILE
#******************************************************************************
@@ -1,16 +0,0 @@
#******************************************************************************
# @(#) 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
#******************************************************************************
@@ -1,20 +0,0 @@
#******************************************************************************
# @(#) 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
#******************************************************************************
@@ -1,16 +0,0 @@
#******************************************************************************
# @(#) 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
#******************************************************************************
@@ -1,20 +0,0 @@
#******************************************************************************
# @(#) 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
#******************************************************************************
@@ -1,7 +1,7 @@
#******************************************************************************
# @(#) check_hpux_sg_cluster_status.conf
# @(#) check_serviceguard_cluster_config.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_cluster_status HC plugin.
# This is a configuration file for the check_serviceguard_cluster_config HC plugin.
# All lines starting with a '#' are comment lines.
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
@@ -9,13 +9,12 @@
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy="no"
log_healthy="yes"
# list of required cluster statuses
# Format:
# sg:<parameter>=<value>
# Examples:
#sg:status=up
#[mycluster]
#param1 value1
#param2 value2
#******************************************************************************
@@ -1,7 +1,7 @@
#******************************************************************************
# @(#) check_linux_sg_cluster_status.conf
# @(#) check_serviceguard_cluster_status.conf
#******************************************************************************
# This is a configuration file for the check_linux_sg_cluster_status HC plugin.
# This is a configuration file for the check_serviceguard_cluster_status HC plugin.
# All lines starting with a '#' are comment lines.
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
@@ -1,7 +1,7 @@
#******************************************************************************
# @(#) check_hpux_sg_package_status.conf
# @(#) check_serviceguard_package_config.conf
#******************************************************************************
# This is a configuration file for the check_hpux_sg_package_status HC plugin.
# This is a configuration file for the check_serviceguard_package_config HC plugin.
# All lines starting with a '#' are comment lines.
# [default: indicates hardcoded script values if no value is defined here]
#******************************************************************************
@@ -9,13 +9,16 @@
# specify whether to also log passed health checks
# (warning: this may rapidly grow the HC log)
# [default: no]
log_healthy="no"
log_healthy="yes"
# list of required package statuses
# Format:
# sg:<package_name>:<parameter>=<value>
# Examples:
#sg:my_package:status=up
#[mypkg1]
#param1 value1
#param2 value2
#[mypkg2]
#param1 value1
#param2 value2
#******************************************************************************