Perform mirrorlist cache check against proxies
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
1b1c9c4968
commit
b58aec5fdb
2 changed files with 14 additions and 4 deletions
|
@ -1 +1,2 @@
|
|||
command[check_mirrorlist_cache]={{ libdir }}/nagios/plugins/check_file_age -w 14400 -c 129600 -f /var/lib/mirrormanager/mirrorlist_cache.pkl
|
||||
command[check_mirrorlist1_cache]={{ libdir }}/nagios/plugins/check_file_age -w 14400 -c 129600 -f /srv/mirrorlist/data/mirrorlist1/mirrorlist_cache.pkl
|
||||
command[check_mirrorlist2_cache]={{ libdir }}/nagios/plugins/check_file_age -w 14400 -c 129600 -f /srv/mirrorlist/data/mirrorlist2/mirrorlist_cache.pkl
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
define service {
|
||||
hostgroup_name mirrorlist2
|
||||
service_description Check MirrorList Cache
|
||||
check_command check_by_nrpe!check_mirrorlist_cache
|
||||
hostgroup_name proxies
|
||||
service_description Check MirrorList 1 Cache
|
||||
check_command check_by_nrpe!check_mirrorlist1_cache
|
||||
use defaulttemplate
|
||||
check_interval 120
|
||||
notification_interval 130
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description Check MirrorList 2 Cache
|
||||
check_command check_by_nrpe!check_mirrorlist2_cache
|
||||
use defaulttemplate
|
||||
check_interval 120
|
||||
notification_interval 130
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue