Revert "nagios_server: Check Koschei pod count instead of processes"
This reverts commit a0474d9c3687bd144d5a890e8f8c802486299947. This reverts commit 803af9c9cb3456d7440695ddf8c51990b002c6d4.
This commit is contained in:
parent
98ecbf6f50
commit
a1c728f8a8
3 changed files with 31 additions and 33 deletions
|
@ -1,29 +0,0 @@
|
|||
################################################################################
|
||||
# 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 $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
|
||||
}
|
||||
|
|
@ -1,6 +1,34 @@
|
|||
define service {
|
||||
hostgroup_name os_masters
|
||||
service_description koschei-watcher
|
||||
check_command check_openshift_objects!koschei!pods!deploymentconfig!watcher!1
|
||||
host_name koschei-backend01.phx2.fedoraproject.org
|
||||
service_description koschei-polling process
|
||||
check_command check_by_nrpe!check_koschei_polling_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koschei-backend01.phx2.fedoraproject.org
|
||||
service_description koschei-build-resolver process
|
||||
check_command check_by_nrpe!check_koschei_build_resolver_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koschei-backend01.phx2.fedoraproject.org
|
||||
service_description koschei-repo-resolver process
|
||||
check_command check_by_nrpe!check_koschei_repo_resolver_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koschei-backend01.phx2.fedoraproject.org
|
||||
service_description koschei-scheduler process
|
||||
check_command check_by_nrpe!check_koschei_scheduler_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koschei-backend01.phx2.fedoraproject.org
|
||||
service_description koschei-watcher process
|
||||
check_command check_by_nrpe!check_koschei_watcher_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
|
|
@ -143,7 +143,6 @@
|
|||
- misc.cfg
|
||||
- notify.cfg
|
||||
- nrpe.cfg
|
||||
- openshift.cfg
|
||||
- perfdata.cfg
|
||||
- ping.cfg
|
||||
- rsyslog.cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue