nagios_server: Check Koschei pod count instead of processes
This commit is contained in:
parent
a8c105ca84
commit
ec6c5cab14
3 changed files with 33 additions and 31 deletions
29
roles/nagios_server/files/nagios/commands/openshift.cfg
Normal file
29
roles/nagios_server/files/nagios/commands/openshift.cfg
Normal file
|
@ -0,0 +1,29 @@
|
|||
################################################################################
|
||||
# COMMAND DEFINITIONS
|
||||
#
|
||||
# SYNTAX:
|
||||
#
|
||||
# define command{
|
||||
# template <templatename>
|
||||
# name <objectname>
|
||||
# command_name <commandname>
|
||||
# command_line <commandline>
|
||||
# }
|
||||
#
|
||||
# WHERE:
|
||||
#
|
||||
# <templatename> = object name of another command definition that should be
|
||||
# used as a template for this definition (optional)
|
||||
# <objectname> = object name of command definition, referenced by other
|
||||
# command definitions that use it as a template (optional)
|
||||
# <commandname> = name of the command, as recognized/used by Nagios
|
||||
# <commandline> = command line
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# 'check_openshift_objects'
|
||||
define command{
|
||||
command_name check_openshift_objects
|
||||
command_line $USER1$/check_openshift_objects
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue