ODCS: replace the process check by a service check.

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-12-18 16:53:57 +01:00 committed by Pierre-Yves Chibon
parent e16fdf0b3d
commit aa569ea75b
5 changed files with 8 additions and 10 deletions

View file

@ -55,8 +55,11 @@ csi_relationship: |
The process is called `odcs-backend`.
This host:
- relies on db01 for its database of activity (what composes have been
requested and what state are they in?)
- Uses pungi to compose repos of content.
- It also *provides* an nfs share used by odcs-frontend01.
nagios_Check_Services:
odcs-celery-backend: true

View file

@ -52,8 +52,11 @@ csi_relationship: |
The process is called `odcs-backend`.
This host:
- relies on db01 for its database of activity (what composes have been
requested and what state are they in?)
- Uses pungi to compose repos of content.
- It also *provides* an nfs share used by odcs-frontend01.
nagios_Check_Services:
odcs-celery-backend: true

View file

@ -143,7 +143,6 @@
- check_mirrorlist_docker_proxy.cfg
- check_mirrorlist_cache.cfg
- check_celery_redis_queue.cfg
- check_odcs_celery_proc.cfg
- check_proxies.cfg
notify:
- restart nrpe

View file

@ -1 +0,0 @@
command[check_odcs_celery_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'odcs-celery-backend ' -u odcs

View file

@ -92,12 +92,6 @@ define service {
check_command check_by_nrpe!check_fedmsg_hub_proc
use defaulttemplate
}
define service {
host_name odcs-backend01.phx2.fedoraproject.org
service_description Check for fedmsg-hub-3 proc
check_command check_by_nrpe!check_odcs_celery_proc
use defaulttemplate
}
# Odd one, check for the supybot fedmsg plugin