in progress
This commit is contained in:
parent
362710ffa8
commit
4ee5939b13
490 changed files with 14041 additions and 0 deletions
21
roles/nagios_server/files/nagios/services/db_backups.cfg
Normal file
21
roles/nagios_server/files/nagios/services/db_backups.cfg
Normal file
|
@ -0,0 +1,21 @@
|
|||
define service {
|
||||
host_name db05, db04
|
||||
service_description Check MySQL Backup
|
||||
check_command check_by_nrpe!check_mysql_backup
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name db05, db04
|
||||
service_description Check Koji PGSQL Backup
|
||||
check_command check_by_nrpe!check_pgsql_koji_backup
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name db05, db04, db01
|
||||
service_description Check PGSQL Backup
|
||||
check_command check_by_nrpe!check_pgsql_backup
|
||||
use defaulttemplate
|
||||
}
|
||||
|
98
roles/nagios_server/files/nagios/services/disk.cfg
Normal file
98
roles/nagios_server/files/nagios/services/disk.cfg
Normal file
|
@ -0,0 +1,98 @@
|
|||
define service {
|
||||
hostgroup servers
|
||||
service_description Disk Space /
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Disk Space /
|
||||
# check_command check_by_nrpe!check_disk_/
|
||||
# use builderdisktemplate
|
||||
# retry_check_interval 5
|
||||
#}
|
||||
|
||||
define service {
|
||||
host_name app01, app02, app03, app04, app05, app08, noc01, proxy01, proxy02, releng02, db01
|
||||
service_description Disk Space /boot
|
||||
check_command check_by_nrpe!check_disk_/boot
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description Disk Space /srv
|
||||
check_command check_by_nrpe!check_disk_/srv
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# host_name hosted04
|
||||
# service_description Disk Space /srv
|
||||
# check_command check_by_nrpe!check_disk_/srv
|
||||
# use disktemplate
|
||||
#}
|
||||
|
||||
define service {
|
||||
host_name log02
|
||||
service_description Disk space /var/log
|
||||
check_command check_by_nrpe!check_disk_/var/log
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name nfs01
|
||||
service_description Disk space /mnt/koji
|
||||
check_command check_by_nrpe!check_disk_/mnt/koji
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name pkgs01
|
||||
service_description Check read-only filesystem
|
||||
check_command check_by_nrpe!check_readonly_fs
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name pkgs01
|
||||
service_description Disk space /srv/cache/lookaside
|
||||
check_command check_by_nrpe!check_disk_/srv/cache/lookaside
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ppc-composer
|
||||
service_description Disk space /mnt/koji
|
||||
check_command check_by_nrpe!check_disk_/mnt/koji
|
||||
use ppc-secondarytemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ppc-composer
|
||||
service_description Disk space /mnt/data
|
||||
check_command check_by_nrpe!check_disk_/mnt/data
|
||||
use ppc-secondarytemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ppc-composer
|
||||
service_description Disk space /
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use ppc-secondarytemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ppc-hub
|
||||
service_description Disk space /
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use ppc-secondarytemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name retrace01.qa
|
||||
service_description Disk space /
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use retracetemplate
|
||||
}
|
6
roles/nagios_server/files/nagios/services/dns.cfg
Normal file
6
roles/nagios_server/files/nagios/services/dns.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
define service {
|
||||
hostgroup_name dnsservers
|
||||
service_description DNS: fp.o
|
||||
check_command check_dns_fpo
|
||||
use criticaltemplate
|
||||
}
|
191
roles/nagios_server/files/nagios/services/fedmsg.cfg
Normal file
191
roles/nagios_server/files/nagios/services/fedmsg.cfg
Normal file
|
@ -0,0 +1,191 @@
|
|||
define service {
|
||||
host_name app01
|
||||
service_description Check fedmsg-relay
|
||||
check_command check_by_nrpe!check_fedmsg_relay_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name value03
|
||||
service_description Check fedmsg-irc
|
||||
check_command check_by_nrpe!check_fedmsg_irc_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check fedmsg-hub
|
||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check fedmsg-gateway
|
||||
check_command check_by_nrpe!check_fedmsg_gateway_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check fedmsg-relay
|
||||
check_command check_by_nrpe!check_fedmsg_relay_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name badges-backend01
|
||||
service_description Check fedmsg-hub
|
||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name summershum01
|
||||
service_description Check fedmsg-hub
|
||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name notifs-backend01
|
||||
service_description Check fedmsg-hub
|
||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name pkgs01
|
||||
service_description Check fedmsg-hub
|
||||
check_command check_by_nrpe!check_fedmsg_hub_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name value03
|
||||
service_description Check supybot fedmsg plugin
|
||||
check_command check_by_nrpe!check_supybot_fedmsg_plugin
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent buildsys/koji messages
|
||||
check_command check_by_nrpe!check_datanommer_buildsys
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent git messages
|
||||
check_command check_by_nrpe!check_datanommer_git
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent bodhi messages
|
||||
check_command check_by_nrpe!check_datanommer_bodhi
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent wiki messages
|
||||
check_command check_by_nrpe!check_datanommer_wiki
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent compose messages
|
||||
check_command check_by_nrpe!check_datanommer_compose
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent meetbot messages
|
||||
check_command check_by_nrpe!check_datanommer_meetbot
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent fas messages
|
||||
check_command check_by_nrpe!check_datanommer_fas
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent pkgdb messages
|
||||
check_command check_by_nrpe!check_datanommer_pkgdb
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent fedoratagger messages
|
||||
check_command check_by_nrpe!check_datanommer_fedoratagger
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent fedoraplanet messages
|
||||
check_command check_by_nrpe!check_datanommer_planet
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent copr finished build messages
|
||||
check_command check_by_nrpe!check_datanommer_copr
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent trac messages
|
||||
check_command check_by_nrpe!check_datanommer_trac
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent askbot messages
|
||||
check_command check_by_nrpe!check_datanommer_askbot
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent fedbadges messages
|
||||
check_command check_by_nrpe!check_datanommer_fedbadges
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent nuancier messages
|
||||
check_command check_by_nrpe!check_datanommer_nuancier
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent fedocal messages
|
||||
check_command check_by_nrpe!check_datanommer_fedocal
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name busgateway01
|
||||
service_description Check datanommer for recent ansible messages
|
||||
check_command check_by_nrpe!check_datanommer_ansible
|
||||
use defaulttemplate
|
||||
}
|
||||
# These have yet to be deployed
|
||||
#define service {
|
||||
# host_name busgateway01
|
||||
# service_description Check datanommer for recent mailman messages
|
||||
# check_command check_by_nrpe!check_datanommer_mailman
|
||||
# use defaulttemplate
|
||||
#}
|
||||
#define service {
|
||||
# host_name busgateway01
|
||||
# service_description Check datanommer for recent cnucnuweb messages
|
||||
# check_command check_by_nrpe!check_datanommer_cnucnuweb
|
||||
# use defaulttemplate
|
||||
#}
|
||||
#define service {
|
||||
# host_name busgateway01
|
||||
# service_description Check datanommer for recent summershum messages
|
||||
# check_command check_by_nrpe!check_datanommer_summershum
|
||||
# use defaulttemplate
|
||||
#}
|
|
@ -0,0 +1,36 @@
|
|||
define service {
|
||||
host_name packages03
|
||||
service_description Check fcomm-cache-worker
|
||||
check_command check_by_nrpe!check_fcomm_cache_worker_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name packages03
|
||||
service_description Check redis
|
||||
check_command check_by_nrpe!check_redis_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name packages03
|
||||
service_description Check fcomm-queue
|
||||
check_command check_by_nrpe!check_fcomm_queue
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name packages04
|
||||
service_description Check fcomm-cache-worker
|
||||
check_command check_by_nrpe!check_fcomm_cache_worker_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name packages04
|
||||
service_description Check redis
|
||||
check_command check_by_nrpe!check_redis_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name packages04
|
||||
service_description Check fcomm-queue
|
||||
check_command check_by_nrpe!check_fcomm_queue
|
||||
use defaulttemplate
|
||||
}
|
16
roles/nagios_server/files/nagios/services/file_age.cfg
Normal file
16
roles/nagios_server/files/nagios/services/file_age.cfg
Normal file
|
@ -0,0 +1,16 @@
|
|||
define service {
|
||||
host_name mirrorlist-osuosl, mirrorlist-ibiblio, mirrorlist-phx2, mirrorlist-serverbeach
|
||||
service_description Check MirrorList Cache
|
||||
check_command check_by_nrpe!check_mirrorlist_cache
|
||||
use defaulttemplate
|
||||
normal_check_interval 120
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name log02
|
||||
service_description Check Merged Log
|
||||
check_command check_by_nrpe!check_merged_file_age
|
||||
use defaulttemplate
|
||||
normal_check_interval 120
|
||||
event_handler restart_rsyslog
|
||||
}
|
6
roles/nagios_server/files/nagios/services/haproxy.cfg
Normal file
6
roles/nagios_server/files/nagios/services/haproxy.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description Check proxies for oversubscription
|
||||
check_command check_by_nrpe!check_haproxy_conns
|
||||
use defaulttemplate
|
||||
}
|
57
roles/nagios_server/files/nagios/services/hosted.cfg
Normal file
57
roles/nagios_server/files/nagios/services/hosted.cfg
Normal file
|
@ -0,0 +1,57 @@
|
|||
define service {
|
||||
hostgroup hosted
|
||||
service_description BZR
|
||||
check_command check_bzr
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description GIT
|
||||
check_command check_git
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description bzr.fedorahosted.org
|
||||
check_command check_website!bzr.fedorahosted.org!/bzr/!loggerheadCont
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description fedorahosted.org
|
||||
check_command check_website!fedorahosted.org!/!
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description git.fedorahosted.org
|
||||
check_command check_website!git.fedorahosted.org!/git/fedora-infrastructure.git/!<!-- git web interface version
|
||||
max_check_attempts 7
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description hg.fedorahosted.org
|
||||
check_command check_website!hg.fedorahosted.org!/hg/!?sort=lastchange
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description svn.fedorahosted.org
|
||||
check_command check_website!svn.fedorahosted.org!/svn/sos/!Subversion
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup hosted
|
||||
service_description Load Averages
|
||||
check_command check_by_nrpe!check_hosted_load
|
||||
use defaulttemplate
|
||||
}
|
||||
|
8
roles/nagios_server/files/nagios/services/koji.cfg
Normal file
8
roles/nagios_server/files/nagios/services/koji.cfg
Normal file
|
@ -0,0 +1,8 @@
|
|||
define service {
|
||||
host_name koji03
|
||||
service_description Check Koji
|
||||
check_command check_koji
|
||||
max_check_attempts 5
|
||||
use criticaltemplate
|
||||
}
|
||||
|
14
roles/nagios_server/files/nagios/services/locking.cfg
Normal file
14
roles/nagios_server/files/nagios/services/locking.cfg
Normal file
|
@ -0,0 +1,14 @@
|
|||
define service {
|
||||
host_name releng02, koji03, releng04
|
||||
service_description Check NFS File Locks
|
||||
check_command check_by_nrpe!check_lock
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name fas01
|
||||
service_description Check certificate lock
|
||||
check_command check_by_nrpe!check_lock_file_age
|
||||
use defaulttemplate
|
||||
}
|
||||
|
8
roles/nagios_server/files/nagios/services/mail.cfg
Normal file
8
roles/nagios_server/files/nagios/services/mail.cfg
Normal file
|
@ -0,0 +1,8 @@
|
|||
#define service {
|
||||
# host_name noc01
|
||||
# service_description Mail Forwarding
|
||||
####### This ist online a Test Account. Waiting for something like deliverytest@fp.o
|
||||
# check_command check_email_delivery!ardbeg.justen.cc!test@justen.cc!nagios@fedoraproject.org!mail-test!fedora!45!120
|
||||
# use defaulttemplate
|
||||
#}
|
||||
|
7
roles/nagios_server/files/nagios/services/mail_queue.cfg
Normal file
7
roles/nagios_server/files/nagios/services/mail_queue.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define service {
|
||||
hostgroup nomail
|
||||
service_description mail_queue
|
||||
check_command check_by_nrpe!check_postfix_queue
|
||||
max_check_attempts 7
|
||||
use defaulttemplate
|
||||
}
|
448
roles/nagios_server/files/nagios/services/mgmt.cfg
Normal file
448
roles/nagios_server/files/nagios/services/mgmt.cfg
Normal file
|
@ -0,0 +1,448 @@
|
|||
# HTTP
|
||||
|
||||
define service {
|
||||
host_name backup03-mgmt
|
||||
service_description backup03-mgmt-http
|
||||
check_command check_http!backup03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bc02-mgmt
|
||||
service_description bc02-mgmt-http
|
||||
check_command check_http!bc02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost01-mgmt
|
||||
service_description bvirthost01-mgmt-http
|
||||
check_command check_http!bvirthost01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost05-mgmt
|
||||
service_description bvirthost05-mgmt-http
|
||||
check_command check_http!bvirthost05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost07-mgmt
|
||||
service_description bvirthost07-mgmt-http
|
||||
check_command check_http!bvirthost07-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download01-mgmt
|
||||
service_description download01-mgmt-http
|
||||
check_command check_http!download01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download02-mgmt
|
||||
service_description download02-mgmt-http
|
||||
check_command check_http!download02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download03-mgmt
|
||||
service_description download03-mgmt-http
|
||||
check_command check_http!download03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download04-mgmt
|
||||
service_description download04-mgmt-http
|
||||
check_command check_http!download04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download05-mgmt
|
||||
service_description download05-mgmt-http
|
||||
check_command check_http!download05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa01-mgmt
|
||||
service_description qa01-mgmt-http
|
||||
check_command check_http!qa01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa02-mgmt
|
||||
service_description qa02-mgmt-http
|
||||
check_command check_http!qa02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa03-mgmt
|
||||
service_description qa03-mgmt-http
|
||||
check_command check_http!qa03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa04-mgmt
|
||||
service_description qa04-mgmt-http
|
||||
check_command check_http!qa04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa05-mgmt
|
||||
service_description qa05-mgmt-http
|
||||
check_command check_http!qa05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa06-mgmt
|
||||
service_description qa06-mgmt-http
|
||||
check_command check_http!qa06-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa07-mgmt
|
||||
service_description qa07-mgmt-http
|
||||
check_command check_http!qa07-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa08-mgmt
|
||||
service_description qa08-mgmt-http
|
||||
check_command check_http!qa08-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name sign-vault03-mgmt
|
||||
service_description sign-vault03-mgmt-http
|
||||
check_command check_http!sign-vault03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name sign-vault04-mgmt
|
||||
service_description sign-vault04-mgmt-http
|
||||
check_command check_http!sign-vault04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name tape02-mgmt
|
||||
service_description tape02-mgmt-http
|
||||
check_command check_http!tape02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost-comm01-mgmt
|
||||
service_description virthost-comm01-mgmt-http
|
||||
check_command check_http!virthost-comm01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost-comm02-mgmt
|
||||
service_description virthost-comm02-mgmt-http
|
||||
check_command check_http!virthost-comm02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost01-mgmt
|
||||
service_description virthost01-mgmt-http
|
||||
check_command check_http!virthost01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost02-mgmt
|
||||
service_description virthost02-mgmt-http
|
||||
check_command check_http!virthost02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost03-mgmt
|
||||
service_description virthost03-mgmt-http
|
||||
check_command check_http!virthost03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost11-mgmt
|
||||
service_description virthost11-mgmt-http
|
||||
check_command check_http!virthost11-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost12-mgmt
|
||||
service_description virthost12-mgmt-http
|
||||
check_command check_http!virthost12-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost14-mgmt
|
||||
service_description virthost14-mgmt-http
|
||||
check_command check_http!virthost14-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost15-mgmt
|
||||
service_description virthost15-mgmt-http
|
||||
check_command check_http!virthost15-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
# define service {
|
||||
# host_name ibiblio02-mgmt
|
||||
# service_description ibiblio02-mgmt-http
|
||||
# check_command check_http!ibiblio02-mgmt.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
# }
|
||||
|
||||
# define service {
|
||||
# host_name ibiblio01-mgmt
|
||||
# service_description ibiblio01-mgmt-http
|
||||
# check_command check_http!ibiblio01-mgmt.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
# }
|
||||
|
||||
# HTTPS
|
||||
|
||||
define service {
|
||||
host_name backup03-mgmt
|
||||
service_description backup03-mgmt-https
|
||||
check_command check_https!backup03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bc02-mgmt
|
||||
service_description bc02-mgmt-https
|
||||
check_command check_https!bc02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost01-mgmt
|
||||
service_description bvirthost01-mgmt-https
|
||||
check_command check_https!bvirthost01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost05-mgmt
|
||||
service_description bvirthost05-mgmt-https
|
||||
check_command check_https!bvirthost05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name bvirthost07-mgmt
|
||||
service_description bvirthost07-mgmt-https
|
||||
check_command check_https!bvirthost07-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download01-mgmt
|
||||
service_description download01-mgmt-https
|
||||
check_command check_https!download01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download02-mgmt
|
||||
service_description download02-mgmt-https
|
||||
check_command check_https!download02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download03-mgmt
|
||||
service_description download03-mgmt-https
|
||||
check_command check_https!download03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download04-mgmt
|
||||
service_description download04-mgmt-https
|
||||
check_command check_https!download04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name download05-mgmt
|
||||
service_description download05-mgmt-https
|
||||
check_command check_https!download05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa01-mgmt
|
||||
service_description qa01-mgmt-https
|
||||
check_command check_https!qa01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa02-mgmt
|
||||
service_description qa02-mgmt-https
|
||||
check_command check_https!qa02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa03-mgmt
|
||||
service_description qa03-mgmt-https
|
||||
check_command check_https!qa03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa04-mgmt
|
||||
service_description qa04-mgmt-https
|
||||
check_command check_https!qa04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa05-mgmt
|
||||
service_description qa05-mgmt-https
|
||||
check_command check_https!qa05-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa06-mgmt
|
||||
service_description qa06-mgmt-https
|
||||
check_command check_https!qa06-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa07-mgmt
|
||||
service_description qa07-mgmt-https
|
||||
check_command check_https!qa07-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name qa08-mgmt
|
||||
service_description qa08-mgmt-https
|
||||
check_command check_https!qa08-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name sign-vault03-mgmt
|
||||
service_description sign-vault03-mgmt-https
|
||||
check_command check_https!sign-vault03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name sign-vault04-mgmt
|
||||
service_description sign-vault04-mgmt-https
|
||||
check_command check_https!sign-vault04-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
# tape02-mgmt has no https
|
||||
|
||||
#define service {
|
||||
# host_name tape02-mgmt
|
||||
# service_description tape02-mgmt-https
|
||||
# check_command check_https!tape02-mgmt.phx2.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
#}
|
||||
|
||||
define service {
|
||||
host_name virthost-comm01-mgmt
|
||||
service_description virthost-comm01-mgmt-https
|
||||
check_command check_https!virthost-comm01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost01-mgmt
|
||||
service_description virthost01-mgmt-https
|
||||
check_command check_https!virthost01-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost02-mgmt
|
||||
service_description virthost02-mgmt-https
|
||||
check_command check_https!virthost02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost03-mgmt
|
||||
service_description virthost03-mgmt-https
|
||||
check_command check_https!virthost03-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost11-mgmt
|
||||
service_description virthost11-mgmt-https
|
||||
check_command check_https!virthost11-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost12-mgmt
|
||||
service_description virthost12-mgmt-https
|
||||
check_command check_https!virthost12-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost14-mgmt
|
||||
service_description virthost14-mgmt-https
|
||||
check_command check_https!virthost14-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost15-mgmt
|
||||
service_description virthost15-mgmt-https
|
||||
check_command check_https!virthost12-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name virthost-comm02-mgmt
|
||||
service_description virthost-comm02-mgmt-https
|
||||
check_command check_https!virthost-comm02-mgmt.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
|
||||
# define service {
|
||||
# host_name ibiblio02-mgmt
|
||||
# service_description ibiblio02-mgmt-https
|
||||
# check_command check_https!ibiblio02-mgmt.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
# }
|
||||
|
7
roles/nagios_server/files/nagios/services/nagios.cfg
Normal file
7
roles/nagios_server/files/nagios/services/nagios.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define service {
|
||||
host_name noc02
|
||||
service_description Check Nagios
|
||||
check_command check_by_nrpe!check_nagios
|
||||
use criticaltemplate
|
||||
}
|
||||
|
8
roles/nagios_server/files/nagios/services/nrpe.cfg
Normal file
8
roles/nagios_server/files/nagios/services/nrpe.cfg
Normal file
|
@ -0,0 +1,8 @@
|
|||
define service {
|
||||
host_name hosted03, hosted04, app01, app02, app03, app04, app05, app08, backup02, bapp02, bastion02, bastion01, bastion-vpn, bodhost01, bvirthost05
|
||||
service_description nrpe
|
||||
check_command test_nrpe
|
||||
max_check_attempts 2
|
||||
normal_check_interval 2
|
||||
use defaulttemplate
|
||||
}
|
27
roles/nagios_server/files/nagios/services/pgsql.cfg
Normal file
27
roles/nagios_server/files/nagios/services/pgsql.cfg
Normal file
|
@ -0,0 +1,27 @@
|
|||
define service {
|
||||
host_name db04
|
||||
service_description Check Koji DB
|
||||
check_command check_pgsql!koji
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# host_name db04
|
||||
# service_description Check Koji DB Connections
|
||||
# check_command check_postgres_conns!150!175!koji
|
||||
# use criticaltemplate
|
||||
#}
|
||||
|
||||
define service {
|
||||
host_name db01
|
||||
service_description Check PackageDB DB
|
||||
check_command check_pgsql!pkgdb
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name db-fas01
|
||||
service_description Check FAS DB
|
||||
check_command check_pgsql!fas2
|
||||
use criticaltemplate
|
||||
}
|
13
roles/nagios_server/files/nagios/services/ping.cfg
Normal file
13
roles/nagios_server/files/nagios/services/ping.cfg
Normal file
|
@ -0,0 +1,13 @@
|
|||
define service {
|
||||
hostgroup_name all
|
||||
service_description ICMP Ping
|
||||
check_command check_ping!350.0,20%!500.0,60%
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name euservers
|
||||
service_description ICMP Ping
|
||||
check_command check_ping!350.0,20%!500.0,60%
|
||||
use criticaltemplate
|
||||
}
|
92
roles/nagios_server/files/nagios/services/procs.cfg
Normal file
92
roles/nagios_server/files/nagios/services/procs.cfg
Normal file
|
@ -0,0 +1,92 @@
|
|||
define service {
|
||||
hostgroup puppetservers
|
||||
service_description Puppetmaster
|
||||
check_command check_by_nrpe!check_puppetmaster
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup servers
|
||||
service_description Total Processes
|
||||
check_command check_by_nrpe!check_total_procs
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup servers
|
||||
service_description Zombie Processes
|
||||
check_command check_by_nrpe!check_zombie_procs
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Total Processes
|
||||
# check_command check_by_nrpe!check_total_procs
|
||||
# use defaulttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Zombie Processes
|
||||
# check_command check_by_nrpe!check_zombie_procs
|
||||
# use defaulttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
#define service {
|
||||
# hostgroup servers
|
||||
# service_description Audit Daemon
|
||||
# check_command check_by_nrpe!check_auditd
|
||||
# use defaulttemplate
|
||||
#}
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Audit Daemon
|
||||
# check_command check_by_nrpe!check_auditd
|
||||
# use defaulttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup servers
|
||||
service_description Cron Daemon
|
||||
check_command check_by_nrpe!check_cron
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Cron Daemon
|
||||
# check_command check_by_nrpe!check_cron
|
||||
# use defaulttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup proxies
|
||||
service_description Varnish Process
|
||||
check_command check_by_nrpe!check_varnish_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup unboundservers
|
||||
service_description Unbound Process
|
||||
check_command check_by_nrpe!check_unbound_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup retrace
|
||||
service_description Total Processes
|
||||
check_command check_by_nrpe!check_total_procs
|
||||
use retracetemplate
|
||||
}
|
9
roles/nagios_server/files/nagios/services/puppet.cfg
Normal file
9
roles/nagios_server/files/nagios/services/puppet.cfg
Normal file
|
@ -0,0 +1,9 @@
|
|||
define service {
|
||||
hostgroup_name servers
|
||||
service_description Puppet Run Watcher
|
||||
use passivetemplate
|
||||
max_check_attempts 1
|
||||
check_freshness 1
|
||||
freshness_threshold 7200
|
||||
}
|
||||
|
22
roles/nagios_server/files/nagios/services/raid.cfg
Normal file
22
roles/nagios_server/files/nagios/services/raid.cfg
Normal file
|
@ -0,0 +1,22 @@
|
|||
define service {
|
||||
hostgroup_name servers
|
||||
service_description Check Raid
|
||||
check_command check_by_nrpe!check_raid
|
||||
use lighttemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup_name buildservers
|
||||
# service_description Check Raid
|
||||
# check_command check_by_nrpe!check_raid
|
||||
# use lighttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup_name retrace
|
||||
service_description Check Raid
|
||||
check_command check_by_nrpe!check_raid
|
||||
use retracetemplate
|
||||
}
|
6
roles/nagios_server/files/nagios/services/smtp-mm.cfg
Normal file
6
roles/nagios_server/files/nagios/services/smtp-mm.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
define service {
|
||||
hostgroup_name smtp-mm
|
||||
service_description Check smtp servers
|
||||
check_command check_smtp
|
||||
use defaulttemplate
|
||||
}
|
29
roles/nagios_server/files/nagios/services/ssh.cfg
Normal file
29
roles/nagios_server/files/nagios/services/ssh.cfg
Normal file
|
@ -0,0 +1,29 @@
|
|||
define service {
|
||||
hostgroup_name servers
|
||||
service_description SSH
|
||||
check_command check_ssh
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup_name buildservers
|
||||
# service_description SSH
|
||||
# check_command check_ssh
|
||||
# use defaulttemplate
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup_name autoqa
|
||||
service_description SSH
|
||||
check_command check_ssh
|
||||
use autoqatemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name retrace
|
||||
service_description SSH
|
||||
check_command check_ssh
|
||||
use retracetemplate
|
||||
}
|
49
roles/nagios_server/files/nagios/services/ssl.cfg
Normal file
49
roles/nagios_server/files/nagios/services/ssl.cfg
Normal file
|
@ -0,0 +1,49 @@
|
|||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description admin.fedoraproject.org SSL Cert
|
||||
check_command check_ssl_cert!admin.fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-fpo, proxy02-fpo, proxy03-fpo, proxy04-fpo, proxy06-fpo, proxy07-fpo, proxy08-fpo, proxy09-fpo
|
||||
service_description fedoraproject.org SSL Cert
|
||||
check_command check_ssl_cert!fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description translate.fedoraproject.org SSL Cert
|
||||
check_command check_ssl_cert!translate.fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koji03
|
||||
service_description Koji SSL Cert
|
||||
check_command check_ssl_cert!koji.fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name pkgs01
|
||||
service_description Pkgs SSL Cert
|
||||
check_command check_ssl_cert!pkgs.fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name hosted-lists01
|
||||
service_description fedorahosted.org Wildcard SSL Cert
|
||||
check_command check_ssl_cert!lists.fedoraproject.org!60
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy08-wildcard
|
||||
# service_description koji.fedoraproject.org SSL Cert
|
||||
# check_command check_ssl_cert!koji.fedoraproject.org!60
|
||||
# use defaulttemplate
|
||||
#}
|
||||
|
24
roles/nagios_server/files/nagios/services/swap.cfg
Normal file
24
roles/nagios_server/files/nagios/services/swap.cfg
Normal file
|
@ -0,0 +1,24 @@
|
|||
define service {
|
||||
hostgroup servers
|
||||
service_description Swap
|
||||
check_command check_by_nrpe!check_swap
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
#define service {
|
||||
# hostgroup buildservers
|
||||
# service_description Swap
|
||||
# check_command check_by_nrpe!check_swap
|
||||
# use criticaltemplate
|
||||
# notification_period 16x7
|
||||
# contact_groups fedora-sysadmin-email
|
||||
# retry_check_interval 5
|
||||
# max_check_attempts 12
|
||||
#}
|
||||
|
||||
define service {
|
||||
hostgroup retrace
|
||||
service_description Swap
|
||||
check_command check_by_nrpe!check_swap
|
||||
use retracetemplate
|
||||
}
|
151
roles/nagios_server/files/nagios/services/templates.cfg
Normal file
151
roles/nagios_server/files/nagios/services/templates.cfg
Normal file
|
@ -0,0 +1,151 @@
|
|||
define service {
|
||||
name criticaltemplate
|
||||
max_check_attempts 4
|
||||
normal_check_interval 5
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
|
||||
define service {
|
||||
name defaulttemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 10
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name disktemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 30
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email,fedora-sysadmin-pager
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name builderdisktemplate
|
||||
max_check_attempts 12
|
||||
normal_check_interval 30
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name lighttemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 480
|
||||
retry_check_interval 5
|
||||
check_period 16x7
|
||||
notification_interval 500
|
||||
notification_period 16x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name websitetemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 5
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name internalwebsitetemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 5
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups fedora-sysadmin-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
use defaulttemplate
|
||||
name passivetemplate
|
||||
active_checks_enabled 0
|
||||
passive_checks_enabled 1
|
||||
check_command check_dummy!0
|
||||
check_period 24x7
|
||||
check_freshness 0
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name autoqatemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 10
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups sysadmin-qa-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name ppc-secondarytemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 10
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups ppc-secondary-email
|
||||
|
||||
register 0
|
||||
}
|
||||
|
||||
define service {
|
||||
name retracetemplate
|
||||
max_check_attempts 3
|
||||
normal_check_interval 10
|
||||
retry_check_interval 1
|
||||
check_period 24x7
|
||||
notification_interval 360
|
||||
notification_period 24x7
|
||||
notification_options w,u,c,r
|
||||
contact_groups retrace-email
|
||||
|
||||
register 0
|
||||
}
|
27
roles/nagios_server/files/nagios/services/unbound.cfg
Normal file
27
roles/nagios_server/files/nagios/services/unbound.cfg
Normal file
|
@ -0,0 +1,27 @@
|
|||
define service {
|
||||
hostgroup_name unboundservers
|
||||
service_description Unbound 80/tcp
|
||||
check_command check_unbound_80!www.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name unbound-tummy01
|
||||
service_description Unbound 443/tcp
|
||||
check_command check_unbound_443!8881!www.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name unbound-ib01
|
||||
service_description Unbound 443/tcp
|
||||
check_command check_unbound_443!8882!www.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name unbound-telia01
|
||||
service_description Unbound 443/tcp
|
||||
check_command check_unbound_443!8883!www.fedoraproject.org
|
||||
use defaulttemplate
|
||||
}
|
6
roles/nagios_server/files/nagios/services/vpnclients.cfg
Normal file
6
roles/nagios_server/files/nagios/services/vpnclients.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
define service {
|
||||
hostgroup_name vpnclients
|
||||
service_description Check vpnclients for working vpn connection
|
||||
check_command check_by_nrpe!check_openvpn_link
|
||||
use defaulttemplate
|
||||
}
|
238
roles/nagios_server/files/nagios/services/websites.cfg
Normal file
238
roles/nagios_server/files/nagios/services/websites.cfg
Normal file
|
@ -0,0 +1,238 @@
|
|||
define service {
|
||||
host_name proxy01-fpo, proxy02-fpo, proxy03-fpo, proxy04-fpo, proxy06-fpo, proxy07-fpo, proxy08-fpo, proxy09-fpo
|
||||
service_description fedoraproject.org
|
||||
check_command check_website!fedoraproject.org!/!People world-wide
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-fpo, proxy02-fpo, proxy03-fpo, proxy04-fpo, proxy06-fpo, proxy07-fpo, proxy08-fpo, proxy09-fpo
|
||||
service_description fedoraproject.org - wiki
|
||||
check_command check_website!fedoraproject.org!/wiki/Fedora_Project_Wiki!Fedora Marketing
|
||||
max_check_attempts 10
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-fpo, proxy02-fpo, proxy03-fpo, proxy04-fpo, proxy06-fpo, proxy07-fpo, proxy08-fpo, proxy09-fpo
|
||||
service_description fedoraproject.org - wiki - non-cached
|
||||
check_command check_website!fedoraproject.org!/wiki/Special:Version!MediaWiki is free software
|
||||
max_check_attempts 10
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description mirrors.fedoraproject.org - mirrorlist
|
||||
check_command check_website!mirrors.fedoraproject.org!/mirrorlist?repo=rawhide&arch=x86_64&country=global!development
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description pkgdb-external
|
||||
check_command check_website_ssl!admin.fedoraproject.org!/pkgdb/collections/!EPEL
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name app01,app02,app03,app04,app05,app08
|
||||
service_description pkgdb-internal
|
||||
check_command check_website!localhost!/pkgdb/collections/!EPEL
|
||||
use internalwebsitetemplate
|
||||
event_handler restart_httpd
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description start.fedoraproject.org
|
||||
check_command check_website!start.fedoraproject.org!/!The Fedora Project is maintained
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description accounts
|
||||
check_command check_website_ssl!admin.fedoraproject.org!/accounts/help/get_help/user_telephone!emergency
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name fasservers
|
||||
service_description accounts
|
||||
check_command check_website!localhost!/accounts/help/get_help/user_telephone!emergency
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name proxy01-wildcard, proxy02-wildcard, proxy03-wildcard, proxy04-wildcard, proxy06-wildcard, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard
|
||||
service_description bodhi
|
||||
check_command check_website_ssl!admin.fedoraproject.org!/updates/!Latest
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name app01,app02,app03,app04,app05,app08
|
||||
service_description bodhi-internal
|
||||
check_command check_website!localhost!/updates/!Latest
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name packages03,packages04
|
||||
service_description packages-internal
|
||||
check_command check_website!localhost!/packages/!Packages
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
event_handler restart_httpd
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name packages03,packages04
|
||||
service_description packages-internal-relationshiptab
|
||||
check_command check_website!localhost!/packages/fcomm_connector/yum/query/query_provides/%7B%22filters%22:%7B%22package%22:%22nethack%22,%22version%22:%223.4.3-26.fc17%22,%22repo%22:%22Rawhide%22,%22arch%22:%22x86_64%22%7D,%22rows_per_page%22:10,%22start_row%22:0%7D!total_rows
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name packages03,packages04
|
||||
service_description packages-internal-bugstab
|
||||
check_command check_website!localhost!/packages/fcomm_connector/bugzilla/query/query_bugs/%7B%22filters%22:%7B%22package%22:%22nethack%22,%22version%22:%22%22%7D,%22rows_per_page%22:10,%22start_row%22:0%7D!total_rows
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
# When this thing dies, you usually just need to nuke /var/cache/fedoracommunity/bugzillacookies
|
||||
#event_handler nuke_bugzillacookies_handler
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name datagrepper01,datagrepper02
|
||||
service_description datagrepper-frontpage
|
||||
check_command check_website!localhost!/datagrepper/reference/!General
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name datagrepper01,datagrepper02
|
||||
service_description datagrepper-db-query
|
||||
check_command check_website!localhost!/datagrepper/raw/?user=ralph&start=0!timestamp
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name fedoauth01,fedoauth02
|
||||
service_description fedoauth-internal
|
||||
check_command check_website!localhost!/!Federated Open Authentication
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
event_handler restart_httpd
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koji03
|
||||
service_description koji
|
||||
check_command check_website!koji.fedoraproject.org!/koji/hosts!arm04-builder
|
||||
use websitetemplate
|
||||
}
|
||||
define service {
|
||||
host_name app01,app02,app03,app04,app05,app08
|
||||
service_description freemedia-internal
|
||||
check_command check_website!localhost!/freemedia/FreeMedia-form.html!Media
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
|
||||
define service {
|
||||
host_name releng04
|
||||
service_description releng04-internal
|
||||
check_command check_website!localhost!/updates/!Site Navigation
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name relepel01
|
||||
service_description relepel01-internal
|
||||
check_command check_website!localhost!/updates/!Site Navigation
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name autoqa01
|
||||
service_description autoqa01-autotest-frontend
|
||||
check_command check_website!autoqa01.qa.fedoraproject.org!/afe/!Autotest Frontend
|
||||
use autoqatemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name autoqa-stg01
|
||||
service_description autoqa-stg01-autotest-frontend
|
||||
check_command check_website!autoqa-stg01.qa.fedoraproject.org!/afe/!Autotest Frontend
|
||||
use autoqatemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ppc-hub
|
||||
service_description ppc-koji-frontend
|
||||
check_command check_website_ppc!ppc.koji.fedoraproject.org!/koji/!Recent
|
||||
use ppc-secondarytemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name darkserver01
|
||||
service_description darkserver01-serverversion
|
||||
use websitetemplate
|
||||
check_command check_website!darkserver01.phx2.fedoraproject.org!/darkserver/serverversion!server-version
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name status-fedora2
|
||||
service_description status.fedoraproject.org status
|
||||
check_command check_website!status-fedora2.rhcloud.com!/index.html!All systems go
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name nuancier01,nuancier02
|
||||
service_description apps.fedoraproject.org/nuancier nuancier
|
||||
check_command check_website!localhost!/nuancier!Nuancier
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name badges-web01,badges-web02
|
||||
service_description badges.fedoraproject.org/ Tahrir
|
||||
check_command check_website!localhost!/!Tahrir
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name notifs-web01,notifs-web02
|
||||
service_description apps.fedoraproject.org/notifications fmn.web
|
||||
check_command check_website!localhost!/notifications!Notifications
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name pkgs01
|
||||
service_description Cgit on pkgs01
|
||||
check_command check_website!pkgs01.phx2.fedoraproject.org!/cgit/!Description
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name paste01
|
||||
service_description Pastebin webapp on paste01
|
||||
check_command check_website!paste01.phx2.fedoraproject.org!/!Archives
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name paste02
|
||||
service_description Pastebin webapp on paste02
|
||||
check_command check_website!paste02.phx2.fedoraproject.org!/!Archives
|
||||
use websitetemplate
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue