Adjust nagios for the db05 to db03 changes.
This commit is contained in:
parent
fff16d01d7
commit
a84163007e
4 changed files with 16 additions and 9 deletions
7
roles/nagios_server/files/nagios/hosts/db03.cfg
Normal file
7
roles/nagios_server/files/nagios/hosts/db03.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define host {
|
||||
host_name db03
|
||||
alias db03.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address db03.phx2.fedoraproject.org
|
||||
parents virthost02
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
define host {
|
||||
host_name db05
|
||||
alias db05.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address db05.phx2.fedoraproject.org
|
||||
parents virthost15
|
||||
}
|
||||
#define host {
|
||||
# host_name db05
|
||||
# alias db05.phx2.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
# address db05.phx2.fedoraproject.org
|
||||
# parents virthost15
|
||||
#}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
define service {
|
||||
host_name db05
|
||||
host_name db02
|
||||
service_description Check MySQL Backup
|
||||
check_command check_by_nrpe!check_mysql_backup
|
||||
use defaulttemplate
|
||||
|
|
|
@ -210,7 +210,7 @@ command[check_swap]=/usr/lib64/nagios/plugins/check_swap -w 15% -c 10%
|
|||
command[check_temp]=/usr/lib64/nagios/plugins/check_ipmi -t
|
||||
command[check_fans]=/usr/lib64/nagios/plugins/check_ipmi -f
|
||||
command[check_mirrorlist_cache]=/usr/lib64/nagios/plugins/check_file_age -w 86400 -c 129600 -f /var/lib/mirrormanager/mirrorlist_cache.pkl
|
||||
command[check_mysql_backup]=/usr/lib64/nagios/plugins/check_file_age -w 86400 -c 129600 -f /backups/db05.phx2.fedoraproject.org/fpo-mediawiki.xz
|
||||
command[check_mysql_backup]=/usr/lib64/nagios/plugins/check_file_age -w 86400 -c 129600 -f /backups/fpo-mediawiki.xz
|
||||
command[check_pgsql_koji_backup]=/usr/lib64/nagios/plugins/check_file_age -w 86400 -c 129600 -f /backups/db04.phx2.fedoraproject.org/koji.db
|
||||
command[check_pgsql_backup]=/usr/lib64/nagios/plugins/check_file_age -w 86400 -c 129600 -f /backups/db-fas01.phx2.fedoraproject.org/fas2.db
|
||||
command[check_puppetmaster]=/usr/lib64/nagios/plugins/check_procs -c 8:8 -a '/usr/bin/ruby /usr/sbin/puppetmasterd' -u puppet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue