Added plugin check_linux_vz_ct_counters() + other fixes

This commit is contained in:
Patrick Van der Veken
2019-02-08 15:52:35 +01:00
parent a34288fb19
commit 281ae7e564
6 changed files with 297 additions and 41 deletions
@@ -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="yes"
# specify containers for which to check the UBC
# Format:
# [ct:<ct_id>]
# Examples:
# ct:100
#******************************************************************************
# End of FILE
#******************************************************************************
@@ -6,12 +6,17 @@
# [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 properties as displayed by the 'vzlist -a -H -o ctid,status,onboot' command
# [ctid;runtime_status;boot_status]
# [ct:<ct_id>:<runtime_status>:<boot_status>]
# runtime_status should be 'running' or 'stopped'
# boot_status should be 'yes' or 'no'
# Examples:
#100;running;yes
#ct:100:running:yes
#******************************************************************************