ODCS: replace the process check by a service check.
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
e16fdf0b3d
commit
aa569ea75b
5 changed files with 8 additions and 10 deletions
|
@ -55,8 +55,11 @@ csi_relationship: |
|
||||||
The process is called `odcs-backend`.
|
The process is called `odcs-backend`.
|
||||||
|
|
||||||
This host:
|
This host:
|
||||||
|
|
||||||
- relies on db01 for its database of activity (what composes have been
|
- relies on db01 for its database of activity (what composes have been
|
||||||
requested and what state are they in?)
|
requested and what state are they in?)
|
||||||
- Uses pungi to compose repos of content.
|
- Uses pungi to compose repos of content.
|
||||||
- It also *provides* an nfs share used by odcs-frontend01.
|
- It also *provides* an nfs share used by odcs-frontend01.
|
||||||
|
|
||||||
|
nagios_Check_Services:
|
||||||
|
odcs-celery-backend: true
|
||||||
|
|
|
@ -52,8 +52,11 @@ csi_relationship: |
|
||||||
The process is called `odcs-backend`.
|
The process is called `odcs-backend`.
|
||||||
|
|
||||||
This host:
|
This host:
|
||||||
|
|
||||||
- relies on db01 for its database of activity (what composes have been
|
- relies on db01 for its database of activity (what composes have been
|
||||||
requested and what state are they in?)
|
requested and what state are they in?)
|
||||||
- Uses pungi to compose repos of content.
|
- Uses pungi to compose repos of content.
|
||||||
- It also *provides* an nfs share used by odcs-frontend01.
|
- It also *provides* an nfs share used by odcs-frontend01.
|
||||||
|
|
||||||
|
nagios_Check_Services:
|
||||||
|
odcs-celery-backend: true
|
||||||
|
|
|
@ -143,7 +143,6 @@
|
||||||
- check_mirrorlist_docker_proxy.cfg
|
- check_mirrorlist_docker_proxy.cfg
|
||||||
- check_mirrorlist_cache.cfg
|
- check_mirrorlist_cache.cfg
|
||||||
- check_celery_redis_queue.cfg
|
- check_celery_redis_queue.cfg
|
||||||
- check_odcs_celery_proc.cfg
|
|
||||||
- check_proxies.cfg
|
- check_proxies.cfg
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
command[check_odcs_celery_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'odcs-celery-backend ' -u odcs
|
|
|
@ -92,12 +92,6 @@ define service {
|
||||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||||
use defaulttemplate
|
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
|
# Odd one, check for the supybot fedmsg plugin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue