From 4ee5939b13913ecfc3322f0072c4cbacbe14033c Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Thu, 24 Apr 2014 17:53:34 +0000 Subject: [PATCH] in progress --- .../files/check_nagios_notifications.py | 104 ++ roles/nagios_server/files/config.inc.php | 20 + .../files/nagios-external/cgi.cfg | 276 +++++ .../nagios-external/contactgroups/bodhi.cfg | 5 + .../contactgroups/fedora-sysadmin-email.cfg | 5 + .../contactgroups/fedora-sysadmin-pager.cfg | 5 + .../nagios-external/contactgroups/null.cfg | 5 + .../files/nagios-external/contacts/admin.cfg | 13 + .../files/nagios-external/contacts/ausil.cfg | 16 + .../nagios-external/contacts/codeblock.cfg | 11 + .../nagios-external/contacts/hvivani.cfg | 12 + .../nagios-external/contacts/jcollie.cfg | 11 + .../nagios-external/contacts/jmtaylor.cfg | 11 + .../nagios-external/contacts/jstanley.cfg | 38 + .../files/nagios-external/contacts/kevin.cfg | 35 + .../nagios-external/contacts/lmacken.cfg | 11 + .../nagios-external/contacts/mmcgrath.cfg | 38 + .../files/nagios-external/contacts/nb.cfg | 38 + .../files/nagios-external/contacts/nigelj.cfg | 11 + .../files/nagios-external/contacts/null.cfg | 11 + .../nagios-external/contacts/puiterwijk.cfg | 12 + .../files/nagios-external/contacts/ricky.cfg | 25 + .../nagios-external/contacts/rigeld2.cfg | 11 + .../nagios-external/contacts/skvidal.cfg | 24 + .../files/nagios-external/contacts/smooge.cfg | 38 + .../files/nagios-external/hostgroups/all.cfg | 9 + .../files/nagios-external/hostgroups/dns.cfg | 9 + .../hosts/admin.fedoraproject.org.cfg | 274 +++++ .../hosts/fedorapeople.org.cfg | 21 + .../hosts/fedoraproject.org.cfg | 79 ++ .../hosts/gateway.fedoraproject.org.cfg | 7 + .../hosts/koji.fedoraproject.org.cfg | 8 + .../files/nagios-external/hosts/noc01.cfg | 7 + .../files/nagios-external/hosts/ns-sb01.cfg | 14 + .../files/nagios-external/hosts/ns02.cfg | 7 + .../files/nagios-external/hosts/ns04.cfg | 6 + .../files/nagios-external/hosts/ns05.cfg | 7 + .../nagios-external/hosts/redhat.com.cfg | 7 + .../files/nagios-external/hosts/templates.cfg | 15 + .../files/nagios-external/minimal.cfg | 361 +++++++ .../files/nagios-external/misccommands.cfg | 115 +++ .../files/nagios-external/nagios.cfg | 962 +++++++++++++++++ .../files/nagios-external/nsca.cfg | 191 ++++ .../nagios-external/private/resource.cfg | 33 + .../private/resource.cfg-sample | 34 + .../files/nagios-external/send_nsca.cfg | 63 ++ .../servicedeps/websitedeps.cfg | 81 ++ .../files/nagios-external/services/dns.cfg | 6 + .../files/nagios-external/services/nagios.cfg | 7 + .../nagios-external/services/templates.cfg | 81 ++ .../nagios-external/services/websites.cfg | 135 +++ .../files/nagios-external/timeperiods.cfg | 29 + roles/nagios_server/files/nagios/cgi.cfg | 276 +++++ .../files/nagios/contactgroups/bodhi.cfg | 5 + .../contactgroups/build-sysadmin-email.cfg | 5 + .../contactgroups/fedora-sysadmin-email.cfg | 5 + .../contactgroups/fedora-sysadmin-pager.cfg | 10 + .../contactgroups/ppc-secondary-email.cfg | 5 + .../files/nagios/contactgroups/retrace.cfg | 5 + .../contactgroups/sysadmin-qa-email.cfg | 5 + .../files/nagios/contacts/aditya.cfg | 11 + .../files/nagios/contacts/admin.cfg | 13 + .../files/nagios/contacts/ausil.cfg | 16 + .../files/nagios/contacts/codeblock.cfg | 11 + .../files/nagios/contacts/dwa.cfg | 23 + .../files/nagios/contacts/hvivani.cfg | 12 + .../files/nagios/contacts/jcollie.cfg | 11 + .../files/nagios/contacts/jmtaylor.cfg | 11 + .../files/nagios/contacts/jstanley.cfg | 37 + .../files/nagios/contacts/karsten.cfg | 11 + .../files/nagios/contacts/kevin.cfg | 47 + .../files/nagios/contacts/lmacken.cfg | 11 + .../files/nagios/contacts/mmcgrath.cfg | 38 + .../files/nagios/contacts/mtoman.cfg | 11 + .../files/nagios/contacts/nb.cfg | 38 + .../files/nagios/contacts/ppc-secondary.cfg | 10 + .../files/nagios/contacts/puiterwijk.cfg | 12 + .../files/nagios/contacts/ricky.cfg | 38 + .../files/nagios/contacts/rigeld2.cfg | 11 + .../files/nagios/contacts/skvidal.cfg | 48 + .../files/nagios/contacts/smooge.cfg | 50 + .../files/nagios/contacts/sysadmin-qa.cfg | 13 + .../files/nagios/hostgroups/all.cfg | 11 + .../files/nagios/hostgroups/autoqa.cfg | 5 + .../files/nagios/hostgroups/buildsys.cfg | 9 + .../files/nagios/hostgroups/dns.cfg | 5 + .../files/nagios/hostgroups/euservers.cfg | 10 + .../files/nagios/hostgroups/fas.cfg | 10 + .../files/nagios/hostgroups/hosted.cfg | 5 + .../files/nagios/hostgroups/kvmHosts.cfg | 9 + .../files/nagios/hostgroups/mgmt.cfg | 6 + .../files/nagios/hostgroups/nomail.cfg | 5 + .../files/nagios/hostgroups/phx2app.cfg | 10 + .../files/nagios/hostgroups/ppc-secondary.cfg | 5 + .../files/nagios/hostgroups/proxies.cfg | 9 + .../files/nagios/hostgroups/puppet.cfg | 9 + .../files/nagios/hostgroups/retrace.cfg | 5 + .../files/nagios/hostgroups/servers.cfg | 10 + .../files/nagios/hostgroups/smtp-mm.cfg | 9 + .../files/nagios/hostgroups/unbound.cfg | 9 + .../files/nagios/hostgroups/vpnclients.cfg | 9 + .../files/nagios/hostgroups/web.cfg | 9 + .../files/nagios/hosts/app01-stg.cfg | 7 + .../files/nagios/hosts/app01.cfg | 7 + .../files/nagios/hosts/app02-stg.cfg | 7 + .../files/nagios/hosts/app02.cfg | 7 + .../files/nagios/hosts/app03.cfg | 7 + .../files/nagios/hosts/app04.cfg | 7 + .../files/nagios/hosts/app05.cfg | 7 + .../files/nagios/hosts/app06.cfg | 8 + .../files/nagios/hosts/app08.cfg | 8 + .../files/nagios/hosts/arm01-builder00.cfg | 8 + .../files/nagios/hosts/arm01-builder01.cfg | 8 + .../files/nagios/hosts/arm01-builder02.cfg | 8 + .../files/nagios/hosts/arm01-builder03.cfg | 8 + .../files/nagios/hosts/arm01-builder04.cfg | 8 + .../files/nagios/hosts/arm01-builder05.cfg | 8 + .../files/nagios/hosts/arm01-builder06.cfg | 8 + .../files/nagios/hosts/arm01-builder07.cfg | 8 + .../files/nagios/hosts/arm01-builder08.cfg | 8 + .../files/nagios/hosts/arm01-builder09.cfg | 8 + .../files/nagios/hosts/arm01-builder10.cfg | 8 + .../files/nagios/hosts/arm01-builder11.cfg | 8 + .../files/nagios/hosts/arm01-builder12.cfg | 8 + .../files/nagios/hosts/arm01-builder13.cfg | 8 + .../files/nagios/hosts/arm01-builder14.cfg | 8 + .../files/nagios/hosts/arm01-builder15.cfg | 8 + .../files/nagios/hosts/arm01-builder16.cfg | 8 + .../files/nagios/hosts/arm01-builder17.cfg | 8 + .../files/nagios/hosts/arm01-builder18.cfg | 8 + .../files/nagios/hosts/arm01-builder19.cfg | 8 + .../files/nagios/hosts/arm01-builder20.cfg | 8 + .../files/nagios/hosts/arm01-builder21.cfg | 8 + .../files/nagios/hosts/arm01-builder22.cfg | 8 + .../files/nagios/hosts/arm01-builder23.cfg | 8 + .../files/nagios/hosts/arm02-builder00.cfg | 8 + .../files/nagios/hosts/arm02-builder01.cfg | 8 + .../files/nagios/hosts/arm02-builder02.cfg | 8 + .../files/nagios/hosts/arm02-builder03.cfg | 8 + .../files/nagios/hosts/arm02-builder04.cfg | 8 + .../files/nagios/hosts/arm02-builder05.cfg | 8 + .../files/nagios/hosts/arm02-builder06.cfg | 8 + .../files/nagios/hosts/arm02-builder07.cfg | 8 + .../files/nagios/hosts/arm02-builder08.cfg | 8 + .../files/nagios/hosts/arm02-builder09.cfg | 8 + .../files/nagios/hosts/arm02-builder10.cfg | 8 + .../files/nagios/hosts/arm02-builder11.cfg | 8 + .../files/nagios/hosts/arm02-builder12.cfg | 8 + .../files/nagios/hosts/arm02-builder13.cfg | 8 + .../files/nagios/hosts/arm02-builder14.cfg | 8 + .../files/nagios/hosts/arm02-builder15.cfg | 8 + .../files/nagios/hosts/arm02-builder16.cfg | 8 + .../files/nagios/hosts/arm02-builder17.cfg | 8 + .../files/nagios/hosts/arm02-builder18.cfg | 8 + .../files/nagios/hosts/arm02-builder19.cfg | 8 + .../files/nagios/hosts/arm02-builder20.cfg | 8 + .../files/nagios/hosts/arm02-builder21.cfg | 8 + .../files/nagios/hosts/arm02-builder22.cfg | 8 + .../files/nagios/hosts/arm02-builder23.cfg | 8 + .../files/nagios/hosts/ask01.cfg | 7 + .../files/nagios/hosts/ask02.cfg | 7 + .../files/nagios/hosts/autoqa-stg01.cfg | 7 + .../files/nagios/hosts/autoqa01.cfg | 7 + .../files/nagios/hosts/backup02.cfg | 7 + .../files/nagios/hosts/backup03-mgmt.cfg | 7 + .../files/nagios/hosts/backup03.cfg | 7 + .../files/nagios/hosts/badges-backend01.cfg | 7 + .../files/nagios/hosts/badges-web01.cfg | 7 + .../files/nagios/hosts/badges-web02.cfg | 7 + .../files/nagios/hosts/bapp02.cfg | 7 + .../files/nagios/hosts/bastion-comm01.cfg | 7 + .../files/nagios/hosts/bastion-vpn.cfg | 7 + .../files/nagios/hosts/bastion01.cfg | 7 + .../files/nagios/hosts/bastion02.cfg | 7 + .../files/nagios/hosts/bc01-mgmt.cfg | 7 + .../files/nagios/hosts/bc02-mgmt.cfg | 7 + .../files/nagios/hosts/blockerbugs01.cfg | 7 + .../files/nagios/hosts/blockerbugs02.cfg | 7 + .../files/nagios/hosts/bodhost01.cfg | 7 + .../files/nagios/hosts/buildvm-01.cfg | 9 + .../files/nagios/hosts/buildvm-02.cfg | 9 + .../files/nagios/hosts/buildvm-03.cfg | 9 + .../files/nagios/hosts/buildvm-04.cfg | 9 + .../files/nagios/hosts/buildvm-05.cfg | 9 + .../files/nagios/hosts/buildvm-06.cfg | 9 + .../files/nagios/hosts/buildvm-07.cfg | 9 + .../files/nagios/hosts/buildvm-08.cfg | 9 + .../files/nagios/hosts/buildvm-09.cfg | 9 + .../files/nagios/hosts/buildvm-10.cfg | 9 + .../files/nagios/hosts/buildvm-11.cfg | 9 + .../files/nagios/hosts/buildvm-12.cfg | 9 + .../files/nagios/hosts/buildvm-13.cfg | 9 + .../files/nagios/hosts/buildvm-14.cfg | 9 + .../files/nagios/hosts/buildvm-15.cfg | 9 + .../files/nagios/hosts/buildvm-16.cfg | 9 + .../files/nagios/hosts/buildvm-17.cfg | 9 + .../files/nagios/hosts/buildvm-18.cfg | 9 + .../files/nagios/hosts/buildvm-19.cfg | 9 + .../files/nagios/hosts/buildvm-20.cfg | 9 + .../files/nagios/hosts/buildvm-21.cfg | 9 + .../files/nagios/hosts/buildvm-22.cfg | 9 + .../files/nagios/hosts/buildvm-23.cfg | 9 + .../files/nagios/hosts/buildvm-24.cfg | 9 + .../files/nagios/hosts/buildvm-25.cfg | 9 + .../files/nagios/hosts/buildvm-26.cfg | 9 + .../files/nagios/hosts/buildvmhost-01.cfg | 8 + .../files/nagios/hosts/buildvmhost-02.cfg | 8 + .../files/nagios/hosts/buildvmhost-03.cfg | 8 + .../files/nagios/hosts/buildvmhost-04.cfg | 8 + .../files/nagios/hosts/buildvmhost-05.cfg | 8 + .../files/nagios/hosts/buildvmhost-06.cfg | 8 + .../files/nagios/hosts/buildvmhost-07.cfg | 8 + .../files/nagios/hosts/buildvmhost-08.cfg | 8 + .../files/nagios/hosts/buildvmhost-09.cfg | 8 + .../files/nagios/hosts/busgateway01-stg.cfg | 7 + .../files/nagios/hosts/busgateway01.cfg | 7 + .../files/nagios/hosts/bvirthost01-mgmt.cfg | 7 + .../files/nagios/hosts/bvirthost01.cfg | 7 + .../files/nagios/hosts/bvirthost02.cfg | 7 + .../files/nagios/hosts/bvirthost03.cfg | 7 + .../files/nagios/hosts/bvirthost04-mgmt.cfg | 8 + .../files/nagios/hosts/bvirthost04.cfg | 8 + .../files/nagios/hosts/bvirthost05-mgmt.cfg | 7 + .../files/nagios/hosts/bvirthost05.cfg | 7 + .../files/nagios/hosts/bvirthost07-mgmt.cfg | 7 + .../files/nagios/hosts/bvirthost07.cfg | 7 + .../files/nagios/hosts/collab03.cfg | 7 + .../files/nagios/hosts/collab04.cfg | 7 + .../files/nagios/hosts/coloamer01.cfg | 7 + .../files/nagios/hosts/darkserver01.cfg | 7 + .../files/nagios/hosts/datagrepper01.cfg | 7 + .../files/nagios/hosts/datagrepper02.cfg | 7 + .../files/nagios/hosts/db-fas01.cfg | 7 + .../nagios_server/files/nagios/hosts/db01.cfg | 7 + .../files/nagios/hosts/db02-stg.cfg | 7 + .../nagios_server/files/nagios/hosts/db04.cfg | 7 + .../nagios_server/files/nagios/hosts/db05.cfg | 7 + .../files/nagios/hosts/dhcp01.cfg | 7 + .../files/nagios/hosts/download-ib01.cfg | 7 + .../files/nagios/hosts/download-rdu01.cfg | 7 + .../files/nagios/hosts/download-rdu02.cfg | 7 + .../files/nagios/hosts/download-rdu03.cfg | 7 + .../files/nagios/hosts/download01-mgmt.cfg | 7 + .../files/nagios/hosts/download01.cfg | 7 + .../files/nagios/hosts/download02-mgmt.cfg | 7 + .../files/nagios/hosts/download02.cfg | 7 + .../files/nagios/hosts/download03-mgmt.cfg | 7 + .../files/nagios/hosts/download03.cfg | 7 + .../files/nagios/hosts/download04-mgmt.cfg | 7 + .../files/nagios/hosts/download04.cfg | 7 + .../files/nagios/hosts/download05-mgmt.cfg | 7 + .../files/nagios/hosts/download05.cfg | 7 + .../files/nagios/hosts/fakefas01.cfg | 7 + .../files/nagios/hosts/fas01-stg.cfg | 7 + .../files/nagios/hosts/fas01.cfg | 7 + .../files/nagios/hosts/fas02.cfg | 7 + .../files/nagios/hosts/fas03.cfg | 7 + .../files/nagios/hosts/fedoauth01.cfg | 7 + .../files/nagios/hosts/fedoauth02.cfg | 7 + .../files/nagios/hosts/fedocal01.cfg | 7 + .../files/nagios/hosts/fedocal02.cfg | 7 + .../files/nagios/hosts/fwsm01-gw.cfg | 7 + .../files/nagios/hosts/hosted-lists01.cfg | 7 + .../files/nagios/hosts/hosted01.cfg | 7 + .../files/nagios/hosts/hosted02.cfg | 7 + .../files/nagios/hosts/hosted03.cfg | 7 + .../files/nagios/hosts/hosted04.cfg | 7 + .../files/nagios/hosts/ibiblio-gw.cfg | 8 + .../files/nagios/hosts/ibiblio01.cfg | 7 + .../files/nagios/hosts/ibiblio02.cfg | 7 + .../files/nagios/hosts/ibiblio03.cfg | 7 + .../files/nagios/hosts/imagebuiler.cfg | 9 + .../files/nagios/hosts/internetx01.cfg | 7 + .../files/nagios/hosts/koji01-stg.cfg | 7 + .../files/nagios/hosts/koji03.cfg | 7 + .../files/nagios/hosts/koji04.cfg | 7 + .../files/nagios/hosts/kojipkgs02.cfg | 7 + .../files/nagios/hosts/lockbox01.cfg | 7 + .../files/nagios/hosts/log02.cfg | 7 + .../files/nagios/hosts/memcached03.cfg | 7 + .../files/nagios/hosts/memcached04.cfg | 7 + .../files/nagios/hosts/mirrorlist-ibiblio.cfg | 7 + .../files/nagios/hosts/mirrorlist-osuosl.cfg | 7 + .../files/nagios/hosts/mirrorlist-phx2.cfg | 7 + .../nagios/hosts/mirrorlist-serverbeach.cfg | 7 + .../files/nagios/hosts/nfs01.cfg | 7 + .../files/nagios/hosts/noc01.cfg | 7 + .../files/nagios/hosts/noc02.cfg | 7 + .../files/nagios/hosts/notifs-backend01.cfg | 7 + .../files/nagios/hosts/notifs-web01.cfg | 7 + .../files/nagios/hosts/notifs-web02.cfg | 7 + .../files/nagios/hosts/ns-sb01.cfg | 7 + .../nagios_server/files/nagios/hosts/ns02.cfg | 7 + .../nagios_server/files/nagios/hosts/ns03.cfg | 7 + .../nagios_server/files/nagios/hosts/ns04.cfg | 7 + .../nagios_server/files/nagios/hosts/ns05.cfg | 7 + .../files/nagios/hosts/nuancier01.cfg | 7 + .../files/nagios/hosts/nuancier02.cfg | 7 + .../files/nagios/hosts/openid01.cfg | 7 + .../files/nagios/hosts/openid02.cfg | 7 + .../files/nagios/hosts/osuosl01.cfg | 7 + .../files/nagios/hosts/osuosl02.cfg | 7 + .../files/nagios/hosts/packages03.cfg | 7 + .../files/nagios/hosts/packages04.cfg | 7 + .../files/nagios/hosts/paste01.cfg | 7 + .../files/nagios/hosts/paste02.cfg | 7 + .../files/nagios/hosts/people03.cfg | 7 + .../files/nagios/hosts/pkgs01-stg.cfg | 7 + .../files/nagios/hosts/pkgs01.cfg | 7 + .../files/nagios/hosts/ppc-composer.cfg | 6 + .../files/nagios/hosts/ppc-hub.cfg | 6 + .../files/nagios/hosts/proxy01-fpo.cfg | 7 + .../files/nagios/hosts/proxy01-stg.cfg | 7 + .../files/nagios/hosts/proxy01-wildcard.cfg | 7 + .../files/nagios/hosts/proxy01.cfg | 7 + .../files/nagios/hosts/proxy02-fpo.cfg | 7 + .../files/nagios/hosts/proxy02-wildcard.cfg | 7 + .../files/nagios/hosts/proxy02.cfg | 7 + .../files/nagios/hosts/proxy03-fpo.cfg | 7 + .../files/nagios/hosts/proxy03-wildcard.cfg | 7 + .../files/nagios/hosts/proxy03.cfg | 7 + .../files/nagios/hosts/proxy04-fpo.cfg | 7 + .../files/nagios/hosts/proxy04-wildcard.cfg | 7 + .../files/nagios/hosts/proxy04.cfg | 7 + .../files/nagios/hosts/proxy05-fpo.cfg | 7 + .../files/nagios/hosts/proxy05-wildcard.cfg | 7 + .../files/nagios/hosts/proxy05.cfg | 7 + .../files/nagios/hosts/proxy06-fpo.cfg | 7 + .../files/nagios/hosts/proxy06-wildcard.cfg | 7 + .../files/nagios/hosts/proxy06.cfg | 7 + .../files/nagios/hosts/proxy07-fpo.cfg | 7 + .../files/nagios/hosts/proxy07-wildcard.cfg | 7 + .../files/nagios/hosts/proxy07.cfg | 7 + .../files/nagios/hosts/proxy08-fpo.cfg | 7 + .../files/nagios/hosts/proxy08-wildcard.cfg | 7 + .../files/nagios/hosts/proxy08.cfg | 7 + .../files/nagios/hosts/proxy09-fpo.cfg | 7 + .../files/nagios/hosts/proxy09-wildcard.cfg | 7 + .../files/nagios/hosts/proxy09.cfg | 7 + .../files/nagios/hosts/qa01-mgmt.cfg | 7 + .../files/nagios/hosts/qa02-mgmt.cfg | 7 + .../files/nagios/hosts/qa03-mgmt.cfg | 7 + .../files/nagios/hosts/qa04-mgmt.cfg | 7 + .../files/nagios/hosts/qa05-mgmt.cfg | 7 + .../files/nagios/hosts/qa06-mgmt.cfg | 7 + .../files/nagios/hosts/qa07-mgmt.cfg | 7 + .../files/nagios/hosts/qa08-mgmt.cfg | 7 + .../files/nagios/hosts/releng01-stg.cfg | 7 + .../files/nagios/hosts/releng01.cfg | 8 + .../files/nagios/hosts/releng02.cfg | 7 + .../files/nagios/hosts/releng04.cfg | 7 + .../files/nagios/hosts/relepel01.cfg | 7 + .../files/nagios/hosts/retrace01.cfg | 6 + .../files/nagios/hosts/secondary01.cfg | 7 + .../files/nagios/hosts/serverbeach06.cfg | 7 + .../files/nagios/hosts/serverbeach07.cfg | 7 + .../files/nagios/hosts/serverbeach08.cfg | 7 + .../files/nagios/hosts/serverbeach09.cfg | 7 + .../files/nagios/hosts/serverbeach10.cfg | 7 + .../files/nagios/hosts/sign-vault01-mgmt.cfg | 7 + .../files/nagios/hosts/sign-vault01.cfg | 7 + .../files/nagios/hosts/sign-vault03-mgmt.cfg | 7 + .../files/nagios/hosts/sign-vault03.cfg | 7 + .../files/nagios/hosts/sign-vault04-mgmt.cfg | 7 + .../files/nagios/hosts/sign-vault04.cfg | 7 + .../files/nagios/hosts/smtp-mm-ib01.cfg | 7 + .../files/nagios/hosts/smtp-mm-telia01.cfg | 7 + .../files/nagios/hosts/smtp-mm-tummy01.cfg | 7 + .../files/nagios/hosts/smtp-mm01.cfg | 7 + .../files/nagios/hosts/smtp-mm02.cfg | 7 + .../files/nagios/hosts/smtp-mm03.cfg | 7 + .../files/nagios/hosts/status-fedora2.cfg | 7 + .../files/nagios/hosts/summershum01.cfg | 7 + .../files/nagios/hosts/tape02-mgmt.cfg | 7 + .../files/nagios/hosts/telia01.cfg | 7 + .../files/nagios/hosts/templates.cfg | 90 ++ .../files/nagios/hosts/torrent02.cfg | 7 + .../files/nagios/hosts/tummy01.cfg | 7 + .../files/nagios/hosts/unbound-ib01.cfg | 7 + .../files/nagios/hosts/unbound-telia01.cfg | 7 + .../files/nagios/hosts/unbound-tummy01.cfg | 7 + .../files/nagios/hosts/value01-stg.cfg | 7 + .../files/nagios/hosts/value03.cfg | 7 + .../nagios/hosts/virthost-comm01-mgmt.cfg | 7 + .../files/nagios/hosts/virthost-comm01.cfg | 7 + .../nagios/hosts/virthost-comm02-mgmt.cfg | 7 + .../files/nagios/hosts/virthost-comm02.cfg | 7 + .../files/nagios/hosts/virthost01-mgmt.cfg | 7 + .../files/nagios/hosts/virthost01.cfg | 7 + .../files/nagios/hosts/virthost02-mgmt.cfg | 7 + .../files/nagios/hosts/virthost02.cfg | 7 + .../files/nagios/hosts/virthost03-mgmt.cfg | 7 + .../files/nagios/hosts/virthost03.cfg | 7 + .../files/nagios/hosts/virthost04-mgmt.cfg | 8 + .../files/nagios/hosts/virthost04.cfg | 7 + .../files/nagios/hosts/virthost05-mgmt.cfg | 8 + .../files/nagios/hosts/virthost05.cfg | 8 + .../files/nagios/hosts/virthost06-mgmt.cfg | 8 + .../files/nagios/hosts/virthost06.cfg | 8 + .../files/nagios/hosts/virthost07-mgmt.cfg | 7 + .../files/nagios/hosts/virthost07.cfg | 7 + .../files/nagios/hosts/virthost08-mgmt.cfg | 8 + .../files/nagios/hosts/virthost08.cfg | 8 + .../files/nagios/hosts/virthost09-mgmt.cfg | 7 + .../files/nagios/hosts/virthost09.cfg | 7 + .../files/nagios/hosts/virthost10-mgmt.cfg | 8 + .../files/nagios/hosts/virthost10.cfg | 8 + .../files/nagios/hosts/virthost11-mgmt.cfg | 7 + .../files/nagios/hosts/virthost11.cfg | 7 + .../files/nagios/hosts/virthost12-mgmt.cfg | 7 + .../files/nagios/hosts/virthost12.cfg | 7 + .../files/nagios/hosts/virthost14-mgmt.cfg | 7 + .../files/nagios/hosts/virthost14.cfg | 7 + .../files/nagios/hosts/virthost15-mgmt.cfg | 7 + .../files/nagios/hosts/virthost15.cfg | 7 + roles/nagios_server/files/nagios/minimal.cfg | 362 +++++++ .../files/nagios/misccommands.cfg | 126 +++ roles/nagios_server/files/nagios/nagios.cfg | 972 ++++++++++++++++++ .../files/nagios/private/resource.cfg | 33 + .../files/nagios/private/resource.cfg-sample | 34 + .../nagios_server/files/nagios/send_nsca.cfg | 63 ++ .../files/nagios/servicedeps/nrpe.cfg | 144 +++ .../files/nagios/servicedeps/templates.cfg | 0 .../files/nagios/servicegroups/autoqa.cfg | 5 + .../files/nagios/servicegroups/bodhi.cfg | 7 + .../files/nagios/servicegroups/fas.cfg | 5 + .../nagios/servicegroups/fedorahosted.org.cfg | 5 + .../files/nagios/servicegroups/fp-wiki.cfg | 6 + .../files/nagios/servicegroups/freemedia.cfg | 6 + .../files/nagios/servicegroups/mgmt-http.cfg | 5 + .../files/nagios/servicegroups/mgmt-https.cfg | 5 + .../files/nagios/servicegroups/mirrorlist.cfg | 6 + .../files/nagios/servicegroups/pkgdb.cfg | 6 + .../nagios/servicegroups/ppc-secondary.cfg | 5 + .../files/nagios/servicegroups/retrace.cfg | 5 + .../files/nagios/services/db_backups.cfg | 21 + .../files/nagios/services/disk.cfg | 98 ++ .../files/nagios/services/dns.cfg | 6 + .../files/nagios/services/fedmsg.cfg | 191 ++++ .../files/nagios/services/fedora-packages.cfg | 36 + .../files/nagios/services/file_age.cfg | 16 + .../files/nagios/services/haproxy.cfg | 6 + .../files/nagios/services/hosted.cfg | 57 + .../files/nagios/services/koji.cfg | 8 + .../files/nagios/services/locking.cfg | 14 + .../files/nagios/services/mail.cfg | 8 + .../files/nagios/services/mail_queue.cfg | 7 + .../files/nagios/services/mgmt.cfg | 448 ++++++++ .../files/nagios/services/nagios.cfg | 7 + .../files/nagios/services/nrpe.cfg | 8 + .../files/nagios/services/pgsql.cfg | 27 + .../files/nagios/services/ping.cfg | 13 + .../files/nagios/services/procs.cfg | 92 ++ .../files/nagios/services/puppet.cfg | 9 + .../files/nagios/services/raid.cfg | 22 + .../files/nagios/services/smtp-mm.cfg | 6 + .../files/nagios/services/ssh.cfg | 29 + .../files/nagios/services/ssl.cfg | 49 + .../files/nagios/services/swap.cfg | 24 + .../files/nagios/services/templates.cfg | 151 +++ .../files/nagios/services/unbound.cfg | 27 + .../files/nagios/services/vpnclients.cfg | 6 + .../files/nagios/services/websites.cfg | 238 +++++ .../files/nagios/timeperiods.cfg | 41 + roles/nagios_server/files/nrpe.cfg | 296 ++++++ roles/nagios_server/files/nsca.cfg | 191 ++++ .../plugins/check_datanommer_timesince.py | 65 ++ .../nagios_server/files/plugins/check_dig_ssl | 44 + .../files/plugins/check_email_delivery_epn | 472 +++++++++ .../files/plugins/check_fcomm_queue | 23 + .../files/plugins/check_haproxy_conns.py | 76 ++ .../files/plugins/check_imap_receive_epn | 387 +++++++ roles/nagios_server/files/plugins/check_ipmi | 99 ++ roles/nagios_server/files/plugins/check_koji | 19 + roles/nagios_server/files/plugins/check_lock | 17 + .../files/plugins/check_lock_file_age | 123 +++ .../files/plugins/check_postfix_queue | 49 + .../nagios_server/files/plugins/check_raid.py | 45 + .../files/plugins/check_readonly_fs | 84 ++ .../files/plugins/check_smtp_send_epn | 290 ++++++ .../files/plugins/check_supybot_plugin | 108 ++ roles/nagios_server/files/plugins/check_tape | 17 + .../nagios_server/files/plugins/restart_httpd | 73 ++ .../files/plugins/restart_rsyslog | 73 ++ roles/nagios_server/files/plugins/xmppsend.py | 97 ++ roles/nagios_server/files/side.html | 269 +++++ roles/nagios_server/tasks/main.yml | 320 ++++++ .../nagios-external/checkcommands.cfg.erb | 258 +++++ .../templates/nagios-http.conf.erb | 60 ++ .../templates/nagios/checkcommands.cfg.erb | 312 ++++++ 490 files changed, 14041 insertions(+) create mode 100755 roles/nagios_server/files/check_nagios_notifications.py create mode 100755 roles/nagios_server/files/config.inc.php create mode 100644 roles/nagios_server/files/nagios-external/cgi.cfg create mode 100644 roles/nagios_server/files/nagios-external/contactgroups/bodhi.cfg create mode 100644 roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg create mode 100644 roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-pager.cfg create mode 100644 roles/nagios_server/files/nagios-external/contactgroups/null.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/admin.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/ausil.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/codeblock.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/hvivani.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/jcollie.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/jmtaylor.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/jstanley.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/kevin.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/lmacken.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/mmcgrath.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/nb.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/nigelj.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/null.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/ricky.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/rigeld2.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/skvidal.cfg create mode 100644 roles/nagios_server/files/nagios-external/contacts/smooge.cfg create mode 100644 roles/nagios_server/files/nagios-external/hostgroups/all.cfg create mode 100644 roles/nagios_server/files/nagios-external/hostgroups/dns.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/admin.fedoraproject.org.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/fedorapeople.org.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/fedoraproject.org.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/gateway.fedoraproject.org.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/koji.fedoraproject.org.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/noc01.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/ns-sb01.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/ns02.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/ns04.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/ns05.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/redhat.com.cfg create mode 100644 roles/nagios_server/files/nagios-external/hosts/templates.cfg create mode 100644 roles/nagios_server/files/nagios-external/minimal.cfg create mode 100644 roles/nagios_server/files/nagios-external/misccommands.cfg create mode 100644 roles/nagios_server/files/nagios-external/nagios.cfg create mode 100644 roles/nagios_server/files/nagios-external/nsca.cfg create mode 100644 roles/nagios_server/files/nagios-external/private/resource.cfg create mode 100644 roles/nagios_server/files/nagios-external/private/resource.cfg-sample create mode 100644 roles/nagios_server/files/nagios-external/send_nsca.cfg create mode 100644 roles/nagios_server/files/nagios-external/servicedeps/websitedeps.cfg create mode 100644 roles/nagios_server/files/nagios-external/services/dns.cfg create mode 100644 roles/nagios_server/files/nagios-external/services/nagios.cfg create mode 100644 roles/nagios_server/files/nagios-external/services/templates.cfg create mode 100644 roles/nagios_server/files/nagios-external/services/websites.cfg create mode 100644 roles/nagios_server/files/nagios-external/timeperiods.cfg create mode 100644 roles/nagios_server/files/nagios/cgi.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/bodhi.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/build-sysadmin-email.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-email.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/ppc-secondary-email.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/retrace.cfg create mode 100644 roles/nagios_server/files/nagios/contactgroups/sysadmin-qa-email.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/aditya.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/admin.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/ausil.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/codeblock.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/dwa.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/hvivani.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/jcollie.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/jmtaylor.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/jstanley.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/karsten.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/kevin.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/lmacken.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/mmcgrath.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/mtoman.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/nb.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/ppc-secondary.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/puiterwijk.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/ricky.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/rigeld2.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/skvidal.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/smooge.cfg create mode 100644 roles/nagios_server/files/nagios/contacts/sysadmin-qa.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/all.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/autoqa.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/buildsys.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/dns.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/euservers.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/fas.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/hosted.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/kvmHosts.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/nomail.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/phx2app.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/ppc-secondary.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/proxies.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/puppet.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/retrace.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/servers.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/smtp-mm.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/unbound.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg create mode 100644 roles/nagios_server/files/nagios/hostgroups/web.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app02-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/app08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder00.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder10.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder11.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder12.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder13.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder14.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder15.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder16.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder17.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder18.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder19.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder20.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder21.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder22.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm01-builder23.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder00.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder10.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder11.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder12.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder13.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder14.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder15.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder16.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder17.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder18.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder19.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder20.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder21.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder22.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/arm02-builder23.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ask01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ask02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/autoqa-stg01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/autoqa01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/backup02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/backup03-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/backup03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/badges-backend01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/badges-web01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/badges-web02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bapp02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bastion-comm01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bastion-vpn.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bastion01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bastion02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bc01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bc02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/blockerbugs01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/blockerbugs02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bodhost01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-10.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-11.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-12.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-13.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-14.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-15.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-16.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-17.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-18.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-19.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-20.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-21.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-22.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-23.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-24.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-25.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvm-26.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/buildvmhost-09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/busgateway01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/busgateway01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost04-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost05-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost07-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/bvirthost07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/collab03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/collab04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/coloamer01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/darkserver01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/datagrepper01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/datagrepper02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/db-fas01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/db01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/db02-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/db04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/db05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/dhcp01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download-ib01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download-rdu01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download-rdu02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download-rdu03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download03-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download04-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download05-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/download05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fakefas01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fas01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fas01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fas02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fas03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fedoauth01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fedoauth02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fedocal01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fedocal02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/fwsm01-gw.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/hosted-lists01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/hosted01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/hosted02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/hosted03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/hosted04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ibiblio-gw.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ibiblio01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ibiblio02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ibiblio03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/imagebuiler.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/internetx01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/koji01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/koji03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/koji04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/kojipkgs02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/lockbox01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/log02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/memcached03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/memcached04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/mirrorlist-ibiblio.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/mirrorlist-osuosl.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/mirrorlist-phx2.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/mirrorlist-serverbeach.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/nfs01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/noc01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/noc02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/notifs-backend01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/notifs-web01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/notifs-web02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ns-sb01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ns02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ns03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ns04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ns05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/nuancier01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/nuancier02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/openid01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/openid02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/osuosl01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/osuosl02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/packages03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/packages04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/paste01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/paste02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/people03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/pkgs01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/pkgs01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ppc-composer.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/ppc-hub.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy01-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy01-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy02-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy02-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy03-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy03-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy04-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy04-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy05-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy05-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy06-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy06-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy07-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy07-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy08-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy08-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy09-fpo.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy09-wildcard.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/proxy09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa03-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa04-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa05-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa06-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa07-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/qa08-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/releng01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/releng01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/releng02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/releng04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/relepel01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/retrace01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/secondary01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/serverbeach06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/serverbeach07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/serverbeach08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/serverbeach09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/serverbeach10.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault03-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault04-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/sign-vault04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm-ib01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm-telia01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm-tummy01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/smtp-mm03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/status-fedora2.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/summershum01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/tape02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/telia01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/templates.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/torrent02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/tummy01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/unbound-ib01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/unbound-telia01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/unbound-tummy01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/value01-stg.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/value03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost-comm01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost-comm01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost-comm02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost-comm02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost01-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost01.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost02-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost02.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost03-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost03.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost04-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost04.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost05-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost05.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost06-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost06.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost07-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost07.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost08-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost08.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost09-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost09.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost10-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost10.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost11-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost11.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost12-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost12.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost14-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost14.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost15-mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/hosts/virthost15.cfg create mode 100644 roles/nagios_server/files/nagios/minimal.cfg create mode 100644 roles/nagios_server/files/nagios/misccommands.cfg create mode 100644 roles/nagios_server/files/nagios/nagios.cfg create mode 100644 roles/nagios_server/files/nagios/private/resource.cfg create mode 100644 roles/nagios_server/files/nagios/private/resource.cfg-sample create mode 100644 roles/nagios_server/files/nagios/send_nsca.cfg create mode 100644 roles/nagios_server/files/nagios/servicedeps/nrpe.cfg create mode 100644 roles/nagios_server/files/nagios/servicedeps/templates.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/autoqa.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/bodhi.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/fas.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/fedorahosted.org.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/fp-wiki.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/freemedia.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/mgmt-http.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/mgmt-https.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/mirrorlist.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/pkgdb.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/ppc-secondary.cfg create mode 100644 roles/nagios_server/files/nagios/servicegroups/retrace.cfg create mode 100644 roles/nagios_server/files/nagios/services/db_backups.cfg create mode 100644 roles/nagios_server/files/nagios/services/disk.cfg create mode 100644 roles/nagios_server/files/nagios/services/dns.cfg create mode 100644 roles/nagios_server/files/nagios/services/fedmsg.cfg create mode 100644 roles/nagios_server/files/nagios/services/fedora-packages.cfg create mode 100644 roles/nagios_server/files/nagios/services/file_age.cfg create mode 100644 roles/nagios_server/files/nagios/services/haproxy.cfg create mode 100644 roles/nagios_server/files/nagios/services/hosted.cfg create mode 100644 roles/nagios_server/files/nagios/services/koji.cfg create mode 100644 roles/nagios_server/files/nagios/services/locking.cfg create mode 100644 roles/nagios_server/files/nagios/services/mail.cfg create mode 100644 roles/nagios_server/files/nagios/services/mail_queue.cfg create mode 100644 roles/nagios_server/files/nagios/services/mgmt.cfg create mode 100644 roles/nagios_server/files/nagios/services/nagios.cfg create mode 100644 roles/nagios_server/files/nagios/services/nrpe.cfg create mode 100644 roles/nagios_server/files/nagios/services/pgsql.cfg create mode 100644 roles/nagios_server/files/nagios/services/ping.cfg create mode 100644 roles/nagios_server/files/nagios/services/procs.cfg create mode 100644 roles/nagios_server/files/nagios/services/puppet.cfg create mode 100644 roles/nagios_server/files/nagios/services/raid.cfg create mode 100644 roles/nagios_server/files/nagios/services/smtp-mm.cfg create mode 100644 roles/nagios_server/files/nagios/services/ssh.cfg create mode 100644 roles/nagios_server/files/nagios/services/ssl.cfg create mode 100644 roles/nagios_server/files/nagios/services/swap.cfg create mode 100644 roles/nagios_server/files/nagios/services/templates.cfg create mode 100644 roles/nagios_server/files/nagios/services/unbound.cfg create mode 100644 roles/nagios_server/files/nagios/services/vpnclients.cfg create mode 100644 roles/nagios_server/files/nagios/services/websites.cfg create mode 100644 roles/nagios_server/files/nagios/timeperiods.cfg create mode 100644 roles/nagios_server/files/nrpe.cfg create mode 100644 roles/nagios_server/files/nsca.cfg create mode 100755 roles/nagios_server/files/plugins/check_datanommer_timesince.py create mode 100644 roles/nagios_server/files/plugins/check_dig_ssl create mode 100644 roles/nagios_server/files/plugins/check_email_delivery_epn create mode 100644 roles/nagios_server/files/plugins/check_fcomm_queue create mode 100755 roles/nagios_server/files/plugins/check_haproxy_conns.py create mode 100644 roles/nagios_server/files/plugins/check_imap_receive_epn create mode 100755 roles/nagios_server/files/plugins/check_ipmi create mode 100755 roles/nagios_server/files/plugins/check_koji create mode 100755 roles/nagios_server/files/plugins/check_lock create mode 100755 roles/nagios_server/files/plugins/check_lock_file_age create mode 100755 roles/nagios_server/files/plugins/check_postfix_queue create mode 100755 roles/nagios_server/files/plugins/check_raid.py create mode 100755 roles/nagios_server/files/plugins/check_readonly_fs create mode 100644 roles/nagios_server/files/plugins/check_smtp_send_epn create mode 100755 roles/nagios_server/files/plugins/check_supybot_plugin create mode 100644 roles/nagios_server/files/plugins/check_tape create mode 100755 roles/nagios_server/files/plugins/restart_httpd create mode 100755 roles/nagios_server/files/plugins/restart_rsyslog create mode 100644 roles/nagios_server/files/plugins/xmppsend.py create mode 100644 roles/nagios_server/files/side.html create mode 100644 roles/nagios_server/tasks/main.yml create mode 100644 roles/nagios_server/templates/nagios-external/checkcommands.cfg.erb create mode 100644 roles/nagios_server/templates/nagios-http.conf.erb create mode 100644 roles/nagios_server/templates/nagios/checkcommands.cfg.erb diff --git a/roles/nagios_server/files/check_nagios_notifications.py b/roles/nagios_server/files/check_nagios_notifications.py new file mode 100755 index 0000000000..7e66202018 --- /dev/null +++ b/roles/nagios_server/files/check_nagios_notifications.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python +# +# A script to read the Nagios status file and send email for notifications +# off, but have recovered. +# +# Written by Athmane Madjoudj , 2011-11-15 +# based on tummy.com's work , 2010-11-16 +# Released under the GPLv2. + +import re +from smtplib import SMTP +from email.mime.text import MIMEText +from socket import gethostname + +# Settings +debug = 0 +EMAIL_FROM="nagios@fedoraproject.org" +EMAIL_TO="sysadmin-noc-members@fedoraproject.org" +#EMAIL_TO="athmane@fedoraproject.org" +nagios_status_file = '/var/log/nagios/status.dat' + +class NagiosStatus: + def __init__(self, filename): + self.filename = filename + self.hosts = {} + self.load_status_file() + + def load_status_file(self): + fp = open(self.filename, 'r') + while True: + line = fp.readline() + if not line: break + + m = re.match(r'^hoststatus\s+{\s*$', line) + if m: + if debug >= 2: print 'START OF HOST' + data = { 'services' : [] } + while True: + line = fp.readline() + if not line: break + if debug >= 2: print 'host: %s' % line.rstrip() + m2 = re.match(r'^\s+([^=]+)=(\S.*)*$', line.rstrip()) + if not m2: break + data[m2.group(1)] = m2.group(2) + self.hosts[data['host_name']] = data + if debug >= 2: print 'END OF HOST' + + m = re.match(r'^servicestatus\s+{\s*$', line) + if m: + if debug >= 2: print 'START OF SERVICE' + data = {} + while True: + line = fp.readline() + if not line: break + if debug >= 2: print 'service: %s' % line.rstrip() + m2 = re.match(r'^\s+([^=]+)=(.*)$', line.rstrip()) + if not m2: break + data[m2.group(1)] = m2.group(2) + self.hosts[data['host_name']]['services'].append(data) + if debug >= 2: print 'END OF SERVICE' + +def main(): + status = NagiosStatus(nagios_status_file) + output = "" + for host in sorted(status.hosts.keys()): + host = status.hosts[host] + if host.get('notifications_enabled', None) == None: + output+= 'Host %s has no notifications_enabled line \n' % host['host_name'] + continue + + # are there any hard states that aren't 0 or 1? + hard_states = [ x for x in + [ int(x['last_hard_state']) for x in host['services'] ] + if not x in [0,1] ] + need_newline = False + if host['notifications_enabled'] == '0' and not hard_states: + output += ('Host %s has notifications disabled and all services ok \n' + % host['host_name']) + need_newline = True + + for service in host['services']: + if debug: print '%s@%s' % ( service['check_command'], host['host_name'] ) + if debug: print ' notifications_enabled: %(notifications_enabled)s last_hard_state: %(last_hard_state)s' % service + if (int(service['notifications_enabled']) == 0 + and int(service['last_hard_state']) in [0,1]): + output+= (('Service %(check_command)s@%(host_name)s\n' + ' has notifications disabled, but is ok\n') % service) + need_newline = True + + if need_newline: output+="\n\n" + + if output.strip() != '': + msg_body = "List of notifications off for recovered hosts/services: \n\n"+output + msg = MIMEText(msg_body) + msg['Subject']="Notifications status on %s" % gethostname() + msg['From']=EMAIL_FROM + msg['To']=EMAIL_TO + smtp_conn = SMTP() + smtp_conn.connect('localhost') + smtp_conn.sendmail(EMAIL_FROM, EMAIL_TO, msg.as_string()) + smtp_conn.quit() + +if __name__ == '__main__': + main() diff --git a/roles/nagios_server/files/config.inc.php b/roles/nagios_server/files/config.inc.php new file mode 100755 index 0000000000..2d478c9ccb --- /dev/null +++ b/roles/nagios_server/files/config.inc.php @@ -0,0 +1,20 @@ + diff --git a/roles/nagios_server/files/nagios-external/cgi.cfg b/roles/nagios_server/files/nagios-external/cgi.cfg new file mode 100644 index 0000000000..bba483b779 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/cgi.cfg @@ -0,0 +1,276 @@ +################################################################# +# +# CGI.CFG - Sample CGI Configuration File for Nagios +# +# Last Modified: 05-05-2005 +# +################################################################# + + +# MAIN CONFIGURATION FILE +# This tells the CGIs where to find your main configuration file. +# The CGIs will read the main and host config files for any other +# data they might need. + +main_config_file=/etc/nagios/nagios.cfg + + + +# PHYSICAL HTML PATH +# This is the path where the HTML files for Nagios reside. This +# value is used to locate the logo images needed by the statusmap +# and statuswrl CGIs. + +physical_html_path=/usr/share/nagios/share + + + +# URL HTML PATH +# This is the path portion of the URL that corresponds to the +# physical location of the Nagios HTML files (as defined above). +# This value is used by the CGIs to locate the online documentation +# and graphics. If you access the Nagios pages with an URL like +# http://www.myhost.com/nagios, this value should be '/nagios' +# (without the quotes). + +url_html_path=/nagios-external + + + +# CONTEXT-SENSITIVE HELP +# This option determines whether or not a context-sensitive +# help icon will be displayed for most of the CGIs. +# Values: 0 = disables context-sensitive help +# 1 = enables context-sensitive help + +show_context_help=0 + + + +# NAGIOS PROCESS CHECK COMMAND +# This is the full path and filename of the program used to check +# the status of the Nagios process. It is used only by the CGIs +# and is completely optional. However, if you don't use it, you'll +# see warning messages in the CGIs about the Nagios process +# not running and you won't be able to execute any commands from +# the web interface. The program should follow the same rules +# as plugins; the return codes are the same as for the plugins, +# it should have timeout protection, it should output something +# to STDIO, etc. +# +# Note: The command line for the check_nagios plugin below may +# have to be tweaked a bit, as different versions of the plugin +# use different command line arguments/syntaxes. + +#nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.dat 5 '/usr/sbin/nagios' + + + +# AUTHENTICATION USAGE +# This option controls whether or not the CGIs will use any +# authentication when displaying host and service information, as +# well as committing commands to Nagios for processing. +# +# Read the HTML documentation to learn how the authorization works! +# +# NOTE: It is a really *bad* idea to disable authorization, unless +# you plan on removing the command CGI (cmd.cgi)! Failure to do +# so will leave you wide open to kiddies messing with Nagios and +# possibly hitting you with a denial of service attack by filling up +# your drive by continuously writing to your command file! +# +# Setting this value to 0 will cause the CGIs to *not* use +# authentication (bad idea), while any other value will make them +# use the authentication functions (the default). + +use_authentication=1 + + + +# DEFAULT USER +# Setting this variable will define a default user name that can +# access pages without authentication. This allows people within a +# secure domain (i.e., behind a firewall) to see the current status +# without authenticating. You may want to use this to avoid basic +# authentication if you are not using a sercure server since basic +# authentication transmits passwords in the clear. +# +# Important: Do not define a default username unless you are +# running a secure web server and are sure that everyone who has +# access to the CGIs has been authenticated in some manner! If you +# define this variable, anyone who has not authenticated to the web +# server will inherit all rights you assign to this user! + +#default_user_name=guest + + + +# SYSTEM/PROCESS INFORMATION ACCESS +# This option is a comma-delimited list of all usernames that +# have access to viewing the Nagios process information as +# provided by the Extended Information CGI (extinfo.cgi). By +# default, *no one* has access to this unless you choose to +# not use authorization. You may use an asterisk (*) to +# authorize any user who has authenticated to the web server. + +#authorized_for_system_information=nagiosadmin,theboss,jdoe +authorized_for_system_information=* + + + +# CONFIGURATION INFORMATION ACCESS +# This option is a comma-delimited list of all usernames that +# can view ALL configuration information (hosts, commands, etc). +# By default, users can only view configuration information +# for the hosts and services they are contacts for. You may use +# an asterisk (*) to authorize any user who has authenticated +# to the web server. + +#authorized_for_configuration_information=nagiosadmin,jdoe +authorized_for_configuration_information=* + + +# SYSTEM/PROCESS COMMAND ACCESS +# This option is a comma-delimited list of all usernames that +# can issue shutdown and restart commands to Nagios via the +# command CGI (cmd.cgi). Users in this list can also change +# the program mode to active or standby. By default, *no one* +# has access to this unless you choose to not use authorization. +# You may use an asterisk (*) to authorize any user who has +# authenticated to the web server. + +#authorized_for_system_commands=nagiosadmin +authorized_for_system_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot + + + +# GLOBAL HOST/SERVICE VIEW ACCESS +# These two options are comma-delimited lists of all usernames that +# can view information for all hosts and services that are being +# monitored. By default, users can only view information +# for hosts or services that they are contacts for (unless you +# you choose to not use authorization). You may use an asterisk (*) +# to authorize any user who has authenticated to the web server. + + +authorized_for_all_services=* +authorized_for_all_hosts=* + + +# GLOBAL HOST/SERVICE COMMAND ACCESS +# These two options are comma-delimited lists of all usernames that +# can issue host or service related commands via the command +# CGI (cmd.cgi) for all hosts and services that are being monitored. +# By default, users can only issue commands for hosts or services +# that they are contacts for (unless you you choose to not use +# authorization). You may use an asterisk (*) to authorize any +# user who has authenticated to the web server. + +authorized_for_all_service_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot,mahrud +authorized_for_all_host_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot,mahrud + + + + +# STATUSMAP BACKGROUND IMAGE +# This option allows you to specify an image to be used as a +# background in the statusmap CGI. It is assumed that the image +# resides in the HTML images path (i.e. /usr/local/nagios/share/images). +# This path is automatically determined by appending "/images" +# to the path specified by the 'physical_html_path' directive. +# Note: The image file may be in GIF, PNG, JPEG, or GD2 format. +# However, I recommend that you convert your image to GD2 format +# (uncompressed), as this will cause less CPU load when the CGI +# generates the image. + +#statusmap_background_image=smbackground.gd2 + + + +# DEFAULT STATUSMAP LAYOUT METHOD +# This option allows you to specify the default layout method +# the statusmap CGI should use for drawing hosts. If you do +# not use this option, the default is to use user-defined +# coordinates. Valid options are as follows: +# 0 = User-defined coordinates +# 1 = Depth layers +# 2 = Collapsed tree +# 3 = Balanced tree +# 4 = Circular +# 5 = Circular (Marked Up) + +default_statusmap_layout=5 + + + +# DEFAULT STATUSWRL LAYOUT METHOD +# This option allows you to specify the default layout method +# the statuswrl (VRML) CGI should use for drawing hosts. If you +# do not use this option, the default is to use user-defined +# coordinates. Valid options are as follows: +# 0 = User-defined coordinates +# 2 = Collapsed tree +# 3 = Balanced tree +# 4 = Circular + +default_statuswrl_layout=4 + + + +# STATUSWRL INCLUDE +# This option allows you to include your own objects in the +# generated VRML world. It is assumed that the file +# resides in the HTML path (i.e. /usr/local/nagios/share). + +#statuswrl_include=myworld.wrl + + + +# PING SYNTAX +# This option determines what syntax should be used when +# attempting to ping a host from the WAP interface (using +# the statuswml CGI. You must include the full path to +# the ping binary, along with all required options. The +# $HOSTADDRESS$ macro is substituted with the address of +# the host before the command is executed. +# Please note that the syntax for the ping binary is +# notorious for being different on virtually ever *NIX +# OS and distribution, so you may have to tweak this to +# work on your system. + +ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ + + + +# REFRESH RATE +# This option allows you to specify the refresh rate in seconds +# of various CGIs (status, statusmap, extinfo, and outages). + +refresh_rate=90 + + + +# SOUND OPTIONS +# These options allow you to specify an optional audio file +# that should be played in your browser window when there are +# problems on the network. The audio files are used only in +# the status CGI. Only the sound for the most critical problem +# will be played. Order of importance (higher to lower) is as +# follows: unreachable hosts, down hosts, critical services, +# warning services, and unknown services. If there are no +# visible problems, the sound file optionally specified by +# 'normal_sound' variable will be played. +# +# +# = +# +# Note: All audio files must be placed in the /media subdirectory +# under the HTML path (i.e. /usr/local/nagios/share/media/). + +#host_unreachable_sound=hostdown.wav +#host_down_sound=hostdown.wav +#service_critical_sound=critical.wav +#service_warning_sound=warning.wav +#service_unknown_sound=warning.wav +#normal_sound=noproblem.wav +base_url=/nagios-external diff --git a/roles/nagios_server/files/nagios-external/contactgroups/bodhi.cfg b/roles/nagios_server/files/nagios-external/contactgroups/bodhi.cfg new file mode 100644 index 0000000000..d76b364ac9 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contactgroups/bodhi.cfg @@ -0,0 +1,5 @@ +define contactgroup { + contactgroup_name bodhi + alias Bodhi Notifications + members lmacken +} diff --git a/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg new file mode 100644 index 0000000000..e099113db0 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-email.cfg @@ -0,0 +1,5 @@ +define contactgroup{ + contactgroup_name fedora-sysadmin-email + alias Fedora Sysadmin Email Contacts + members mmcgrath,ausil,admin,nigelj,ricky,jcollie,jmtaylor,jstanley,smooge,nb,rigeld2,codeblock,kevin,hvivani,puiterwijkp + } diff --git a/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-pager.cfg b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-pager.cfg new file mode 100644 index 0000000000..e835e1c5cf --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contactgroups/fedora-sysadmin-pager.cfg @@ -0,0 +1,5 @@ +define contactgroup{ + contactgroup_name fedora-sysadmin-pager + alias Fedora Sysadmin Pager Contacts + members mmcgrathp,rickyp,smoogep,jstanleyp,puiterwijkp + } diff --git a/roles/nagios_server/files/nagios-external/contactgroups/null.cfg b/roles/nagios_server/files/nagios-external/contactgroups/null.cfg new file mode 100644 index 0000000000..e9c2067b77 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contactgroups/null.cfg @@ -0,0 +1,5 @@ +define contactgroup{ + contactgroup_name null + alias null + members null +} diff --git a/roles/nagios_server/files/nagios-external/contacts/admin.cfg b/roles/nagios_server/files/nagios-external/contacts/admin.cfg new file mode 100644 index 0000000000..fabbb5e3f0 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/admin.cfg @@ -0,0 +1,13 @@ +define contact{ + contact_name admin + alias Fedora Sysadmins + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email sysadmin-members@fedoraproject.org + } + + diff --git a/roles/nagios_server/files/nagios-external/contacts/ausil.cfg b/roles/nagios_server/files/nagios-external/contacts/ausil.cfg new file mode 100644 index 0000000000..a8afa7476c --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/ausil.cfg @@ -0,0 +1,16 @@ +define contact{ + contact_name ausil + alias Dennis Gilmore + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + #service_notification_commands notify-by-epager + #host_notification_commands host-notify-by-epager + #email ausil@fedoraproject.org + pager mobile@ausil.us + email mobile@ausil.us +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/codeblock.cfg b/roles/nagios_server/files/nagios-external/contacts/codeblock.cfg new file mode 100644 index 0000000000..3e6b003f7c --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/codeblock.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name codeblock + alias Ricky Elrod + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email codeblock@elrod.me +} diff --git a/roles/nagios_server/files/nagios-external/contacts/hvivani.cfg b/roles/nagios_server/files/nagios-external/contacts/hvivani.cfg new file mode 100644 index 0000000000..2686f59109 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/hvivani.cfg @@ -0,0 +1,12 @@ +define contact{ + contact_name hvivani + alias Hernan Vivani + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email hernan@vivani.com.ar +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/jcollie.cfg b/roles/nagios_server/files/nagios-external/contacts/jcollie.cfg new file mode 100644 index 0000000000..2fce9d252f --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/jcollie.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name jcollie + alias Jeffrey Ollie + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jeff@ocjtech.us +} diff --git a/roles/nagios_server/files/nagios-external/contacts/jmtaylor.cfg b/roles/nagios_server/files/nagios-external/contacts/jmtaylor.cfg new file mode 100644 index 0000000000..604a7b1da0 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/jmtaylor.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name jmtaylor + alias Jason Taylor + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jmtaylor90@gmail.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/jstanley.cfg b/roles/nagios_server/files/nagios-external/contacts/jstanley.cfg new file mode 100644 index 0000000000..f0ee3dfffc --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/jstanley.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name jstanley + alias Jon Stanley + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jonstanley@gmail.com +} + +define contact{ + contact_name jstanley-emergency + alias Jon Stanley + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 9178159801@vtext.com + pager 9178159801@vtext.com +} + +define contact{ + contact_name jstanleyp + alias Jon Stanley + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 9178159801@vtext.com + pager 9178159801@vtext.com +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/kevin.cfg b/roles/nagios_server/files/nagios-external/contacts/kevin.cfg new file mode 100644 index 0000000000..25b190e9ee --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/kevin.cfg @@ -0,0 +1,35 @@ +define contact{ + contact_name kevin + alias Kevin Fenzi + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email kevin-pager@scrye.com +} + +define contact{ + contact_name kevin-emergency + alias Kevin Fenzi + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email kevin-urgent@scrye.com +} + +define contact{ + contact_name kevinp + alias Kevin Fenzi + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email kevin-urgent@scrye.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/lmacken.cfg b/roles/nagios_server/files/nagios-external/contacts/lmacken.cfg new file mode 100644 index 0000000000..92d35ae981 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/lmacken.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name lmacken + alias Luke Macken + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email lewk@vtext.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/mmcgrath.cfg b/roles/nagios_server/files/nagios-external/contacts/mmcgrath.cfg new file mode 100644 index 0000000000..3c130d4568 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/mmcgrath.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name mmcgrath + alias Mike McGrath + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email mmcgrath@redhat.com +} + +define contact{ + contact_name mmcgrath-emergency + alias Mike McGrath + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email imlinux+mobile@gmail.com + pager imlinux+mobile@gmail.com +} + +define contact{ + contact_name mmcgrathp + alias Mike McGrath + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email imlinux+mobile@gmail.com + pager imlinux+mobile@gmail.com +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/nb.cfg b/roles/nagios_server/files/nagios-external/contacts/nb.cfg new file mode 100644 index 0000000000..02c3c2a0a9 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/nb.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name nb + alias Nick Bebout + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email nick@bebout.net +} + +define contact{ + contact_name nb-emergency + alias Nick Bebout + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email nb5@txt.att.net + pager nb5@txt.att.net +} + +define contact{ + contact_name nbp + alias Nick Bebout + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email nb5@txt.att.net + pager nb5@txt.att.net +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/nigelj.cfg b/roles/nagios_server/files/nagios-external/contacts/nigelj.cfg new file mode 100644 index 0000000000..59a4e228b6 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/nigelj.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name nigelj + alias Nigel Jones + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email dev@nigelj.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/null.cfg b/roles/nagios_server/files/nagios-external/contacts/null.cfg new file mode 100644 index 0000000000..792c5e9b5a --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/null.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name null + alias null + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email nobody@fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg b/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg new file mode 100644 index 0000000000..4772e4c4e6 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/puiterwijk.cfg @@ -0,0 +1,12 @@ +define contact{ + contact_name puiterwijkp + alias Patrick Uiterwijk + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email puiterwijk@gmail.com + pager puiterwijk@gmail.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/ricky.cfg b/roles/nagios_server/files/nagios-external/contacts/ricky.cfg new file mode 100644 index 0000000000..eacf3c836f --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/ricky.cfg @@ -0,0 +1,25 @@ +define contact{ + contact_name ricky + alias Ricky Zhou + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email,notify-by-ircbot + host_notification_commands host-notify-by-email,host-notify-by-ircbot + email ricky@rzhou.org +} + +define contact{ + contact_name rickyp + alias Ricky Zhou + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 2014030692@vtext.com + pager 2014030692@vtext.com +} + diff --git a/roles/nagios_server/files/nagios-external/contacts/rigeld2.cfg b/roles/nagios_server/files/nagios-external/contacts/rigeld2.cfg new file mode 100644 index 0000000000..7a29771974 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/rigeld2.cfg @@ -0,0 +1,11 @@ +define contact{ +contact_name rigeld2 +alias Rob Marti +service_notification_period 24x7 +host_notification_period 24x7 +service_notification_options w,u,c,r +host_notification_options d,u,r +service_notification_commands notify-by-email +host_notification_commands host-notify-by-email +email robmartiwork@gmail.com +} diff --git a/roles/nagios_server/files/nagios-external/contacts/skvidal.cfg b/roles/nagios_server/files/nagios-external/contacts/skvidal.cfg new file mode 100644 index 0000000000..2a7d65ab31 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/skvidal.cfg @@ -0,0 +1,24 @@ +#define contact{ +# contact_name skvidal +# alias Seth Vidal +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-email +# host_notification_commands host-notify-by-email +# email seth-alert@sethdot.org +#} +# +#define contact{ +# contact_name skvidalp +# alias Seth Vidal +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-epager +# host_notification_commands host-notify-by-epager +# email page-seth-vidal@sethdot.org +# pager page-seth-vidal@sethdot.org +#} diff --git a/roles/nagios_server/files/nagios-external/contacts/smooge.cfg b/roles/nagios_server/files/nagios-external/contacts/smooge.cfg new file mode 100644 index 0000000000..079502c799 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/contacts/smooge.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name smooge + alias Stephen Smoogen + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email smooge+notify@gmail.com +} + +define contact{ + contact_name smooge-emergency + alias Stephen Smoogen + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email smooge+mobile@gmail.com + pager smooge+mobile@gmail.com +} + +define contact{ + contact_name smoogep + alias Stephen Smoogen + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email smooge+mobile@gmail.com + pager smooge+mobile@gmail.com +} + diff --git a/roles/nagios_server/files/nagios-external/hostgroups/all.cfg b/roles/nagios_server/files/nagios-external/hostgroups/all.cfg new file mode 100644 index 0000000000..6bc95152cb --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hostgroups/all.cfg @@ -0,0 +1,9 @@ +############### +# All Servers and associated devices +############### + +define hostgroup { + hostgroup_name all + alias All hosts / Devices + members * +} diff --git a/roles/nagios_server/files/nagios-external/hostgroups/dns.cfg b/roles/nagios_server/files/nagios-external/hostgroups/dns.cfg new file mode 100644 index 0000000000..2570b077b5 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hostgroups/dns.cfg @@ -0,0 +1,9 @@ +############### +# DNS Servers +############### + +define hostgroup { + hostgroup_name dnsservers + alias DNS Servers + members ns-sb01, ns02, ns04, ns05 +} diff --git a/roles/nagios_server/files/nagios-external/hosts/admin.fedoraproject.org.cfg b/roles/nagios_server/files/nagios-external/hosts/admin.fedoraproject.org.cfg new file mode 100644 index 0000000000..12bd822473 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/admin.fedoraproject.org.cfg @@ -0,0 +1,274 @@ +# +# phx2 +# +define host { + host_name 209.132.181.16-phx2 + alias 209.132.181.16-phx2 + use defaulttemplate + address 209.132.181.16 + parents proxy01.fedoraproject.org +} + +define host { + host_name proxy01.fedoraproject.org + alias proxy01.fedoraproject.org + use defaulttemplate + address 209.132.181.16 +} + +# +# tummy +# + +define host { + host_name 66.35.62.166-tummy + alias 66.35.62.166-tummy + use defaulttemplate + address 66.35.62.166 + parents proxy03.fedoraproject.org +} + +define host { + host_name proxy03.fedoraproject.org + alias proxy03.fedoraproject.org + use defaulttemplate + address 66.35.62.162 + parents tummy01.fedoraproject.org +} + +define host { + host_name tummy01.fedoraproject.org + alias tummy01.fedoraproject.org + use defaulttemplate + address 66.35.62.161 +} + +# +# ibiblio +# + +define host { + host_name 152.19.134.146-ibiblio + alias 152.19.134.146-ibiblio + use defaulttemplate + address 152.19.134.146 + parents proxy04.fedoraproject.org +} + +define host { + host_name proxy04.fedoraproject.org + alias proxy04.fedoraproject.org + use defaulttemplate + address 152.19.134.142 + parents ibiblio02.fedoraproject.org +} + +define host { + host_name ibiblio02.fedoraproject.org + alias ibiblio02.fedoraproject.org + use defaulttemplate + address 152.19.134.169 +} + +# +# ibiblio ipv6 +# + +define host { + host_name admin-ipv6-ibiblio + alias 2610:28:3090:3001:dead:beef:cafe:fed4-ibiblio + use defaulttemplate + address 2610:28:3090:3001:dead:beef:cafe:fed4 + parents proxy04-ipv6-ibiblio.fedoraproject.org +} + +define host { + host_name proxy04-ipv6-ibiblio.fedoraproject.org + alias proxy04-ipv6-ibiblio.fedoraproject.org + use defaulttemplate + address 2610:28:3090:3001:dead:beef:cafe:fed3 +} + +# +# telia +# + +define host { + host_name telia01.fedoraproject.org + alias telia01.fedoraproject.org + use defaulttemplate + address 80.239.144.84 +} + +# +# internetx +# + +define host { + host_name 85.236.55.6-internetx + alias 85.236.55.6-internetx + use defaulttemplate + address 85.236.55.6 + parents proxy02.fedoraproject.org +} + +define host { + host_name proxy02.fedoraproject.org + alias proxy02.fedoraproject.org + use defaulttemplate + address 85.236.55.5 + parents internetx01.fedoraproject.org +} + +define host { + host_name internetx01.fedoraproject.org + alias internetx01.fedoraproject.org + use defaulttemplate + address 85.236.55.4 +} + +# +# internetx ipv6 +# + +define host { + host_name admin-ipv6-internetx + alias admin-ipv6-internetx + use defaulttemplate + address 2001:4178:2:1269::fed2 + parents proxy02-ipv6-internetx.fedoraproject.org +} + +define host { + host_name proxy02-ipv6-internetx.fedoraproject.org + alias proxy02-ipv6-internetx.fedoraproject.org + use defaulttemplate + address 2001:4178:2:1269::fed1 + parents internetx01-ipv6.fedoraproject.org +} + +define host { + host_name internetx01-ipv6.fedoraproject.org + alias internetx01-ipv6.fedoraproject.org + use defaulttemplate + address 2001:4178:2:1269::10 +} + +# +# osuosl +# + +define host { + host_name 140.211.169.197-osuosl + alias 140.211.169.197-osuosl + use defaulttemplate + address 140.211.169.197 + parents proxy06.fedoraproject.org +} + +define host { + host_name proxy06.fedoraproject.org + alias proxy06.fedoraproject.org + use defaulttemplate + address 140.211.169.196 + parents osuosl01.fedoraproject.org +} + +define host { + host_name osuosl01.fedoraproject.org + alias osuosl01.fedoraproject.org + use defaulttemplate + address 140.211.169.194 +} + +# +# bodhost +# + +define host { + host_name 213.175.193.206-bodhost + alias 213.175.193.206-bodhost + use defaulttemplate + address 213.175.193.206 + parents proxy07.fedoraproject.org +} + +define host { + host_name proxy07.fedoraproject.org + alias proxy07.fedoraproject.org + use defaulttemplate + address 213.175.193.205 + parents bodhost01.fedoraproject.org +} + +define host { + host_name bodhost01.fedoraproject.org + alias bodhost01.fedoraproject.org + use defaulttemplate + address 94.76.206.175 +} + +# +# coloamer +# + +define host { + host_name 67.203.2.67-coloamer + alias 67.203.2.67-coloamer + use defaulttemplate + address 67.203.2.67 + parents proxy08.fedoraproject.org +} + +define host { + host_name proxy08.fedoraproject.org + alias proxy08.fedoraproject.org + use defaulttemplate + address 67.203.2.68 + parents coloamer01.fedoraproject.org +} + +define host { + host_name coloamer01.fedoraproject.org + alias coloamer01.fedoraproject.org + use defaulttemplate + address 67.203.2.66 +} + +# +# coloamer ipv6 +# + +define host { + host_name admin-ipv6-coloamer + alias admin-ipv6-coloamer + use defaulttemplate + address 2607:f188::dead:beef:cafe:fed1 + parents proxy08-ipv6.fedoraproject.org +} + +define host { + host_name proxy08-ipv6.fedoraproject.org + alias proxy08-ipv6.fedoraproject.org + use defaulttemplate + address 2607:f188::dead:beef:cafe:fed1 +} + +# +# serverbeach +# + +define host { + host_name serverbeach06.fedoraproject.org + alias serverbeach06.fedoraproject.org + use defaulttemplate + address 66.135.60.117 +} + +define host { + host_name proxy09.fedoraproject.org + alias proxy09.fedoraproject.org + use defaulttemplate + address 66.135.62.201 + parents serverbeach06.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios-external/hosts/fedorapeople.org.cfg b/roles/nagios_server/files/nagios-external/hosts/fedorapeople.org.cfg new file mode 100644 index 0000000000..85c2320cfc --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/fedorapeople.org.cfg @@ -0,0 +1,21 @@ +define host { + host_name 152.19.134.191-people03 + alias 152.19.134.191-people03 + use defaulttemplate + address 152.19.134.191 + parents ibiblio03.fedoraproject.org +} + +define host { + host_name ibiblio03.fedoraproject.org + alias ibiblio03.fedoraproject.org + use defaulttemplate + address 152.19.134.172 +} + +define host { + host_name ipv6-people03 + alias ipv6-people03 + use defaulttemplate + address 2610:28:3090:3001:5054:ff:fedb:7f5a +} diff --git a/roles/nagios_server/files/nagios-external/hosts/fedoraproject.org.cfg b/roles/nagios_server/files/nagios-external/hosts/fedoraproject.org.cfg new file mode 100644 index 0000000000..666119fdd2 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/fedoraproject.org.cfg @@ -0,0 +1,79 @@ +define host { + host_name 85.236.55.5-internetx + alias 85.236.55.5-internetx + use defaulttemplate + address 85.236.55.5 + parents proxy02.fedoraproject.org +} + +define host { + host_name fpo-ipv6-internetx + alias fpo-ipv6-internetx + use defaulttemplate + address 2001:4178:2:1269::fed2 + parents proxy02-ipv6-internetx.fedoraproject.org +} + +define host { + host_name 66.35.62.162-tummy + alias 66.35.62.162-tummy + use defaulttemplate + address 66.35.62.162 + parents proxy03.fedoraproject.org +} + +define host { + host_name 152.19.134.142-ibiblio + alias 152.19.134.142-ibiblio + use defaulttemplate + address 152.19.134.142 + parents proxy04.fedoraproject.org +} + +define host { + host_name fpo-ipv6-ibiblio + alias fpo-ipv6-ibiblio + use defaulttemplate + address 2610:28:3090:3001:dead:beef:cafe:fed4 + parents proxy04-ipv6-ibiblio.fedoraproject.org +} + +#define host { +# host_name 140.211.169.197-osuosl +# alias 140.211.169.197-osuosl +# use defaulttemplate +# address 140.211.169.197 +# parents proxy06.fedoraproject.org +#} + +define host { + host_name 213.175.193.205-bodhost + alias 213.175.193.205-bodhost + use defaulttemplate + address 213.175.193.205 + parents proxy07.fedoraproject.org +} + +define host { + host_name 67.203.2.67-coloamerica + alias 67.203.2.67-coloamerica + use defaulttemplate + address 67.203.2.67 + parents proxy08.fedoraproject.org +} + +define host { + host_name fpo-ipv6-coloamerica + alias fpo-ipv6-coloamerica + use defaulttemplate + address 2607:f188::dead:beef:cafe:fed1 + parents proxy08-ipv6.fedoraproject.org +} + +define host { + host_name 66.135.62.201-serverbeach + alias 66.135.62.201-serverbeach + use defaulttemplate + address 66.135.62.201 + parents proxy09.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios-external/hosts/gateway.fedoraproject.org.cfg b/roles/nagios_server/files/nagios-external/hosts/gateway.fedoraproject.org.cfg new file mode 100644 index 0000000000..6232375a83 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/gateway.fedoraproject.org.cfg @@ -0,0 +1,7 @@ +define host { + host_name openvpn-phx + alias openvpn-phx + use defaulttemplate + address 192.168.0.1 +} + diff --git a/roles/nagios_server/files/nagios-external/hosts/koji.fedoraproject.org.cfg b/roles/nagios_server/files/nagios-external/hosts/koji.fedoraproject.org.cfg new file mode 100644 index 0000000000..95fa3b48e4 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/koji.fedoraproject.org.cfg @@ -0,0 +1,8 @@ +define host { + host_name koji-phx2 + alias koji-phx2 + use defaulttemplate + address 209.132.181.7 + check_command check_http + parents openvpn-phx +} diff --git a/roles/nagios_server/files/nagios-external/hosts/noc01.cfg b/roles/nagios_server/files/nagios-external/hosts/noc01.cfg new file mode 100644 index 0000000000..d4b656aeb6 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/noc01.cfg @@ -0,0 +1,7 @@ +define host { + host_name noc01 + alias noc01.vpn.fedoraproject.org + use defaulttemplate + address noc01.vpn.fedoraproject.org + parents openvpn-phx +} diff --git a/roles/nagios_server/files/nagios-external/hosts/ns-sb01.cfg b/roles/nagios_server/files/nagios-external/hosts/ns-sb01.cfg new file mode 100644 index 0000000000..510cafa050 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/ns-sb01.cfg @@ -0,0 +1,14 @@ +define host { + host_name ns-sb01 + alias ns-sb01.fedoraproject.org + use defaulttemplate + address 69.174.247.243 + parents serverbeach09.fedoraproject.org +} + +define host { + host_name serverbeach09.fedoraproject.org + alias serverbeach09.fedoraproject.org + use defaulttemplate + address 66.135.39.232 +} diff --git a/roles/nagios_server/files/nagios-external/hosts/ns02.cfg b/roles/nagios_server/files/nagios-external/hosts/ns02.cfg new file mode 100644 index 0000000000..a4ee997185 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/ns02.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns02 + alias ns02.fedoraproject.org + use defaulttemplate + address 152.19.134.139 + parents ibiblio02.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios-external/hosts/ns04.cfg b/roles/nagios_server/files/nagios-external/hosts/ns04.cfg new file mode 100644 index 0000000000..208bfb1821 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/ns04.cfg @@ -0,0 +1,6 @@ +define host { + host_name ns04 + alias ns04.fedoraproject.org + use defaulttemplate + address 209.132.181.17 +} diff --git a/roles/nagios_server/files/nagios-external/hosts/ns05.cfg b/roles/nagios_server/files/nagios-external/hosts/ns05.cfg new file mode 100644 index 0000000000..626fc8f374 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/ns05.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns05 + alias ns05.fedoraproject.org + use defaulttemplate + address 85.236.55.10 + parents internetx01.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios-external/hosts/redhat.com.cfg b/roles/nagios_server/files/nagios-external/hosts/redhat.com.cfg new file mode 100644 index 0000000000..c1edfd5c48 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/redhat.com.cfg @@ -0,0 +1,7 @@ +define host { + host_name 209.132.183.81-phx2 + alias 209.132.183.81-phx2 + use defaulttemplate + check_command true + address 209.132.183.81 +} diff --git a/roles/nagios_server/files/nagios-external/hosts/templates.cfg b/roles/nagios_server/files/nagios-external/hosts/templates.cfg new file mode 100644 index 0000000000..f1167cb8ef --- /dev/null +++ b/roles/nagios_server/files/nagios-external/hosts/templates.cfg @@ -0,0 +1,15 @@ +define host { + name defaulttemplate + check_command check-host-alive + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups fedora-sysadmin-email,fedora-sysadmin-pager + + register 0 +} diff --git a/roles/nagios_server/files/nagios-external/minimal.cfg b/roles/nagios_server/files/nagios-external/minimal.cfg new file mode 100644 index 0000000000..0b86a77226 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/minimal.cfg @@ -0,0 +1,361 @@ +############################################################################### +# MINIMAL.CFG +# +# MINIMALISTIC OBJECT CONFIG FILE (Template-Based Object File Format) +# +# Last Modified: 08-10-2005 +# +# +# NOTE: This config file is intended to be used to test a Nagios installation +# that has been compiled with support for the template-based object +# configuration files. +# +# This config file is intended to servce as an *extremely* simple +# example of how you can create your object configuration file(s). +# If you're interested in more complex object configuration files for +# Nagios, look in the sample-config/template-object/ subdirectory of +# the distribution. +# +############################################################################### + + + +############################################################################### +############################################################################### +# +# TIME PERIODS +# +############################################################################### +############################################################################### + +# This defines a timeperiod where all times are valid for checks, +# notifications, etc. The classic "24x7" support nightmare. :-) + +define timeperiod{ + timeperiod_name 24x7 + alias 24 Hours A Day, 7 Days A Week + sunday 00:00-24:00 + monday 00:00-24:00 + tuesday 00:00-24:00 + wednesday 00:00-24:00 + thursday 00:00-24:00 + friday 00:00-24:00 + saturday 00:00-24:00 + } + + + +############################################################################### +############################################################################### +# +# COMMANDS +# +############################################################################### +############################################################################### + +# This is a sample service notification command that can be used to send email +# notifications (about service alerts) to contacts. +# 'check_ssh' command definition +define command{ + command_name notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ + } + + +# This is a sample host notification command that can be used to send email +# notifications (about host alerts) to contacts. + +define command{ + command_name host-notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ + } + + +# Command to check to see if a host is "alive" (up) by pinging it + +define command{ + command_name check-host-alive + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 + } + + +# Generic command to check a device by pinging it + +define command{ + command_name check_ping + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 + } + + +# Command used to check disk space usage on local partitions + +define command{ + command_name check_local_disk + command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ + } + + +# Command used to check the number of currently logged in users on the +# local machine + +define command{ + command_name check_local_users + command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ + } + + +# Command to check the number of running processing on the local machine + +define command{ + command_name check_local_procs + command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ + } + + +# Command to check the load on the local machine + +define command{ + command_name check_local_load + command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ + } + + + +############################################################################### +############################################################################### +# +# CONTACTS +# +############################################################################### +############################################################################### + +# In this simple config file, a single contact will receive all alerts. +# This assumes that you have an account (or email alias) called +# "nagios-admin" on the local host. + +define contact{ + contact_name nagios-admin + alias Nagios Admin + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email admin@fedoraproject.org + } + + + +############################################################################### +############################################################################### +# +# CONTACT GROUPS +# +############################################################################### +############################################################################### + +# We only have one contact in this simple configuration file, so there is +# no need to create more than one contact group. + +define contactgroup{ + contactgroup_name admins + alias Nagios Administrators + members nagios-admin + } + + + +############################################################################### +############################################################################### +# +# HOSTS +# +############################################################################### +############################################################################### + +# Generic host definition template - This is NOT a real host, just a template! + +define host{ + name generic-host ; The name of this host template + notifications_enabled 1 ; Host notifications are enabled + event_handler_enabled 1 ; Host event handler is enabled + flap_detection_enabled 1 ; Flap detection is enabled + failure_prediction_enabled 1 ; Failure prediction is enabled + process_perf_data 1 ; Process performance data + retain_status_information 1 ; Retain status information across program restarts + retain_nonstatus_information 1 ; Retain non-status information across program restarts + register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! + } + + +# Since this is a simple configuration file, we only monitor one host - the +# local host (this machine). + +define host{ + use generic-host ; Name of host template to use + host_name localhost + alias localhost + address 127.0.0.1 + check_command check-host-alive + max_check_attempts 10 + notification_interval 120 + notification_period 24x7 + notification_options d,r + contact_groups admins + } + + + +############################################################################### +############################################################################### +# +# HOST GROUPS +# +############################################################################### +############################################################################### + +# We only have one host in our simple config file, so there is no need to +# create more than one hostgroup. + +define hostgroup{ + hostgroup_name test + alias Test Servers + members localhost + } + + + +############################################################################### +############################################################################### +# +# SERVICES +# +############################################################################### +############################################################################### + +# Generic service definition template - This is NOT a real service, just a template! + +define service{ + name generic-service ; The 'name' of this service template + active_checks_enabled 1 ; Active service checks are enabled + passive_checks_enabled 1 ; Passive service checks are enabled/accepted + parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) + obsess_over_service 1 ; We should obsess over this service (if necessary) + check_freshness 0 ; Default is to NOT check service 'freshness' + notifications_enabled 1 ; Service notifications are enabled + event_handler_enabled 1 ; Service event handler is enabled + flap_detection_enabled 1 ; Flap detection is enabled + failure_prediction_enabled 1 ; Failure prediction is enabled + process_perf_data 1 ; Process performance data + retain_status_information 1 ; Retain status information across program restarts + retain_nonstatus_information 1 ; Retain non-status information across program restarts + register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! + } + + +# Define a service to "ping" the local machine + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description PING + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_ping!100.0,20%!500.0,60% + } + + +# Define a service to check the disk space of the root partition +# on the local machine. Warning if < 20% free, critical if +# < 10% free space on partition. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Root Partition + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_disk!20%!10%!/ + } + + + +# Define a service to check the number of currently logged in +# users on the local machine. Warning if > 20 users, critical +# if > 50 users. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Current Users + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_users!20!50 + } + + +# Define a service to check the number of currently running procs +# on the local machine. Warning if > 250 processes, critical if +# > 400 users. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Total Processes + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_procs!250!400 + } + + + +# Define a service to check the load on the local machine. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Current Load + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 + } + + + +# EOF diff --git a/roles/nagios_server/files/nagios-external/misccommands.cfg b/roles/nagios_server/files/nagios-external/misccommands.cfg new file mode 100644 index 0000000000..83ec8e18f4 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/misccommands.cfg @@ -0,0 +1,115 @@ +################################################################################ +# Sample object config file for Nagios +# +# Read the documentation for more information on this configuration file. I've +# provided some comments here, but things may not be so clear without further +# explanation, so make sure to read the HTML documentation! +# +# Last Modified: 12-17-2005 +# +################################################################################ + + +################################################################################ +# COMMAND DEFINITIONS +# +# SYNTAX: +# +# define command{ +# template +# name +# command_name +# command_line +# } +# +# WHERE: +# +# = object name of another command definition that should be +# used as a template for this definition (optional) +# = object name of command definition, referenced by other +# command definitions that use it as a template (optional) +# = name of the command, as recognized/used by Nagios +# = command line +# +################################################################################ + + + + +################################################################################ +# +# SAMPLE NOTIFICATION COMMANDS +# +# These are some example notification commands. They may or may not work on +# your system without modification. +# +################################################################################ + + +# 'host-notify-by-email' command definition +define command{ + command_name host-notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nSource: $$(hostname)\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ + } + + +# 'host-notify-by-epager' command definition +define command{ + command_name host-notify-by-epager + command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nSource: $$(hostname -s)\nTime: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ + } + +# 'host-notify-by-ircbot' command definition +define command{ + command_name host-notify-by-ircbot + command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | nc -w 1 value03.vpn.fedoraproject.org 5050 + } + +# 'notify-by-email' command definition +define command{ + command_name notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nSource: $$(hostname)\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ + } + + +# 'notify-by-epager' command definition +define command{ + command_name notify-by-epager + command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nInfo: $SERVICEOUTPUT$\nSource: $$(hostname -s)\nDate: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ + } + +# 'notify-by-ircbot' command definition +define command{ + command_name notify-by-ircbot + command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | nc -w 1 value03.vpn.fedoraproject.org 5050 + } + + + + +################################################################################ +# +# SAMPLE PERFORMANCE DATA COMMANDS +# +# These are sample performance data commands that can be used to send performance +# data output to two text files (one for hosts, another for services). If you +# plan on simply writing performance data out to a file, consider using the +# host_perfdata_file and service_perfdata_file options in the main config file. +# +################################################################################ + + +# 'process-host-perfdata' command definition +define command{ + command_name process-host-perfdata + command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /var/log/nagios/host-perfdata.out + } + + +# 'process-service-perfdata' command definition +define command{ + command_name process-service-perfdata + command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/log/nagios/service-perfdata.out + } + + diff --git a/roles/nagios_server/files/nagios-external/nagios.cfg b/roles/nagios_server/files/nagios-external/nagios.cfg new file mode 100644 index 0000000000..6e44de2ce4 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/nagios.cfg @@ -0,0 +1,962 @@ +############################################################################## +# +# NAGIOS.CFG - Sample Main Config File for Nagios +# +# Read the documentation for more information on this configuration +# file. I've provided some comments here, but things may not be so +# clear without further explanation. +# +# Last Modified: 11-23-2005 +# +############################################################################## + + +# LOG FILE +# This is the main log file where service and host events are logged +# for historical purposes. This should be the first option specified +# in the config file!!! + +log_file=/var/log/nagios/nagios.log + + + +# OBJECT CONFIGURATION FILE(S) +# This is the configuration file in which you define hosts, host +# groups, contacts, contact groups, services, etc. I guess it would +# be better called an object definition file, but for historical +# reasons it isn't. You can split object definitions into several +# different config files by using multiple cfg_file statements here. +# Nagios will read and process all the config files you define. +# This can be very useful if you want to keep command definitions +# separate from host and contact definitions... + +# Plugin commands (service and host check commands) +# Arguments are likely to change between different releases of the +# plugins, so you should use the same config file provided with the +# plugin release rather than the one provided with Nagios. +cfg_file=/etc/nagios/checkcommands.cfg + +# Misc commands (notification and event handler commands, etc) +cfg_file=/etc/nagios/misccommands.cfg + +# You can split other types of object definitions across several +# config files if you wish (as done here), or keep them all in a +# single config file. + +#cfg_file=/etc/nagios/minimal.cfg + +#cfg_file=/etc/nagios/contactgroups.cfg +#cfg_file=/etc/nagios/contacts.cfg +#cfg_file=/etc/nagios/dependencies.cfg +#cfg_file=/etc/nagios/escalations.cfg +#cfg_file=/etc/nagios/hostgroups.cfg +#cfg_file=/etc/nagios/hosts.cfg +#cfg_file=/etc/nagios/services.cfg +cfg_file=/etc/nagios/timeperiods.cfg + +# Extended host/service info definitions are now stored along with +# other object definitions: +#cfg_file=/etc/nagios/hostextinfo.cfg +#cfg_file=/etc/nagios/serviceextinfo.cfg + +# You can also tell Nagios to process all config files (with a .cfg +# extension) in a particular directory by using the cfg_dir +# directive as shown below: +cfg_dir=/etc/nagios/hosts +cfg_dir=/etc/nagios/hostgroups +cfg_dir=/etc/nagios/services +cfg_dir=/etc/nagios/servicedeps +cfg_dir=/etc/nagios/contacts +cfg_dir=/etc/nagios/contactgroups + + +#cfg_dir=/etc/nagios/servers +#cfg_dir=/etc/nagios/printers +#cfg_dir=/etc/nagios/switches +#cfg_dir=/etc/nagios/routers + + + +# OBJECT CACHE FILE +# This option determines where object definitions are cached when +# Nagios starts/restarts. The CGIs read object definitions from +# this cache file (rather than looking at the object config files +# directly) in order to prevent inconsistencies that can occur +# when the config files are modified after Nagios starts. + +object_cache_file=/var/log/nagios/objects.cache + + + +# RESOURCE FILE +# This is an optional resource file that contains $USERx$ macro +# definitions. Multiple resource files can be specified by using +# multiple resource_file definitions. The CGIs will not attempt to +# read the contents of resource files, so information that is +# considered to be sensitive (usernames, passwords, etc) can be +# defined as macros in this file and restrictive permissions (600) +# can be placed on this file. + +resource_file=/etc/nagios/private/resource.cfg + + + +# STATUS FILE +# This is where the current status of all monitored services and +# hosts is stored. Its contents are read and processed by the CGIs. +# The contents of the status file are deleted every time Nagios +# restarts. + +status_file=/var/log/nagios/status.dat + + + +# NAGIOS USER +# This determines the effective user that Nagios should run as. +# You can either supply a username or a UID. + +nagios_user=nagios + + + +# NAGIOS GROUP +# This determines the effective group that Nagios should run as. +# You can either supply a group name or a GID. + +nagios_group=nagios + + + +# EXTERNAL COMMAND OPTION +# This option allows you to specify whether or not Nagios should check +# for external commands (in the command file defined below). By default +# Nagios will *not* check for external commands, just to be on the +# cautious side. If you want to be able to use the CGI command interface +# you will have to enable this. Setting this value to 0 disables command +# checking (the default), other values enable it. + +check_external_commands=1 + + + +# EXTERNAL COMMAND CHECK INTERVAL +# This is the interval at which Nagios should check for external commands. +# This value works of the interval_length you specify later. If you leave +# that at its default value of 60 (seconds), a value of 1 here will cause +# Nagios to check for external commands every minute. If you specify a +# number followed by an "s" (i.e. 15s), this will be interpreted to mean +# actual seconds rather than a multiple of the interval_length variable. +# Note: In addition to reading the external command file at regularly +# scheduled intervals, Nagios will also check for external commands after +# event handlers are executed. +# NOTE: Setting this value to -1 causes Nagios to check the external +# command file as often as possible. + +#command_check_interval=1 +#command_check_interval=15s +command_check_interval=15s + + + +# EXTERNAL COMMAND FILE +# This is the file that Nagios checks for external command requests. +# It is also where the command CGI will write commands that are submitted +# by users, so it must be writeable by the user that the web server +# is running as (usually 'nobody'). Permissions should be set at the +# directory level instead of on the file, as the file is deleted every +# time its contents are processed. + +command_file=/var/spool/nagios/cmd/nagios.cmd + + + +# COMMENT FILE +# This is the file that Nagios will use for storing host and service +# comments. + +comment_file=/var/log/nagios/comments.dat + + + +# DOWNTIME FILE +# This is the file that Nagios will use for storing host and service +# downtime data. + +downtime_file=/var/log/nagios/downtime.dat + + + +# LOCK FILE +# This is the lockfile that Nagios will use to store its PID number +# in when it is running in daemon mode. + +lock_file=/var/run/nagios.pid + + + +# TEMP FILE +# This is a temporary file that is used as scratch space when Nagios +# updates the status log, cleans the comment file, etc. This file +# is created, used, and deleted throughout the time that Nagios is +# running. + +temp_file=/var/log/nagios/nagios.tmp + + + +# EVENT BROKER OPTIONS +# Controls what (if any) data gets sent to the event broker. +# Values: 0 = Broker nothing +# -1 = Broker everything +# = See documentation + +event_broker_options=0 + + + +# EVENT BROKER MODULE(S) +# This directive is used to specify an event broker module that should +# by loaded by Nagios at startup. Use multiple directives if you want +# to load more than one module. Arguments that should be passed to +# the module at startup are seperated from the module path by a space. +# +# Example: +# +# broker_module= [moduleargs] + +#broker_module=/somewhere/module1.o +#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0 + + + + +# LOG ROTATION METHOD +# This is the log rotation method that Nagios should use to rotate +# the main log file. Values are as follows.. +# n = None - don't rotate the log +# h = Hourly rotation (top of the hour) +# d = Daily rotation (midnight every day) +# w = Weekly rotation (midnight on Saturday evening) +# m = Monthly rotation (midnight last day of month) + +log_rotation_method=d + + + +# LOG ARCHIVE PATH +# This is the directory where archived (rotated) log files should be +# placed (assuming you've chosen to do log rotation). + +log_archive_path=/var/log/nagios/archives + + + +# LOGGING OPTIONS +# If you want messages logged to the syslog facility, as well as the +# NetAlarm log file set this option to 1. If not, set it to 0. + +use_syslog=1 + + + +# NOTIFICATION LOGGING OPTION +# If you don't want notifications to be logged, set this value to 0. +# If notifications should be logged, set the value to 1. + +log_notifications=1 + + + +# SERVICE RETRY LOGGING OPTION +# If you don't want service check retries to be logged, set this value +# to 0. If retries should be logged, set the value to 1. + +log_service_retries=1 + + + +# HOST RETRY LOGGING OPTION +# If you don't want host check retries to be logged, set this value to +# 0. If retries should be logged, set the value to 1. + +log_host_retries=1 + + + +# EVENT HANDLER LOGGING OPTION +# If you don't want host and service event handlers to be logged, set +# this value to 0. If event handlers should be logged, set the value +# to 1. + +log_event_handlers=1 + + + +# INITIAL STATES LOGGING OPTION +# If you want Nagios to log all initial host and service states to +# the main log file (the first time the service or host is checked) +# you can enable this option by setting this value to 1. If you +# are not using an external application that does long term state +# statistics reporting, you do not need to enable this option. In +# this case, set the value to 0. + +log_initial_states=0 + + + +# EXTERNAL COMMANDS LOGGING OPTION +# If you don't want Nagios to log external commands, set this value +# to 0. If external commands should be logged, set this value to 1. +# Note: This option does not include logging of passive service +# checks - see the option below for controlling whether or not +# passive checks are logged. + +log_external_commands=1 + + + +# PASSIVE CHECKS LOGGING OPTION +# If you don't want Nagios to log passive host and service checks, set +# this value to 0. If passive checks should be logged, set +# this value to 1. + +log_passive_checks=1 + + + +# GLOBAL HOST AND SERVICE EVENT HANDLERS +# These options allow you to specify a host and service event handler +# command that is to be run for every host or service state change. +# The global event handler is executed immediately prior to the event +# handler that you have optionally specified in each host or +# service definition. The command argument is the short name of a +# command definition that you define in your host configuration file. +# Read the HTML docs for more information. + +#global_host_event_handler=somecommand +#global_service_event_handler=somecommand + + + +# SERVICE INTER-CHECK DELAY METHOD +# This is the method that Nagios should use when initially +# "spreading out" service checks when it starts monitoring. The +# default is to use smart delay calculation, which will try to +# space all service checks out evenly to minimize CPU load. +# Using the dumb setting will cause all checks to be scheduled +# at the same time (with no delay between them)! This is not a +# good thing for production, but is useful when testing the +# parallelization functionality. +# n = None - don't use any delay between checks +# d = Use a "dumb" delay of 1 second between checks +# s = Use "smart" inter-check delay calculation +# x.xx = Use an inter-check delay of x.xx seconds + +service_inter_check_delay_method=s + + + +# MAXIMUM SERVICE CHECK SPREAD +# This variable determines the timeframe (in minutes) from the +# program start time that an initial check of all services should +# be completed. Default is 30 minutes. + +max_service_check_spread=30 + + + +# SERVICE CHECK INTERLEAVE FACTOR +# This variable determines how service checks are interleaved. +# Interleaving the service checks allows for a more even +# distribution of service checks and reduced load on remote +# hosts. Setting this value to 1 is equivalent to how versions +# of Nagios previous to 0.0.5 did service checks. Set this +# value to s (smart) for automatic calculation of the interleave +# factor unless you have a specific reason to change it. +# s = Use "smart" interleave factor calculation +# x = Use an interleave factor of x, where x is a +# number greater than or equal to 1. + +service_interleave_factor=s + + + +# HOST INTER-CHECK DELAY METHOD +# This is the method that Nagios should use when initially +# "spreading out" host checks when it starts monitoring. The +# default is to use smart delay calculation, which will try to +# space all host checks out evenly to minimize CPU load. +# Using the dumb setting will cause all checks to be scheduled +# at the same time (with no delay between them)! +# n = None - don't use any delay between checks +# d = Use a "dumb" delay of 1 second between checks +# s = Use "smart" inter-check delay calculation +# x.xx = Use an inter-check delay of x.xx seconds + +host_inter_check_delay_method=s + + + +# MAXIMUM HOST CHECK SPREAD +# This variable determines the timeframe (in minutes) from the +# program start time that an initial check of all hosts should +# be completed. Default is 30 minutes. + +max_host_check_spread=30 + + + +# MAXIMUM CONCURRENT SERVICE CHECKS +# This option allows you to specify the maximum number of +# service checks that can be run in parallel at any given time. +# Specifying a value of 1 for this variable essentially prevents +# any service checks from being parallelized. A value of 0 +# will not restrict the number of concurrent checks that are +# being executed. + +max_concurrent_checks=0 + + + +# SERVICE CHECK REAPER FREQUENCY +# This is the frequency (in seconds!) that Nagios will process +# the results of services that have been checked. + +service_reaper_frequency=10 + + + + +# AUTO-RESCHEDULING OPTION +# This option determines whether or not Nagios will attempt to +# automatically reschedule active host and service checks to +# "smooth" them out over time. This can help balance the load on +# the monitoring server. +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_reschedule_checks=0 + + + +# AUTO-RESCHEDULING INTERVAL +# This option determines how often (in seconds) Nagios will +# attempt to automatically reschedule checks. This option only +# has an effect if the auto_reschedule_checks option is enabled. +# Default is 30 seconds. +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_rescheduling_interval=30 + + + + +# AUTO-RESCHEDULING WINDOW +# This option determines the "window" of time (in seconds) that +# Nagios will look at when automatically rescheduling checks. +# Only host and service checks that occur in the next X seconds +# (determined by this variable) will be rescheduled. This option +# only has an effect if the auto_reschedule_checks option is +# enabled. Default is 180 seconds (3 minutes). +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_rescheduling_window=180 + + + +# SLEEP TIME +# This is the number of seconds to sleep between checking for system +# events and service checks that need to be run. + +sleep_time=0.25 + + + +# TIMEOUT VALUES +# These options control how much time Nagios will allow various +# types of commands to execute before killing them off. Options +# are available for controlling maximum time allotted for +# service checks, host checks, event handlers, notifications, the +# ocsp command, and performance data commands. All values are in +# seconds. + +service_check_timeout=30 +host_check_timeout=30 +event_handler_timeout=30 +notification_timeout=45 +ocsp_timeout=5 +perfdata_timeout=5 + + + +# RETAIN STATE INFORMATION +# This setting determines whether or not Nagios will save state +# information for services and hosts before it shuts down. Upon +# startup Nagios will reload all saved service and host state +# information before starting to monitor. This is useful for +# maintaining long-term data on state statistics, etc, but will +# slow Nagios down a bit when it (re)starts. Since its only +# a one-time penalty, I think its well worth the additional +# startup delay. + +retain_state_information=1 + + + +# STATE RETENTION FILE +# This is the file that Nagios should use to store host and +# service state information before it shuts down. The state +# information in this file is also read immediately prior to +# starting to monitor the network when Nagios is restarted. +# This file is used only if the preserve_state_information +# variable is set to 1. + +state_retention_file=/var/log/nagios/retention.dat + + + +# RETENTION DATA UPDATE INTERVAL +# This setting determines how often (in minutes) that Nagios +# will automatically save retention data during normal operation. +# If you set this value to 0, Nagios will not save retention +# data at regular interval, but it will still save retention +# data before shutting down or restarting. If you have disabled +# state retention, this option has no effect. + +retention_update_interval=60 + + + +# USE RETAINED PROGRAM STATE +# This setting determines whether or not Nagios will set +# program status variables based on the values saved in the +# retention file. If you want to use retained program status +# information, set this value to 1. If not, set this value +# to 0. + +use_retained_program_state=1 + + + +# USE RETAINED SCHEDULING INFO +# This setting determines whether or not Nagios will retain +# the scheduling info (next check time) for hosts and services +# based on the values saved in the retention file. If you +# If you want to use retained scheduling info, set this +# value to 1. If not, set this value to 0. + +use_retained_scheduling_info=0 + + + +# INTERVAL LENGTH +# This is the seconds per unit interval as used in the +# host/contact/service configuration files. Setting this to 60 means +# that each interval is one minute long (60 seconds). Other settings +# have not been tested much, so your mileage is likely to vary... + +interval_length=60 + + + +# AGGRESSIVE HOST CHECKING OPTION +# If you don't want to turn on aggressive host checking features, set +# this value to 0 (the default). Otherwise set this value to 1 to +# enable the aggressive check option. Read the docs for more info +# on what aggressive host check is or check out the source code in +# base/checks.c + +use_aggressive_host_checking=0 + + + +# SERVICE CHECK EXECUTION OPTION +# This determines whether or not Nagios will actively execute +# service checks when it initially starts. If this option is +# disabled, checks are not actively made, but Nagios can still +# receive and process passive check results that come in. Unless +# you're implementing redundant hosts or have a special need for +# disabling the execution of service checks, leave this enabled! +# Values: 1 = enable checks, 0 = disable checks + +execute_service_checks=1 + + + +# PASSIVE SERVICE CHECK ACCEPTANCE OPTION +# This determines whether or not Nagios will accept passive +# service checks results when it initially (re)starts. +# Values: 1 = accept passive checks, 0 = reject passive checks + +accept_passive_service_checks=1 + + + +# HOST CHECK EXECUTION OPTION +# This determines whether or not Nagios will actively execute +# host checks when it initially starts. If this option is +# disabled, checks are not actively made, but Nagios can still +# receive and process passive check results that come in. Unless +# you're implementing redundant hosts or have a special need for +# disabling the execution of host checks, leave this enabled! +# Values: 1 = enable checks, 0 = disable checks + +execute_host_checks=1 + + + +# PASSIVE HOST CHECK ACCEPTANCE OPTION +# This determines whether or not Nagios will accept passive +# host checks results when it initially (re)starts. +# Values: 1 = accept passive checks, 0 = reject passive checks + +accept_passive_host_checks=1 + + + +# NOTIFICATIONS OPTION +# This determines whether or not Nagios will sent out any host or +# service notifications when it is initially (re)started. +# Values: 1 = enable notifications, 0 = disable notifications + +enable_notifications=1 + + + +# EVENT HANDLER USE OPTION +# This determines whether or not Nagios will run any host or +# service event handlers when it is initially (re)started. Unless +# you're implementing redundant hosts, leave this option enabled. +# Values: 1 = enable event handlers, 0 = disable event handlers + +enable_event_handlers=1 + + + +# PROCESS PERFORMANCE DATA OPTION +# This determines whether or not Nagios will process performance +# data returned from service and host checks. If this option is +# enabled, host performance data will be processed using the +# host_perfdata_command (defined below) and service performance +# data will be processed using the service_perfdata_command (also +# defined below). Read the HTML docs for more information on +# performance data. +# Values: 1 = process performance data, 0 = do not process performance data + +process_performance_data=0 + + + +# HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS +# These commands are run after every host and service check is +# performed. These commands are executed only if the +# enable_performance_data option (above) is set to 1. The command +# argument is the short name of a command definition that you +# define in your host configuration file. Read the HTML docs for +# more information on performance data. + +#host_perfdata_command=process-host-perfdata +#service_perfdata_command=process-service-perfdata + + + +# HOST AND SERVICE PERFORMANCE DATA FILES +# These files are used to store host and service performance data. +# Performance data is only written to these files if the +# enable_performance_data option (above) is set to 1. + +#host_perfdata_file=/tmp/host-perfdata +#service_perfdata_file=/tmp/service-perfdata + + + +# HOST AND SERVICE PERFORMANCE DATA FILE TEMPLATES +# These options determine what data is written (and how) to the +# performance data files. The templates may contain macros, special +# characters (\t for tab, \r for carriage return, \n for newline) +# and plain text. A newline is automatically added after each write +# to the performance data file. Some examples of what you can do are +# shown below. + +#host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ +#service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ + + + + +# HOST AND SERVICE PERFORMANCE DATA FILE MODES +# This option determines whether or not the host and service +# performance data files are opened in write ("w") or append ("a") +# mode. Unless you are the files are named pipes, you will probably +# want to use the default mode of append ("a"). + +#host_perfdata_file_mode=a +#service_perfdata_file_mode=a + + + +# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING INTERVAL +# These options determine how often (in seconds) the host and service +# performance data files are processed using the commands defined +# below. A value of 0 indicates the files should not be periodically +# processed. + +#host_perfdata_file_processing_interval=0 +#service_perfdata_file_processing_interval=0 + + + +# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING COMMANDS +# These commands are used to periodically process the host and +# service performance data files. The interval at which the +# processing occurs is determined by the options above. + +#host_perfdata_file_processing_command=process-host-perfdata-file +#service_perfdata_file_processing_command=process-service-perfdata-file + + + +# OBSESS OVER SERVICE CHECKS OPTION +# This determines whether or not Nagios will obsess over service +# checks and run the ocsp_command defined below. Unless you're +# planning on implementing distributed monitoring, do not enable +# this option. Read the HTML docs for more information on +# implementing distributed monitoring. +# Values: 1 = obsess over services, 0 = do not obsess (default) + +obsess_over_services=0 + + + +# OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND +# This is the command that is run for every service check that is +# processed by Nagios. This command is executed only if the +# obsess_over_service option (above) is set to 1. The command +# argument is the short name of a command definition that you +# define in your host configuration file. Read the HTML docs for +# more information on implementing distributed monitoring. + +#ocsp_command=somecommand + + + +# ORPHANED SERVICE CHECK OPTION +# This determines whether or not Nagios will periodically +# check for orphaned services. Since service checks are not +# rescheduled until the results of their previous execution +# instance are processed, there exists a possibility that some +# checks may never get rescheduled. This seems to be a rare +# problem and should not happen under normal circumstances. +# If you have problems with service checks never getting +# rescheduled, you might want to try enabling this option. +# Values: 1 = enable checks, 0 = disable checks + +check_for_orphaned_services=0 + + + +# SERVICE FRESHNESS CHECK OPTION +# This option determines whether or not Nagios will periodically +# check the "freshness" of service results. Enabling this option +# is useful for ensuring passive checks are received in a timely +# manner. +# Values: 1 = enabled freshness checking, 0 = disable freshness checking + +check_service_freshness=1 + + + +# SERVICE FRESHNESS CHECK INTERVAL +# This setting determines how often (in seconds) Nagios will +# check the "freshness" of service check results. If you have +# disabled service freshness checking, this option has no effect. + +service_freshness_check_interval=45 + + + +# HOST FRESHNESS CHECK OPTION +# This option determines whether or not Nagios will periodically +# check the "freshness" of host results. Enabling this option +# is useful for ensuring passive checks are received in a timely +# manner. +# Values: 1 = enabled freshness checking, 0 = disable freshness checking + +check_host_freshness=0 + + + +# HOST FRESHNESS CHECK INTERVAL +# This setting determines how often (in seconds) Nagios will +# check the "freshness" of host check results. If you have +# disabled host freshness checking, this option has no effect. + +host_freshness_check_interval=60 + + + +# AGGREGATED STATUS UPDATES +# This option determines whether or not Nagios will +# aggregate updates of host, service, and program status +# data. Normally, status data is updated immediately when +# a change occurs. This can result in high CPU loads if +# you are monitoring a lot of services. If you want Nagios +# to only refresh status data every few seconds, disable +# this option. +# Values: 1 = enable aggregate updates, 0 = disable aggregate updates + +aggregate_status_updates=1 + + + +# AGGREGATED STATUS UPDATE INTERVAL +# Combined with the aggregate_status_updates option, +# this option determines the frequency (in seconds!) that +# Nagios will periodically dump program, host, and +# service status data. If you are not using aggregated +# status data updates, this option has no effect. + +status_update_interval=15 + + + +# FLAP DETECTION OPTION +# This option determines whether or not Nagios will try +# and detect hosts and services that are "flapping". +# Flapping occurs when a host or service changes between +# states too frequently. When Nagios detects that a +# host or service is flapping, it will temporarily suppress +# notifications for that host/service until it stops +# flapping. Flap detection is very experimental, so read +# the HTML documentation before enabling this feature! +# Values: 1 = enable flap detection +# 0 = disable flap detection (default) + +enable_flap_detection=0 + + + +# FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES +# Read the HTML documentation on flap detection for +# an explanation of what this option does. This option +# has no effect if flap detection is disabled. + +low_service_flap_threshold=5.0 +high_service_flap_threshold=20.0 +low_host_flap_threshold=5.0 +high_host_flap_threshold=20.0 + + + +# DATE FORMAT OPTION +# This option determines how short dates are displayed. Valid options +# include: +# us (MM-DD-YYYY HH:MM:SS) +# euro (DD-MM-YYYY HH:MM:SS) +# iso8601 (YYYY-MM-DD HH:MM:SS) +# strict-iso8601 (YYYY-MM-DDTHH:MM:SS) +# + +date_format=us + + + +# P1.PL FILE LOCATION +# This value determines where the p1.pl perl script (used by the +# embedded Perl interpreter) is located. If you didn't compile +# Nagios with embedded Perl support, this option has no effect. + +p1_file=/usr/sbin/p1.pl + + + +# ILLEGAL OBJECT NAME CHARACTERS +# This option allows you to specify illegal characters that cannot +# be used in host names, service descriptions, or names of other +# object types. + +illegal_object_name_chars=`~!$%^&*|'"<>?,()= + + + +# ILLEGAL MACRO OUTPUT CHARACTERS +# This option allows you to specify illegal characters that are +# stripped from macros before being used in notifications, event +# handlers, etc. This DOES NOT affect macros used in service or +# host check commands. +# The following macros are stripped of the characters you specify: +# $HOSTOUTPUT$ +# $HOSTPERFDATA$ +# $HOSTACKAUTHOR$ +# $HOSTACKCOMMENT$ +# $SERVICEOUTPUT$ +# $SERVICEPERFDATA$ +# $SERVICEACKAUTHOR$ +# $SERVICEACKCOMMENT$ + +illegal_macro_output_chars=`~$&|'"<> + + + +# REGULAR EXPRESSION MATCHING +# This option controls whether or not regular expression matching +# takes place in the object config files. Regular expression +# matching is used to match host, hostgroup, service, and service +# group names/descriptions in some fields of various object types. +# Values: 1 = enable regexp matching, 0 = disable regexp matching + +use_regexp_matching=0 + + + +# "TRUE" REGULAR EXPRESSION MATCHING +# This option controls whether or not "true" regular expression +# matching takes place in the object config files. This option +# only has an effect if regular expression matching is enabled +# (see above). If this option is DISABLED, regular expression +# matching only occurs if a string contains wildcard characters +# (* and ?). If the option is ENABLED, regexp matching occurs +# all the time (which can be annoying). +# Values: 1 = enable true matching, 0 = disable true matching + +use_true_regexp_matching=0 + + + + +# ADMINISTRATOR EMAIL ADDRESS +# The email address of the administrator of *this* machine (the one +# doing the monitoring). Nagios never uses this value itself, but +# you can access this value by using the $ADMINEMAIL$ macro in your +# notification commands. + +admin_email=nagios + + + +# ADMINISTRATOR PAGER NUMBER/ADDRESS +# The pager number/address for the administrator of *this* machine. +# Nagios never uses this value itself, but you can access this +# value by using the $ADMINPAGER$ macro in your notification +# commands. + +admin_pager=pagenagios + + + +# DAEMON CORE DUMP OPTION +# This option determines whether or not Nagios is allowed to create +# a core dump when it runs as a daemon. Note that it is generally +# considered bad form to allow this, but it may be useful for +# debugging purposes. +# Values: 1 - Allow core dumps +# 0 - Do not allow core dumps (default) + +daemon_dumps_core=0 + + + +# EOF (End of file) + diff --git a/roles/nagios_server/files/nagios-external/nsca.cfg b/roles/nagios_server/files/nagios-external/nsca.cfg new file mode 100644 index 0000000000..352dd19a43 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/nsca.cfg @@ -0,0 +1,191 @@ +#################################################### +# Sample NSCA Daemon Config File +# Written by: Ethan Galstad (nagios@nagios.org) +# +# Last Modified: 04-03-2006 +#################################################### + + +# PID FILE +# The name of the file in which the NSCA daemon should write it's process ID +# number. The file is only written if the NSCA daemon is started by the root +# user as a single- or multi-process daemon. + +pid_file=/var/run/nsca.pid + + + +# PORT NUMBER +# Port number we should wait for connections on. +# This must be a non-priveledged port (i.e. > 1024). + +server_port=5667 + + + +# SERVER ADDRESS +# Address that NSCA has to bind to in case there are +# more as one interface and we do not want NSCA to bind +# (thus listen) on all interfaces. + +server_address=127.0.0.1 + + + +# NSCA USER +# This determines the effective user that the NSCA daemon should run as. +# You can either supply a username or a UID. +# +# NOTE: This option is ignored if NSCA is running under either inetd or xinetd + +nsca_user=nagios + + + +# NSCA GROUP +# This determines the effective group that the NSCA daemon should run as. +# You can either supply a group name or a GID. +# +# NOTE: This option is ignored if NSCA is running under either inetd or xinetd + +nsca_group=nagios + + + +# NSCA CHROOT +# If specified, determines a directory into which the nsca daemon +# will perform a chroot(2) operation before dropping its privileges. +# for the security conscious this can add a layer of protection in +# the event that the nagios daemon is compromised. +# +# NOTE: if you specify this option, the command file will be opened +# relative to this directory. + +#nsca_chroot=/var/run/nagios/rw + + + +# DEBUGGING OPTION +# This option determines whether or not debugging +# messages are logged to the syslog facility. +# Values: 0 = debugging off, 1 = debugging on + +debug=0 + + + +# COMMAND FILE +# This is the location of the Nagios command file that the daemon +# should write all service check results that it receives. + +command_file=/var/spool/nagios/cmd/nagios.cmd + + +# ALTERNATE DUMP FILE +# This is used to specify an alternate file the daemon should +# write service check results to in the event the command file +# does not exist. It is important to note that the command file +# is implemented as a named pipe and only exists when Nagios is +# running. You may want to modify the startup script for Nagios +# to dump the contents of this file into the command file after +# it starts Nagios. Or you may simply choose to ignore any +# check results received while Nagios was not running... + +alternate_dump_file=/var/spool/nagios/cmd/nsca.dump + + + +# AGGREGATED WRITES OPTION +# This option determines whether or not the nsca daemon will +# aggregate writes to the external command file for client +# connections that contain multiple check results. If you +# are queueing service check results on remote hosts and +# sending them to the nsca daemon in bulk, you will probably +# want to enable bulk writes, as this will be a bit more +# efficient. +# Values: 0 = do not aggregate writes, 1 = aggregate writes + +aggregate_writes=0 + + + +# APPEND TO FILE OPTION +# This option determines whether or not the nsca daemon will +# will open the external command file for writing or appending. +# This option should almost *always* be set to 0! +# Values: 0 = open file for writing, 1 = open file for appending + +append_to_file=0 + + + +# MAX PACKET AGE OPTION +# This option is used by the nsca daemon to determine when client +# data is too old to be valid. Keeping this value as small as +# possible is recommended, as it helps prevent the possibility of +# "replay" attacks. This value needs to be at least as long as +# the time it takes your clients to send their data to the server. +# Values are in seconds. The max packet age cannot exceed 15 +# minutes (900 seconds). If this variable is set to zero (0), no +# packets will be rejected based on their age. + +max_packet_age=30 + + + +# DECRYPTION PASSWORD +# This is the password/passphrase that should be used to descrypt the +# incoming packets. Note that all clients must encrypt the packets +# they send using the same password! +# IMPORTANT: You don't want all the users on this system to be able +# to read the password you specify here, so make sure to set +# restrictive permissions on this config file! + +password=oix9iadeeh4kaeviha4naiReGhahze + + + +# DECRYPTION METHOD +# This option determines the method by which the nsca daemon will +# decrypt the packets it receives from the clients. The decryption +# method you choose will be a balance between security and performance, +# as strong encryption methods consume more processor resources. +# You should evaluate your security needs when choosing a decryption +# method. +# +# Note: The decryption method you specify here must match the +# encryption method the nsca clients use (as specified in +# the send_nsca.cfg file)!! +# Values: +# +# 0 = None (Do NOT use this option) +# 1 = Simple XOR (No security, just obfuscation, but very fast) +# +# 2 = DES +# 3 = 3DES (Triple DES) +# 4 = CAST-128 +# 5 = CAST-256 +# 6 = xTEA +# 7 = 3WAY +# 8 = BLOWFISH +# 9 = TWOFISH +# 10 = LOKI97 +# 11 = RC2 +# 12 = ARCFOUR +# +# 14 = RIJNDAEL-128 +# 15 = RIJNDAEL-192 +# 16 = RIJNDAEL-256 +# +# 19 = WAKE +# 20 = SERPENT +# +# 22 = ENIGMA (Unix crypt) +# 23 = GOST +# 24 = SAFER64 +# 25 = SAFER128 +# 26 = SAFER+ +# + +decryption_method=1 + diff --git a/roles/nagios_server/files/nagios-external/private/resource.cfg b/roles/nagios_server/files/nagios-external/private/resource.cfg new file mode 100644 index 0000000000..386002ab46 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/private/resource.cfg @@ -0,0 +1,33 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios +# +# Last Modified: 09-10-2003 +# +# You can define $USERx$ macros in this file, which can in turn be used +# in command definitions in your host config file(s). $USERx$ macros are +# useful for storing sensitive information such as usernames, passwords, +# etc. They are also handy for specifying the path to plugins and +# event handlers - if you decide to move the plugins or event handlers to +# a different directory in the future, you can just update one or two +# $USERx$ macros, instead of modifying a lot of command definitions. +# +# The CGIs will not attempt to read the contents of resource files, so +# you can set restrictive permissions (600 or 660) on them. +# +# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) +# +# Resource files may also be used to store configuration directives for +# external data sources like MySQL... +# +########################################################################### + +# Sets $USER1$ to be the path to the plugins +$USER1$=/usr/lib/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword diff --git a/roles/nagios_server/files/nagios-external/private/resource.cfg-sample b/roles/nagios_server/files/nagios-external/private/resource.cfg-sample new file mode 100644 index 0000000000..dad0624ac3 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/private/resource.cfg-sample @@ -0,0 +1,34 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios 2.7 +# +# Last Modified: 09-10-2003 +# +# You can define $USERx$ macros in this file, which can in turn be used +# in command definitions in your host config file(s). $USERx$ macros are +# useful for storing sensitive information such as usernames, passwords, +# etc. They are also handy for specifying the path to plugins and +# event handlers - if you decide to move the plugins or event handlers to +# a different directory in the future, you can just update one or two +# $USERx$ macros, instead of modifying a lot of command definitions. +# +# The CGIs will not attempt to read the contents of resource files, so +# you can set restrictive permissions (600 or 660) on them. +# +# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) +# +# Resource files may also be used to store configuration directives for +# external data sources like MySQL... +# +########################################################################### + +# Sets $USER1$ to be the path to the plugins +$USER1$=/usr/lib/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword + diff --git a/roles/nagios_server/files/nagios-external/send_nsca.cfg b/roles/nagios_server/files/nagios-external/send_nsca.cfg new file mode 100644 index 0000000000..30966d38ca --- /dev/null +++ b/roles/nagios_server/files/nagios-external/send_nsca.cfg @@ -0,0 +1,63 @@ +#################################################### +# Sample NSCA Client Config File +# Written by: Ethan Galstad (nagios@nagios.org) +# +# Last Modified: 02-21-2002 +#################################################### + + +# ENCRYPTION PASSWORD +# This is the password/passphrase that should be used to encrypt the +# outgoing packets. Note that the nsca daemon must use the same +# password when decrypting the packet! +# IMPORTANT: You don't want all the users on this system to be able +# to read the password you specify here, so make sure to set +# restrictive permissions on this config file! + +password=oix9iadeeh4kaeviha4naiReGhahze + + + +# ENCRYPTION METHOD +# This option determines the method by which the send_nsca client will +# encrypt the packets it sends to the nsca daemon. The encryption +# method you choose will be a balance between security and performance, +# as strong encryption methods consume more processor resources. +# You should evaluate your security needs when choosing an encryption +# method. +# +# Note: The encryption method you specify here must match the +# decryption method the nsca daemon uses (as specified in +# the nsca.cfg file)!! +# Values: +# 0 = None (Do NOT use this option) +# 1 = Simple XOR (No security, just obfuscation, but very fast) +# +# 2 = DES +# 3 = 3DES (Triple DES) +# 4 = CAST-128 +# 5 = CAST-256 +# 6 = xTEA +# 7 = 3WAY +# 8 = BLOWFISH +# 9 = TWOFISH +# 10 = LOKI97 +# 11 = RC2 +# 12 = ARCFOUR +# +# 14 = RIJNDAEL-128 +# 15 = RIJNDAEL-192 +# 16 = RIJNDAEL-256 +# +# 19 = WAKE +# 20 = SERPENT +# +# 22 = ENIGMA (Unix crypt) +# 23 = GOST +# 24 = SAFER64 +# 25 = SAFER128 +# 26 = SAFER+ +# + +encryption_method=1 + diff --git a/roles/nagios_server/files/nagios-external/servicedeps/websitedeps.cfg b/roles/nagios_server/files/nagios-external/servicedeps/websitedeps.cfg new file mode 100644 index 0000000000..893316fffe --- /dev/null +++ b/roles/nagios_server/files/nagios-external/servicedeps/websitedeps.cfg @@ -0,0 +1,81 @@ + +define servicedependency { + host_name 66.35.62.166-tummy + service_description https + dependent_host_name 66.35.62.166-tummy + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 209.132.181.16-phx2 + service_description https + dependent_host_name 209.132.181.16-phx2 + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 152.19.134.146-ibiblio + service_description https + dependent_host_name 152.19.134.146-ibiblio + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 85.236.55.6-internetx + service_description https + dependent_host_name 85.236.55.6-internetx + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 67.203.2.67-coloamerica + service_description https + dependent_host_name 67.203.2.67-coloamerica + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 66.135.62.201-serverbeach + service_description https + dependent_host_name 66.135.62.201-serverbeach + dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 66.35.62.162-tummy + service_description https + dependent_host_name 66.35.62.162-tummy + dependent_service_description fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 152.19.134.142-ibiblio + service_description https + dependent_host_name 152.19.134.142-ibiblio + dependent_service_description fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name 85.236.55.5-internetx + service_description https + dependent_host_name 85.236.55.5-internetx + dependent_service_description fedoraproject.org, fedoraproject.org - wiki + notification_failure_criteria w,c + execution_failure_criteria w,c +} diff --git a/roles/nagios_server/files/nagios-external/services/dns.cfg b/roles/nagios_server/files/nagios-external/services/dns.cfg new file mode 100644 index 0000000000..0f1eb14b8d --- /dev/null +++ b/roles/nagios_server/files/nagios-external/services/dns.cfg @@ -0,0 +1,6 @@ +define service { + hostgroup_name dnsservers + service_description DNS: fp.o + check_command check_dns_fpo + use criticaltemplate +} diff --git a/roles/nagios_server/files/nagios-external/services/nagios.cfg b/roles/nagios_server/files/nagios-external/services/nagios.cfg new file mode 100644 index 0000000000..bd36b2f396 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/services/nagios.cfg @@ -0,0 +1,7 @@ +define service { + host_name noc1 + service_description Check Nagios + check_command check_by_nrpe!check_nagios + use criticaltemplate +} + diff --git a/roles/nagios_server/files/nagios-external/services/templates.cfg b/roles/nagios_server/files/nagios-external/services/templates.cfg new file mode 100644 index 0000000000..1535cf6186 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/services/templates.cfg @@ -0,0 +1,81 @@ +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-pager + + 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 lighttemplate + max_check_attempts 3 + normal_check_interval 480 + retry_check_interval 5 + check_period 24x7 + notification_interval 500 + notification_period 24x7 + 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-pager + + 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 +} diff --git a/roles/nagios_server/files/nagios-external/services/websites.cfg b/roles/nagios_server/files/nagios-external/services/websites.cfg new file mode 100644 index 0000000000..65909b78f8 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/services/websites.cfg @@ -0,0 +1,135 @@ +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 85.236.55.5-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description https + max_check_attempts 2 + normal_check_interval 2 + check_command check_https + use websitetemplate +} + + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description bodhi + max_check_attempts 8 + check_command check_website_ssl!admin.fedoraproject.org!/updates/!Latest + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description pkgdb + check_command check_website_ssl!admin.fedoraproject.org!/pkgdb/collections/!EPEL + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description packages + max_check_attempts 8 + check_command check_website_ssl!apps.fedoraproject.org!/packages/!Packages + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description elections + check_command check_website_ssl!admin.fedoraproject.org!/voting/!Last 5 elections + use websitetemplate +} + +define service { + host_name koji-phx2 + service_description koji + check_command check_website!koji.fedoraproject.org!/koji/buildtargets!rawhide + use websitetemplate +} + +define service { + host_name 66.35.62.162-tummy, 209.132.181.16-phx2, 152.19.134.142-ibiblio, 85.236.55.5-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description fedoraproject.org + check_command check_website!fedoraproject.org!/!People world-wide + use websitetemplate +} + +define service { + host_name 66.35.62.162-tummy, 209.132.181.16-phx2, 152.19.134.142-ibiblio, 85.236.55.5-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description fedoraproject.org - wiki + check_command check_website!fedoraproject.org!/wiki/Special:Version!MediaWiki is free software + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description docs.fedoraproject.org + check_command check_website!docs.fedoraproject.org!/en-US/index.html!Fedora Documentation + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + 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 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description mirrors.fedoraproject.org - publiclist + check_command check_website!mirrors.fedoraproject.org!/publiclist/Fedora/!Fedora Public Active Mirrors + use websitetemplate +} + +define service { + host_name 66.35.62.166-tummy, 209.132.181.16-phx2, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description start.fedoraproject.org + check_command check_website!start.fedoraproject.org!/!The Fedora Project is maintained + use websitetemplate +} + +define service { + host_name 209.132.183.81-phx2 + service_description www.redhat.com + check_command check_website!www.redhat.com!/!Careers + use websitetemplate + max_check_attempts 3 + normal_check_interval 5 + retry_check_interval 1 + notification_options c + contact_groups null +} + +define service { + host_name 209.132.181.16-phx2, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description accounts + check_command check_website_ssl!admin.fedoraproject.org!/accounts/help/get_help/user_telephone!emergency + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description ask + check_command check_website_ssl!ask.fedoraproject.org!/en/questions/!RSS + use websitetemplate +} + +define service { + host_name 152.19.134.191-people03 + service_description planet + check_command check_website!planet.fedoraproject.org!/!Sub-Project planets + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description blockerbugs + check_command check_website_ssl!qa.fedoraproject.org!/blockerbugs/!Currently Active Milestones + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 85.236.55.6-internetx, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description fedocal + check_command check_website_ssl!apps.fedoraproject.org!/calendar/list/infrastructure-outages/!Description + use websitetemplate +} diff --git a/roles/nagios_server/files/nagios-external/timeperiods.cfg b/roles/nagios_server/files/nagios-external/timeperiods.cfg new file mode 100644 index 0000000000..e23469fab5 --- /dev/null +++ b/roles/nagios_server/files/nagios-external/timeperiods.cfg @@ -0,0 +1,29 @@ +define timeperiod{ + timeperiod_name 24x7 + alias 24 Hours A Day, 7 Days A Week + sunday 00:00-24:00 + monday 00:00-24:00 + tuesday 00:00-24:00 + wednesday 00:00-24:00 + thursday 00:00-24:00 + friday 00:00-24:00 + saturday 00:00-24:00 +} +define timeperiod{ + timeperiod_name 16x7 + alias 15 Hours a day, 7 days a week + sunday 00:00-04:00,13:00-24:00 + monday 00:00-04:00,13:00-24:00 + tuesday 00:00-04:00,13:00-24:00 + wednesday 00:00-04:00,13:00-24:00 + thursday 00:00-04:00,13:00-24:00 + friday 00:00-04:00,13:00-24:00 + saturday 00:00-04:00,13:00-24:00 + } + +# Members of sysadmin-main already get nagios messages +define timeperiod{ + timeperiod_name never + alias Never + } + diff --git a/roles/nagios_server/files/nagios/cgi.cfg b/roles/nagios_server/files/nagios/cgi.cfg new file mode 100644 index 0000000000..6f6c264d9e --- /dev/null +++ b/roles/nagios_server/files/nagios/cgi.cfg @@ -0,0 +1,276 @@ +################################################################# +# +# CGI.CFG - Sample CGI Configuration File for Nagios +# +# Last Modified: 05-05-2005 +# +################################################################# + + +# MAIN CONFIGURATION FILE +# This tells the CGIs where to find your main configuration file. +# The CGIs will read the main and host config files for any other +# data they might need. + +main_config_file=/etc/nagios/nagios.cfg + + + +# PHYSICAL HTML PATH +# This is the path where the HTML files for Nagios reside. This +# value is used to locate the logo images needed by the statusmap +# and statuswrl CGIs. + +physical_html_path=/usr/share/nagios/share + + + +# URL HTML PATH +# This is the path portion of the URL that corresponds to the +# physical location of the Nagios HTML files (as defined above). +# This value is used by the CGIs to locate the online documentation +# and graphics. If you access the Nagios pages with an URL like +# http://www.myhost.com/nagios, this value should be '/nagios' +# (without the quotes). + +url_html_path=/nagios + + + +# CONTEXT-SENSITIVE HELP +# This option determines whether or not a context-sensitive +# help icon will be displayed for most of the CGIs. +# Values: 0 = disables context-sensitive help +# 1 = enables context-sensitive help + +show_context_help=0 + + + +# NAGIOS PROCESS CHECK COMMAND +# This is the full path and filename of the program used to check +# the status of the Nagios process. It is used only by the CGIs +# and is completely optional. However, if you don't use it, you'll +# see warning messages in the CGIs about the Nagios process +# not running and you won't be able to execute any commands from +# the web interface. The program should follow the same rules +# as plugins; the return codes are the same as for the plugins, +# it should have timeout protection, it should output something +# to STDIO, etc. +# +# Note: The command line for the check_nagios plugin below may +# have to be tweaked a bit, as different versions of the plugin +# use different command line arguments/syntaxes. + +#nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.dat 5 '/usr/sbin/nagios' + + + +# AUTHENTICATION USAGE +# This option controls whether or not the CGIs will use any +# authentication when displaying host and service information, as +# well as committing commands to Nagios for processing. +# +# Read the HTML documentation to learn how the authorization works! +# +# NOTE: It is a really *bad* idea to disable authorization, unless +# you plan on removing the command CGI (cmd.cgi)! Failure to do +# so will leave you wide open to kiddies messing with Nagios and +# possibly hitting you with a denial of service attack by filling up +# your drive by continuously writing to your command file! +# +# Setting this value to 0 will cause the CGIs to *not* use +# authentication (bad idea), while any other value will make them +# use the authentication functions (the default). + +use_authentication=1 + + + +# DEFAULT USER +# Setting this variable will define a default user name that can +# access pages without authentication. This allows people within a +# secure domain (i.e., behind a firewall) to see the current status +# without authenticating. You may want to use this to avoid basic +# authentication if you are not using a sercure server since basic +# authentication transmits passwords in the clear. +# +# Important: Do not define a default username unless you are +# running a secure web server and are sure that everyone who has +# access to the CGIs has been authenticated in some manner! If you +# define this variable, anyone who has not authenticated to the web +# server will inherit all rights you assign to this user! + +#default_user_name=guest + + + +# SYSTEM/PROCESS INFORMATION ACCESS +# This option is a comma-delimited list of all usernames that +# have access to viewing the Nagios process information as +# provided by the Extended Information CGI (extinfo.cgi). By +# default, *no one* has access to this unless you choose to +# not use authorization. You may use an asterisk (*) to +# authorize any user who has authenticated to the web server. + +#authorized_for_system_information=nagiosadmin,theboss,jdoe +authorized_for_system_information=* + + + +# CONFIGURATION INFORMATION ACCESS +# This option is a comma-delimited list of all usernames that +# can view ALL configuration information (hosts, commands, etc). +# By default, users can only view configuration information +# for the hosts and services they are contacts for. You may use +# an asterisk (*) to authorize any user who has authenticated +# to the web server. + +#authorized_for_configuration_information=nagiosadmin,jdoe +authorized_for_configuration_information=* + + +# SYSTEM/PROCESS COMMAND ACCESS +# This option is a comma-delimited list of all usernames that +# can issue shutdown and restart commands to Nagios via the +# command CGI (cmd.cgi). Users in this list can also change +# the program mode to active or standby. By default, *no one* +# has access to this unless you choose to not use authorization. +# You may use an asterisk (*) to authorize any user who has +# authenticated to the web server. + +#authorized_for_system_commands=nagiosadmin +authorized_for_system_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot,mahrud,dwa,karsten + + + +# GLOBAL HOST/SERVICE VIEW ACCESS +# These two options are comma-delimited lists of all usernames that +# can view information for all hosts and services that are being +# monitored. By default, users can only view information +# for hosts or services that they are contacts for (unless you +# you choose to not use authorization). You may use an asterisk (*) +# to authorize any user who has authenticated to the web server. + + +authorized_for_all_services=* +authorized_for_all_hosts=* + + +# GLOBAL HOST/SERVICE COMMAND ACCESS +# These two options are comma-delimited lists of all usernames that +# can issue host or service related commands via the command +# CGI (cmd.cgi) for all hosts and services that are being monitored. +# By default, users can only issue commands for hosts or services +# that they are contacts for (unless you you choose to not use +# authorization). You may use an asterisk (*) to authorize any +# user who has authenticated to the web server. + +#authorized_for_all_service_commands=nagiosadmin +#authorized_for_all_host_commands=nagiosadmin +authorized_for_all_service_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot,mahrud,dwa,karsten +authorized_for_all_host_commands=athmane,ausil,averi,badone,codeblock,dwa,hvivani,ianweller,jspaleta,jstanley,kevin,lbazan,lmacken,maxamillio,mmahut,mmcgrath,nb,pfrields,puiterwijk,rafaelgomes,ralph,sijis,smooge,susmit,tibbs,tmz,wsterling,mdomsch,notting,ricky,toshio,spot,mahrud,dwa,karsten + + + +# STATUSMAP BACKGROUND IMAGE +# This option allows you to specify an image to be used as a +# background in the statusmap CGI. It is assumed that the image +# resides in the HTML images path (i.e. /usr/local/nagios/share/images). +# This path is automatically determined by appending "/images" +# to the path specified by the 'physical_html_path' directive. +# Note: The image file may be in GIF, PNG, JPEG, or GD2 format. +# However, I recommend that you convert your image to GD2 format +# (uncompressed), as this will cause less CPU load when the CGI +# generates the image. + +#statusmap_background_image=smbackground.gd2 + + + +# DEFAULT STATUSMAP LAYOUT METHOD +# This option allows you to specify the default layout method +# the statusmap CGI should use for drawing hosts. If you do +# not use this option, the default is to use user-defined +# coordinates. Valid options are as follows: +# 0 = User-defined coordinates +# 1 = Depth layers +# 2 = Collapsed tree +# 3 = Balanced tree +# 4 = Circular +# 5 = Circular (Marked Up) + +default_statusmap_layout=5 + + + +# DEFAULT STATUSWRL LAYOUT METHOD +# This option allows you to specify the default layout method +# the statuswrl (VRML) CGI should use for drawing hosts. If you +# do not use this option, the default is to use user-defined +# coordinates. Valid options are as follows: +# 0 = User-defined coordinates +# 2 = Collapsed tree +# 3 = Balanced tree +# 4 = Circular + +default_statuswrl_layout=4 + + + +# STATUSWRL INCLUDE +# This option allows you to include your own objects in the +# generated VRML world. It is assumed that the file +# resides in the HTML path (i.e. /usr/local/nagios/share). + +#statuswrl_include=myworld.wrl + + + +# PING SYNTAX +# This option determines what syntax should be used when +# attempting to ping a host from the WAP interface (using +# the statuswml CGI. You must include the full path to +# the ping binary, along with all required options. The +# $HOSTADDRESS$ macro is substituted with the address of +# the host before the command is executed. +# Please note that the syntax for the ping binary is +# notorious for being different on virtually ever *NIX +# OS and distribution, so you may have to tweak this to +# work on your system. + +ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ + + + +# REFRESH RATE +# This option allows you to specify the refresh rate in seconds +# of various CGIs (status, statusmap, extinfo, and outages). + +refresh_rate=90 + + + +# SOUND OPTIONS +# These options allow you to specify an optional audio file +# that should be played in your browser window when there are +# problems on the network. The audio files are used only in +# the status CGI. Only the sound for the most critical problem +# will be played. Order of importance (higher to lower) is as +# follows: unreachable hosts, down hosts, critical services, +# warning services, and unknown services. If there are no +# visible problems, the sound file optionally specified by +# 'normal_sound' variable will be played. +# +# +# = +# +# Note: All audio files must be placed in the /media subdirectory +# under the HTML path (i.e. /usr/local/nagios/share/media/). + +#host_unreachable_sound=hostdown.wav +#host_down_sound=hostdown.wav +#service_critical_sound=critical.wav +#service_warning_sound=warning.wav +#service_unknown_sound=warning.wav +#normal_sound=noproblem.wav diff --git a/roles/nagios_server/files/nagios/contactgroups/bodhi.cfg b/roles/nagios_server/files/nagios/contactgroups/bodhi.cfg new file mode 100644 index 0000000000..0df3b18d7d --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/bodhi.cfg @@ -0,0 +1,5 @@ +#define contactgroup { +# contactgroup_name bodhi +# alias Bodhi Notifications +# members lmacken +#} diff --git a/roles/nagios_server/files/nagios/contactgroups/build-sysadmin-email.cfg b/roles/nagios_server/files/nagios/contactgroups/build-sysadmin-email.cfg new file mode 100644 index 0000000000..0f81c1ee62 --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/build-sysadmin-email.cfg @@ -0,0 +1,5 @@ +define contactgroup{ + contactgroup_name build-sysadmin-email + alias Build Sysadmin Email Contacts + members kevin,aditya + } diff --git a/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-email.cfg b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-email.cfg new file mode 100644 index 0000000000..6bc45ce48f --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-email.cfg @@ -0,0 +1,5 @@ +define contactgroup{ + contactgroup_name fedora-sysadmin-email + alias Fedora Sysadmin Email Contacts + members mmcgrath,ausil,admin,ricky,jcollie,jmtaylor,jstanley,smooge,nb,rigeld2,codeblock,smooge_xmpp,hvivani,kevin,puiterwijkp + } diff --git a/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg new file mode 100644 index 0000000000..526aa049ed --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/fedora-sysadmin-pager.cfg @@ -0,0 +1,10 @@ +define contactgroup{ + contactgroup_name fedora-sysadmin-pager + alias Fedora Sysadmin Pager Contacts + members mmcgrathp,rickyp,jstanleyp,smoogep,kevinp,puiterwijkp +} +define contactgroup{ + contactgroup_name fedora-sysadmin-emergency + alias Fedora Sysadmin Pager Contacts + members mmcgrath-emergency,ricky-emergency,jstanley-emergency,smooge-emergency,kevin-emergency,puiterwijkp +} diff --git a/roles/nagios_server/files/nagios/contactgroups/ppc-secondary-email.cfg b/roles/nagios_server/files/nagios/contactgroups/ppc-secondary-email.cfg new file mode 100644 index 0000000000..2afe7ece0f --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/ppc-secondary-email.cfg @@ -0,0 +1,5 @@ +define contactgroup { + contactgroup_name ppc-secondary-email + alias Fedora PPC secondary arch Email Contacts + members kevin,dwa,dwa-pager,karsten +} diff --git a/roles/nagios_server/files/nagios/contactgroups/retrace.cfg b/roles/nagios_server/files/nagios/contactgroups/retrace.cfg new file mode 100644 index 0000000000..8f3310b5dc --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/retrace.cfg @@ -0,0 +1,5 @@ +define contactgroup { + contactgroup_name retrace-email + alias Fedora Retrace server Email Contacts + members kevin,mtoman +} diff --git a/roles/nagios_server/files/nagios/contactgroups/sysadmin-qa-email.cfg b/roles/nagios_server/files/nagios/contactgroups/sysadmin-qa-email.cfg new file mode 100644 index 0000000000..e25dfe84fa --- /dev/null +++ b/roles/nagios_server/files/nagios/contactgroups/sysadmin-qa-email.cfg @@ -0,0 +1,5 @@ +define contactgroup { + contactgroup_name sysadmin-qa-email + alias Fedora SysAdmin QA Email Contacts + members sysadmin-qa +} diff --git a/roles/nagios_server/files/nagios/contacts/aditya.cfg b/roles/nagios_server/files/nagios/contacts/aditya.cfg new file mode 100644 index 0000000000..d35dbb7b86 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/aditya.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name aditya + alias Aditya Patawari + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email adimania@fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios/contacts/admin.cfg b/roles/nagios_server/files/nagios/contacts/admin.cfg new file mode 100644 index 0000000000..fabbb5e3f0 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/admin.cfg @@ -0,0 +1,13 @@ +define contact{ + contact_name admin + alias Fedora Sysadmins + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email sysadmin-members@fedoraproject.org + } + + diff --git a/roles/nagios_server/files/nagios/contacts/ausil.cfg b/roles/nagios_server/files/nagios/contacts/ausil.cfg new file mode 100644 index 0000000000..a8afa7476c --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/ausil.cfg @@ -0,0 +1,16 @@ +define contact{ + contact_name ausil + alias Dennis Gilmore + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + #service_notification_commands notify-by-epager + #host_notification_commands host-notify-by-epager + #email ausil@fedoraproject.org + pager mobile@ausil.us + email mobile@ausil.us +} + diff --git a/roles/nagios_server/files/nagios/contacts/codeblock.cfg b/roles/nagios_server/files/nagios/contacts/codeblock.cfg new file mode 100644 index 0000000000..3e6b003f7c --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/codeblock.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name codeblock + alias Ricky Elrod + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email codeblock@elrod.me +} diff --git a/roles/nagios_server/files/nagios/contacts/dwa.cfg b/roles/nagios_server/files/nagios/contacts/dwa.cfg new file mode 100644 index 0000000000..2af0750cd0 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/dwa.cfg @@ -0,0 +1,23 @@ +define contact{ + contact_name dwa + alias David Aquilina + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email dwa@redhat.com +} + +define contact{ + contact_name dwa-pager + alias David Aquilina + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email dwa@fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios/contacts/hvivani.cfg b/roles/nagios_server/files/nagios/contacts/hvivani.cfg new file mode 100644 index 0000000000..2686f59109 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/hvivani.cfg @@ -0,0 +1,12 @@ +define contact{ + contact_name hvivani + alias Hernan Vivani + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email hernan@vivani.com.ar +} + diff --git a/roles/nagios_server/files/nagios/contacts/jcollie.cfg b/roles/nagios_server/files/nagios/contacts/jcollie.cfg new file mode 100644 index 0000000000..2fce9d252f --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/jcollie.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name jcollie + alias Jeffrey Ollie + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jeff@ocjtech.us +} diff --git a/roles/nagios_server/files/nagios/contacts/jmtaylor.cfg b/roles/nagios_server/files/nagios/contacts/jmtaylor.cfg new file mode 100644 index 0000000000..604a7b1da0 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/jmtaylor.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name jmtaylor + alias Jason Taylor + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jmtaylor90@gmail.com +} diff --git a/roles/nagios_server/files/nagios/contacts/jstanley.cfg b/roles/nagios_server/files/nagios/contacts/jstanley.cfg new file mode 100644 index 0000000000..b32dd9902d --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/jstanley.cfg @@ -0,0 +1,37 @@ +define contact{ + contact_name jstanley + alias Jon Stanley + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email jonstanley@gmail.com +} + +define contact{ + contact_name jstanley-emergency + alias Jon Stanley + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 9178159801@vtext.com + pager 9178159801@vtext.com +} + +define contact{ + contact_name jstanleyp + alias Jon Stanley + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 9178159801@vtext.com + pager 9178159801@vtext.com +} diff --git a/roles/nagios_server/files/nagios/contacts/karsten.cfg b/roles/nagios_server/files/nagios/contacts/karsten.cfg new file mode 100644 index 0000000000..30fb005f49 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/karsten.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name karsten + alias Karsten Hopp + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email karsten@redhat.com +} diff --git a/roles/nagios_server/files/nagios/contacts/kevin.cfg b/roles/nagios_server/files/nagios/contacts/kevin.cfg new file mode 100644 index 0000000000..f195c37608 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/kevin.cfg @@ -0,0 +1,47 @@ +define contact{ + contact_name kevin + alias Kevin Fenzi + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email kevin-pager@scrye.com +} + +# define contact{ +# contact_name kevin_xmpp +# alias Kevin Fenzi +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-xmpp +# host_notification_commands host-notify-by-xmpp +# email nirik99@gmail.com +# } + +define contact{ + contact_name kevin-emergency + alias Kevin Fenzi + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email kevin-urgent@scrye.com +} + +define contact{ + contact_name kevinp + alias Kevin Fenzi + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email kevin-urgent@scrye.com +} diff --git a/roles/nagios_server/files/nagios/contacts/lmacken.cfg b/roles/nagios_server/files/nagios/contacts/lmacken.cfg new file mode 100644 index 0000000000..92d35ae981 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/lmacken.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name lmacken + alias Luke Macken + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email lewk@vtext.com +} diff --git a/roles/nagios_server/files/nagios/contacts/mmcgrath.cfg b/roles/nagios_server/files/nagios/contacts/mmcgrath.cfg new file mode 100644 index 0000000000..3c130d4568 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/mmcgrath.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name mmcgrath + alias Mike McGrath + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email mmcgrath@redhat.com +} + +define contact{ + contact_name mmcgrath-emergency + alias Mike McGrath + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email imlinux+mobile@gmail.com + pager imlinux+mobile@gmail.com +} + +define contact{ + contact_name mmcgrathp + alias Mike McGrath + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email imlinux+mobile@gmail.com + pager imlinux+mobile@gmail.com +} + diff --git a/roles/nagios_server/files/nagios/contacts/mtoman.cfg b/roles/nagios_server/files/nagios/contacts/mtoman.cfg new file mode 100644 index 0000000000..6e68b8f6dc --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/mtoman.cfg @@ -0,0 +1,11 @@ +define contact{ + contact_name mtoman + alias Michal Toman + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email mtoman@redhat.com +} diff --git a/roles/nagios_server/files/nagios/contacts/nb.cfg b/roles/nagios_server/files/nagios/contacts/nb.cfg new file mode 100644 index 0000000000..ccf2dcd937 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/nb.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name nb + alias Nick Bebout + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email nick@bebout.net +} + +#define contact{ +# contact_name nb-emergency +# alias Nick Bebout +# service_notification_period never +# host_notification_period never +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-epager +# host_notification_commands host-notify-by-epager +# email nb5@txt.att.net +# pager nb5@txt.att.net +#} + +#define contact{ +# contact_name nbp +# alias Nick Bebout +# service_notification_period never +# host_notification_period never +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-epager +# host_notification_commands host-notify-by-epager +# email nb5@txt.att.net +# pager nb5@txt.att.net +#} + diff --git a/roles/nagios_server/files/nagios/contacts/ppc-secondary.cfg b/roles/nagios_server/files/nagios/contacts/ppc-secondary.cfg new file mode 100644 index 0000000000..2e0d056127 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/ppc-secondary.cfg @@ -0,0 +1,10 @@ +define contact { + contact_name ppc-secondary + alias Fedora PPC secondary arch SysAdmins + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email +} diff --git a/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg b/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg new file mode 100644 index 0000000000..38b83920f2 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/puiterwijk.cfg @@ -0,0 +1,12 @@ +define contact{ + contact_name puiterwijkp + alias Patrick Uiterwijk + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email puiterwijk@gmail.com + pager puiterwijk@gmail.com +} diff --git a/roles/nagios_server/files/nagios/contacts/ricky.cfg b/roles/nagios_server/files/nagios/contacts/ricky.cfg new file mode 100644 index 0000000000..c5c95f888b --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/ricky.cfg @@ -0,0 +1,38 @@ +define contact{ + contact_name ricky + alias Ricky Zhou + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email,notify-by-ircbot,notify-by-xmpp + host_notification_commands host-notify-by-email,host-notify-by-ircbot,host-notify-by-xmpp + email ricky@rzhou.org +} + +define contact{ + contact_name ricky-emergency + alias Ricky Zhou + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 2014030692@vtext.com + pager 2014030692@vtext.com +} + +define contact{ + contact_name rickyp + alias Ricky Zhou + service_notification_period never + host_notification_period never + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email 2014030692@vtext.com + pager 2014030692@vtext.com +} + diff --git a/roles/nagios_server/files/nagios/contacts/rigeld2.cfg b/roles/nagios_server/files/nagios/contacts/rigeld2.cfg new file mode 100644 index 0000000000..7a29771974 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/rigeld2.cfg @@ -0,0 +1,11 @@ +define contact{ +contact_name rigeld2 +alias Rob Marti +service_notification_period 24x7 +host_notification_period 24x7 +service_notification_options w,u,c,r +host_notification_options d,u,r +service_notification_commands notify-by-email +host_notification_commands host-notify-by-email +email robmartiwork@gmail.com +} diff --git a/roles/nagios_server/files/nagios/contacts/skvidal.cfg b/roles/nagios_server/files/nagios/contacts/skvidal.cfg new file mode 100644 index 0000000000..27465a1484 --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/skvidal.cfg @@ -0,0 +1,48 @@ +#define contact{ +# contact_name skvidal +# alias Seth Vidal +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-email +# host_notification_commands host-notify-by-email +# email seth-alert@sethdot.org +#} +# +#define contact{ +# contact_name skvidal_xmpp +# alias Seth Vidal +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-xmpp +# host_notification_commands host-notify-by-xmpp +# email skvidal@jabber.org +#} +# +#define contact{ +# contact_name skvidal-emergency +# alias Seth Vidal +# service_notification_period 24x7 +# host_notification_period 24x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-epager +# host_notification_commands host-notify-by-epager +# email page-seth-vidal@sethdot.org +#} +# +#define contact{ +# contact_name skvidalp +# alias Seth Vidal +# service_notification_period 16x7 +# host_notification_period 16x7 +# service_notification_options w,u,c,r +# host_notification_options d,u,r +# service_notification_commands notify-by-epager +# host_notification_commands host-notify-by-epager +# email page-seth-vidal@sethdot.org +# pager page-seth-vidal@sethdot.org +#} diff --git a/roles/nagios_server/files/nagios/contacts/smooge.cfg b/roles/nagios_server/files/nagios/contacts/smooge.cfg new file mode 100644 index 0000000000..99dc7348ac --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/smooge.cfg @@ -0,0 +1,50 @@ +define contact{ + contact_name smooge + alias Stephen Smoogen + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email smooge+notify@gmail.com +} + +define contact{ + contact_name smooge_xmpp + alias Stephen Smoogen + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-xmpp + host_notification_commands host-notify-by-xmpp + email smooge@gmail.com +} + +define contact{ + contact_name smooge-emergency + alias Stephen Smoogen + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email smooge+mobile@gmail.com + pager smooge+mobile@gmail.com +} + +define contact{ + contact_name smoogep + alias Stephen Smoogen + service_notification_period 16x7 + host_notification_period 16x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-epager + host_notification_commands host-notify-by-epager + email smooge+mobile@gmail.com + pager smooge+mobile@gmail.com +} + diff --git a/roles/nagios_server/files/nagios/contacts/sysadmin-qa.cfg b/roles/nagios_server/files/nagios/contacts/sysadmin-qa.cfg new file mode 100644 index 0000000000..d4ed945f0e --- /dev/null +++ b/roles/nagios_server/files/nagios/contacts/sysadmin-qa.cfg @@ -0,0 +1,13 @@ +define contact { + contact_name sysadmin-qa + alias Fedora QA SysAdmins + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email sysadmin-qa-members@fedoraproject.org +} + + diff --git a/roles/nagios_server/files/nagios/hostgroups/all.cfg b/roles/nagios_server/files/nagios/hostgroups/all.cfg new file mode 100644 index 0000000000..00e7b6602c --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/all.cfg @@ -0,0 +1,11 @@ +############### +# All Servers and associated devices +############### + +# Hosts in telia are defined elsewhere +# why its there +define hostgroup { + hostgroup_name all + alias All hosts / Devices + members *,!telia01, +} diff --git a/roles/nagios_server/files/nagios/hostgroups/autoqa.cfg b/roles/nagios_server/files/nagios/hostgroups/autoqa.cfg new file mode 100644 index 0000000000..82ce1dcc59 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/autoqa.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name autoqa + alias AutoQA Hosts + members autoqa01, autoqa-stg01 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/buildsys.cfg b/roles/nagios_server/files/nagios/hostgroups/buildsys.cfg new file mode 100644 index 0000000000..6af0682edf --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/buildsys.cfg @@ -0,0 +1,9 @@ +############### +# Build Servers +############### + +#define hostgroup { +# hostgroup_name buildservers +# alias Build Servers +# members x86-01, x86-02, x86-03, x86-04, x86-05, x86-06, x86-07 +#} diff --git a/roles/nagios_server/files/nagios/hostgroups/dns.cfg b/roles/nagios_server/files/nagios/hostgroups/dns.cfg new file mode 100644 index 0000000000..14cfd88a96 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/dns.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name dnsservers + alias DNS Servers + members ns03 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/euservers.cfg b/roles/nagios_server/files/nagios/hostgroups/euservers.cfg new file mode 100644 index 0000000000..905fb0e696 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/euservers.cfg @@ -0,0 +1,10 @@ +############### +# All Eupropean Servers +# 'good' RTT figures adjusted for US->EU +############### + +define hostgroup { + hostgroup_name euservers + alias European Servers + members telia01, noc02, noc02 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/fas.cfg b/roles/nagios_server/files/nagios/hostgroups/fas.cfg new file mode 100644 index 0000000000..d2b07fd9d0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/fas.cfg @@ -0,0 +1,10 @@ +############### +# FAS Servers (just fas for now) +############### + +define hostgroup { + hostgroup_name fasservers + alias FAS Servers + members fas01, fas02, fas03 +} + diff --git a/roles/nagios_server/files/nagios/hostgroups/hosted.cfg b/roles/nagios_server/files/nagios/hostgroups/hosted.cfg new file mode 100644 index 0000000000..54d3e74a43 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/hosted.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name hosted + alias Hosted Servers + members hosted03,hosted04 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/kvmHosts.cfg b/roles/nagios_server/files/nagios/hostgroups/kvmHosts.cfg new file mode 100644 index 0000000000..9fc5cae1f2 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/kvmHosts.cfg @@ -0,0 +1,9 @@ +############### +# KVM Servers +############### + +define hostgroup { + hostgroup_name kvmServers + alias kvmServers + members bvirthost01, bvirthost02, bvirthost03, bvirthost04, bvirthost05, bvirthost07, virthost01, virthost02, virthost03, virthost04, virthost05, virthost06, virthost07, virthost08, virthost09, virthost10, virthost11, virthost12, virthost14, virthost15, virthost-comm01, virthost-comm02, telia01, tummy01, bodhost01, osuosl01, osuosl02, ibiblio01, ibiblio02, ibiblio03, coloamer01, internetx01, serverbeach06, serverbeach07, serverbeach08, serverbeach09, serverbeach10 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/mgmt.cfg b/roles/nagios_server/files/nagios/hostgroups/mgmt.cfg new file mode 100644 index 0000000000..b4817cd023 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/mgmt.cfg @@ -0,0 +1,6 @@ +define hostgroup { + hostgroup_name mgmt + alias Physical hosts management inerface + members backup03-mgmt,bc02-mgmt,bvirthost01-mgmt,bvirthost04-mgmt,bvirthost05-mgmt,bvirthost07-mgmt,download01-mgmt,download02-mgmt,download03-mgmt,download04-mgmt,download05-mgmt,qa01-mgmt,qa02-mgmt,qa03-mgmt,qa04-mgmt,qa05-mgmt,qa06-mgmt,qa07-mgmt,qa08-mgmt,tape02-mgmt,virthost-comm01-mgmt,virthost01-mgmt,virthost02-mgmt,virthost03-mgmt,virthost04-mgmt,virthost05-mgmt,virthost06-mgmt,virthost07-mgmt,virthost08-mgmt,virthost09-mgmt,virthost10-mgmt,virthost11-mgmt,virthost12-mgmt,virthost14-mgmt,virthost15-mgmt,virthost-comm02-mgmt,sign-vault03-mgmt,sign-vault04-mgmt +} + diff --git a/roles/nagios_server/files/nagios/hostgroups/nomail.cfg b/roles/nagios_server/files/nagios/hostgroups/nomail.cfg new file mode 100644 index 0000000000..169bf1ad75 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/nomail.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name nomail + alias No Mail + members *, !bastion01, !bastion02, !bastion-vpn, !backup03, !app01.stg, !app02.stg, !db02.stg, !fas01.stg, !koji01.stg, !pkgs01.stg, !proxy01.stg, !releng01.stg, !value01.stg, !smtp-mm-telia01, !smtp-mm-tummy01, !smtp-mm-ib01, !hosted03, !hosted04, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !bc02-mgmt, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost04-mgmt,!bvirthost05-mgmt,!bvirthost07-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!virthost11-mgmt,!virthost12-mgmt,!virthost14-mgmt,!virthost15-mgmt,!autoqa01,!autoqa-stg01,!ibiblio-gw,!packages03,!packages04,!status-fedora2, !virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo, !proxy09-wildcard, !arm01-builder00, !arm01-builder01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvmhost-01, !buildvmhost-02, !buildvmhost-03, !buildvmhost-04, !buildvmhost-05, !buildvmhost-06, !buildvmhost-07, !buildvmhost-08, !buildvmhost-09, !releng01, !imagebuilder +} diff --git a/roles/nagios_server/files/nagios/hostgroups/phx2app.cfg b/roles/nagios_server/files/nagios/hostgroups/phx2app.cfg new file mode 100644 index 0000000000..6c1370c996 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/phx2app.cfg @@ -0,0 +1,10 @@ +############### +# PHX2 App Servers +############### + +define hostgroup { + hostgroup_name phx2app + alias FAS Servers + members app01, app02, app03, app04, bapp02 +} + diff --git a/roles/nagios_server/files/nagios/hostgroups/ppc-secondary.cfg b/roles/nagios_server/files/nagios/hostgroups/ppc-secondary.cfg new file mode 100644 index 0000000000..7eadaf6017 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/ppc-secondary.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name ppc-secondary + alias PPC secondary Hosts + members ppc-hub, ppc-composer +} diff --git a/roles/nagios_server/files/nagios/hostgroups/proxies.cfg b/roles/nagios_server/files/nagios/hostgroups/proxies.cfg new file mode 100644 index 0000000000..f111a45882 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/proxies.cfg @@ -0,0 +1,9 @@ +############### +# Proxy Servers +############### + +define hostgroup { + hostgroup_name proxies + alias proxies + members proxy01, proxy02, proxy03, proxy04, proxy06, proxy07, proxy08, proxy09 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/puppet.cfg b/roles/nagios_server/files/nagios/hostgroups/puppet.cfg new file mode 100644 index 0000000000..e643b6e92e --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/puppet.cfg @@ -0,0 +1,9 @@ +############### +# Puppet Servers (just puppet1 for now) +############### + +define hostgroup { + hostgroup_name puppetservers + alias Puppet Servers + members lockbox01 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/retrace.cfg b/roles/nagios_server/files/nagios/hostgroups/retrace.cfg new file mode 100644 index 0000000000..d13d518a8a --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/retrace.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name retrace + alias Retrace Hosts + members retrace01.qa +} diff --git a/roles/nagios_server/files/nagios/hostgroups/servers.cfg b/roles/nagios_server/files/nagios/hostgroups/servers.cfg new file mode 100644 index 0000000000..ce198f6bc1 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/servers.cfg @@ -0,0 +1,10 @@ +############### +# All Servers - Minus Builders +############### + +define hostgroup { + hostgroup_name servers + alias All Servers + members *, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost05-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!bvirthost04-mgmt, !bvirthost07-mgmt, !virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!virthost11-mgmt, !virthost12-mgmt, !virthost14-mgmt,!virthost15-mgmt, !autoqa01, !autoqa-stg01, !ibiblio-gw, !status-fedora2,!virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo,!proxy09-wildcard, !arm01-builder00, !arm01-builder01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvmhost-01, !buildvmhost-02, !buildvmhost-03, !buildvmhost-04, !buildvmhost-05, !buildvmhost-06, !buildvmhost-07, !buildvmhost-08, !buildvmhost-09, !releng01, !imagebuilder +} + diff --git a/roles/nagios_server/files/nagios/hostgroups/smtp-mm.cfg b/roles/nagios_server/files/nagios/hostgroups/smtp-mm.cfg new file mode 100644 index 0000000000..a052aa1e8d --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/smtp-mm.cfg @@ -0,0 +1,9 @@ +############### +# Smtp Servers +############### + +define hostgroup { + hostgroup_name smtp-mm + alias smtp-mm + members smtp-mm-ib01,smtp-mm-telia01,smtp-mm-tummy01 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/unbound.cfg b/roles/nagios_server/files/nagios/hostgroups/unbound.cfg new file mode 100644 index 0000000000..a018c16700 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/unbound.cfg @@ -0,0 +1,9 @@ +############### +# Unbound Servers +############### + +define hostgroup { + hostgroup_name unboundservers + alias Unbound Servers + members unbound-tummy01, unbound-ib01, unbound-telia01 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg b/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg new file mode 100644 index 0000000000..0b1c2b5713 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg @@ -0,0 +1,9 @@ +# +# host group of all vpn client hosts. +# + +define hostgroup { + hostgroup_name vpnclients + alias vpnclients + members tummy01,unbound-tummy01,smtp-mm-tummy01,proxy03,telia01,smtp-mm-telia01,unbound-telia01,bodhost01,proxy07,coloamer01,app08,proxy08,ibiblio01,download-ib01,noc02,unbound-ib01,ibiblio02,app05,ns02,proxy04,smtp-mm-ib01,torrent02,ibiblio03,backup02,people03,internetx01,hosted-lists01,ns05,proxy02,osuosl01,proxy06,osuosl02,hosted03,ibiblio02,hosted04,serverbeach08,serverbeach09,ns-sb01,serverbeach10,collab03,collab04,proxy09 +} diff --git a/roles/nagios_server/files/nagios/hostgroups/web.cfg b/roles/nagios_server/files/nagios/hostgroups/web.cfg new file mode 100644 index 0000000000..a4bcdcffb5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hostgroups/web.cfg @@ -0,0 +1,9 @@ +############### +# Web Servers +############### + +define hostgroup { + hostgroup_name webservers + alias webservers + members app01, app02, app03, app04, app05, app08, proxy01, proxy02, proxy03, proxy04, proxy08, fas01, fas02, fas03, status-fedora2, fedoauth01, fedoauth02, proxy09 +} diff --git a/roles/nagios_server/files/nagios/hosts/app01-stg.cfg b/roles/nagios_server/files/nagios/hosts/app01-stg.cfg new file mode 100644 index 0000000000..fcf8995dc0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name app01.stg + alias app01.stg.phx2.fedoraproject.org + use defaulttemplate + address app01.stg.phx2.fedoraproject.org + parents virthost10 +} diff --git a/roles/nagios_server/files/nagios/hosts/app01.cfg b/roles/nagios_server/files/nagios/hosts/app01.cfg new file mode 100644 index 0000000000..df4e5b62f8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app01.cfg @@ -0,0 +1,7 @@ +define host { + host_name app01 + alias app01.phx2.fedoraproject.org + use defaulttemplate + address app01.phx2.fedoraproject.org + parents virthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/app02-stg.cfg b/roles/nagios_server/files/nagios/hosts/app02-stg.cfg new file mode 100644 index 0000000000..4f760c0bdb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app02-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name app02.stg + alias app02.stg.phx2.fedoraproject.org + use defaulttemplate + address app02.stg.phx2.fedoraproject.org + parents virthost12 +} diff --git a/roles/nagios_server/files/nagios/hosts/app02.cfg b/roles/nagios_server/files/nagios/hosts/app02.cfg new file mode 100644 index 0000000000..37cb7ef9bd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app02.cfg @@ -0,0 +1,7 @@ +define host { + host_name app02 + alias app02.phx2.fedoraproject.org + use defaulttemplate + address app02.phx2.fedoraproject.org + parents virthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/app03.cfg b/roles/nagios_server/files/nagios/hosts/app03.cfg new file mode 100644 index 0000000000..9b71f6dd84 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app03.cfg @@ -0,0 +1,7 @@ +define host { + host_name app03 + alias app03.phx2.fedoraproject.org + use defaulttemplate + address app03.phx2.fedoraproject.org + parents virthost08 +} diff --git a/roles/nagios_server/files/nagios/hosts/app04.cfg b/roles/nagios_server/files/nagios/hosts/app04.cfg new file mode 100644 index 0000000000..1a64c3ac50 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app04.cfg @@ -0,0 +1,7 @@ +define host { + host_name app04 + alias app04.phx2.fedoraproject.org + use defaulttemplate + address app04.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/app05.cfg b/roles/nagios_server/files/nagios/hosts/app05.cfg new file mode 100644 index 0000000000..83ce64466b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app05.cfg @@ -0,0 +1,7 @@ +define host { + host_name app05 + alias app05.fedoraproject.org + use defaulttemplate + address app05.fedoraproject.org + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/app06.cfg b/roles/nagios_server/files/nagios/hosts/app06.cfg new file mode 100644 index 0000000000..fb079d02a0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app06.cfg @@ -0,0 +1,8 @@ +# define host { +# host_name app06 +# alias app06.fedoraproject.org +# use defaulttemplate +# address app06.fedoraproject.org +# parents telia01 +# } + diff --git a/roles/nagios_server/files/nagios/hosts/app08.cfg b/roles/nagios_server/files/nagios/hosts/app08.cfg new file mode 100644 index 0000000000..aa1435dd60 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/app08.cfg @@ -0,0 +1,8 @@ +define host { + host_name app08 + alias app08.fedoraproject.org + use defaulttemplate + address app08.fedoraproject.org + parents coloamer01 +} + diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder00.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder00.cfg new file mode 100644 index 0000000000..7efcc24ae3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder00.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder00 + alias arm01-builder00.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder00.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder01.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder01.cfg new file mode 100644 index 0000000000..49bfecea34 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder01.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder01 + alias arm01-builder01.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder01.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder02.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder02.cfg new file mode 100644 index 0000000000..85ea0a4d92 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder02.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder02 + alias arm01-builder02.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder02.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder03.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder03.cfg new file mode 100644 index 0000000000..42c338c165 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder03.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder03 + alias arm01-builder03.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder03.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder04.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder04.cfg new file mode 100644 index 0000000000..0ee8f65393 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder04.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder04 + alias arm01-builder04.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder04.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder05.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder05.cfg new file mode 100644 index 0000000000..db291d6162 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder05.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder05 + alias arm01-builder05.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder05.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder06.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder06.cfg new file mode 100644 index 0000000000..4480f257b3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder06.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder06 + alias arm01-builder06.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder06.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder07.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder07.cfg new file mode 100644 index 0000000000..ccd489605c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder07.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder07 + alias arm01-builder07.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder07.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder08.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder08.cfg new file mode 100644 index 0000000000..d764543ab7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder08.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder08 + alias arm01-builder08.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder08.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder09.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder09.cfg new file mode 100644 index 0000000000..d036598e45 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder09.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder09 + alias arm01-builder09.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder09.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder10.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder10.cfg new file mode 100644 index 0000000000..9f56980092 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder10.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder10 + alias arm01-builder10.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder10.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder11.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder11.cfg new file mode 100644 index 0000000000..803956c6ac --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder11.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder11 + alias arm01-builder11.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder11.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder12.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder12.cfg new file mode 100644 index 0000000000..4f9f28ca77 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder12.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder12 + alias arm01-builder12.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder12.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder13.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder13.cfg new file mode 100644 index 0000000000..5d48a38f06 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder13.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder13 + alias arm01-builder13.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder13.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder14.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder14.cfg new file mode 100644 index 0000000000..0f86a1d2d6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder14.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder14 + alias arm01-builder14.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder14.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder15.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder15.cfg new file mode 100644 index 0000000000..5779d21c14 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder15.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder15 + alias arm01-builder15.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder15.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder16.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder16.cfg new file mode 100644 index 0000000000..c5d36c338f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder16.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder16 + alias arm01-builder16.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder16.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder17.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder17.cfg new file mode 100644 index 0000000000..c52ff6ef79 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder17.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder17 + alias arm01-builder17.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder17.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder18.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder18.cfg new file mode 100644 index 0000000000..d49405f58a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder18.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder18 + alias arm01-builder18.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder18.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder19.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder19.cfg new file mode 100644 index 0000000000..55ece8a9ec --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder19.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder19 + alias arm01-builder19.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder19.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder20.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder20.cfg new file mode 100644 index 0000000000..3e92bfa436 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder20.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder20 + alias arm01-builder20.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder20.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder21.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder21.cfg new file mode 100644 index 0000000000..8dcce13acf --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder21.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder21 + alias arm01-builder21.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder21.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder22.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder22.cfg new file mode 100644 index 0000000000..8869d0cf7f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder22.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder22 + alias arm01-builder22.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder22.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm01-builder23.cfg b/roles/nagios_server/files/nagios/hosts/arm01-builder23.cfg new file mode 100644 index 0000000000..274dcea674 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm01-builder23.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm01-builder23 + alias arm01-builder23.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm01-builder23.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder00.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder00.cfg new file mode 100644 index 0000000000..eb58290236 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder00.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder00 + alias arm02-builder00.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder00.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder01.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder01.cfg new file mode 100644 index 0000000000..ddee1e9feb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder01.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder01 + alias arm02-builder01.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder01.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder02.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder02.cfg new file mode 100644 index 0000000000..ee3e6ddfcc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder02.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder02 + alias arm02-builder02.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder02.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder03.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder03.cfg new file mode 100644 index 0000000000..8faf7793b3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder03.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder03 + alias arm02-builder03.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder03.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder04.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder04.cfg new file mode 100644 index 0000000000..9c3ac23173 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder04.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder04 + alias arm02-builder04.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder04.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder05.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder05.cfg new file mode 100644 index 0000000000..8f2f44a2ee --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder05.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder05 + alias arm02-builder05.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder05.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder06.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder06.cfg new file mode 100644 index 0000000000..15a3f55791 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder06.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder06 + alias arm02-builder06.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder06.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder07.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder07.cfg new file mode 100644 index 0000000000..d3b14038cc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder07.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder07 + alias arm02-builder07.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder07.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder08.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder08.cfg new file mode 100644 index 0000000000..54b2f607ee --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder08.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder08 + alias arm02-builder08.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder08.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder09.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder09.cfg new file mode 100644 index 0000000000..4f2b57de94 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder09.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder09 + alias arm02-builder09.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder09.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder10.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder10.cfg new file mode 100644 index 0000000000..b67dc9fd8b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder10.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder10 + alias arm02-builder10.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder10.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder11.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder11.cfg new file mode 100644 index 0000000000..880d304ac2 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder11.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder11 + alias arm02-builder11.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder11.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder12.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder12.cfg new file mode 100644 index 0000000000..9e96a6a5ff --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder12.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder12 + alias arm02-builder12.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder12.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder13.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder13.cfg new file mode 100644 index 0000000000..79558008ff --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder13.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder13 + alias arm02-builder13.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder13.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder14.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder14.cfg new file mode 100644 index 0000000000..0a9eb89fc2 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder14.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder14 + alias arm02-builder14.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder14.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder15.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder15.cfg new file mode 100644 index 0000000000..ba326b969f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder15.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder15 + alias arm02-builder15.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder15.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder16.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder16.cfg new file mode 100644 index 0000000000..f2b8124fa0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder16.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder16 + alias arm02-builder16.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder16.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder17.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder17.cfg new file mode 100644 index 0000000000..c88f517446 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder17.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder17 + alias arm02-builder17.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder17.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder18.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder18.cfg new file mode 100644 index 0000000000..7a89ed7608 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder18.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder18 + alias arm02-builder18.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder18.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder19.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder19.cfg new file mode 100644 index 0000000000..029c0a4c56 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder19.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder19 + alias arm02-builder19.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder19.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder20.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder20.cfg new file mode 100644 index 0000000000..4c5a3e5282 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder20.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder20 + alias arm02-builder20.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder20.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder21.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder21.cfg new file mode 100644 index 0000000000..17ab47ac44 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder21.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder21 + alias arm02-builder21.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder21.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder22.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder22.cfg new file mode 100644 index 0000000000..7df4b503d4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder22.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder22 + alias arm02-builder22.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder22.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/arm02-builder23.cfg b/roles/nagios_server/files/nagios/hosts/arm02-builder23.cfg new file mode 100644 index 0000000000..abbcdc2162 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/arm02-builder23.cfg @@ -0,0 +1,8 @@ +define host { + host_name arm02-builder23 + alias arm02-builder23.arm.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address arm02-builder23.arm.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/ask01.cfg b/roles/nagios_server/files/nagios/hosts/ask01.cfg new file mode 100644 index 0000000000..bd80e47f5d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ask01.cfg @@ -0,0 +1,7 @@ +define host { + host_name ask01 + alias ask01.phx2.fedoraproject.org + use defaulttemplate + address ask01.phx2.fedoraproject.org + parents virthost06 +} diff --git a/roles/nagios_server/files/nagios/hosts/ask02.cfg b/roles/nagios_server/files/nagios/hosts/ask02.cfg new file mode 100644 index 0000000000..9ee51fd887 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ask02.cfg @@ -0,0 +1,7 @@ +define host { + host_name ask02 + alias ask02.phx2.fedoraproject.org + use defaulttemplate + address ask02.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/autoqa-stg01.cfg b/roles/nagios_server/files/nagios/hosts/autoqa-stg01.cfg new file mode 100644 index 0000000000..5d03c175f0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/autoqa-stg01.cfg @@ -0,0 +1,7 @@ +define host { + host_name autoqa-stg01 + alias autoqa-stg01.qa.fedoraproject.org + use autoqatemplate + address autoqa-stg01.qa.fedoraproject.org + parents virthost-comm01 +} diff --git a/roles/nagios_server/files/nagios/hosts/autoqa01.cfg b/roles/nagios_server/files/nagios/hosts/autoqa01.cfg new file mode 100644 index 0000000000..20e85b2b99 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/autoqa01.cfg @@ -0,0 +1,7 @@ +define host { + host_name autoqa01 + alias autoqa01.qa.fedoraproject.org + use autoqatemplate + address autoqa01.qa.fedoraproject.org + parents virthost-comm01 +} diff --git a/roles/nagios_server/files/nagios/hosts/backup02.cfg b/roles/nagios_server/files/nagios/hosts/backup02.cfg new file mode 100644 index 0000000000..d377b6e72f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/backup02.cfg @@ -0,0 +1,7 @@ +define host { + host_name backup02 + alias backup02.fedoraproject.org + use defaulttemplate + address backup02.fedoraproject.org + parents ibiblio03 +} diff --git a/roles/nagios_server/files/nagios/hosts/backup03-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/backup03-mgmt.cfg new file mode 100644 index 0000000000..ea246705f1 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/backup03-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name backup03-mgmt + alias backup03-mgmt.phx2.fedoraproject.org + use mincheck + address backup03-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/backup03.cfg b/roles/nagios_server/files/nagios/hosts/backup03.cfg new file mode 100644 index 0000000000..b34b42a0e5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/backup03.cfg @@ -0,0 +1,7 @@ +define host { + host_name backup03 + alias backup03.phx2.fedoraproject.org + use defaulttemplate + address backup03.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/badges-backend01.cfg b/roles/nagios_server/files/nagios/hosts/badges-backend01.cfg new file mode 100644 index 0000000000..4d10cb8096 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/badges-backend01.cfg @@ -0,0 +1,7 @@ +define host { + host_name badges-backend01 + alias badges-backend01.phx2.fedoraproject.org + use defaulttemplate + address badges-backend01.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/badges-web01.cfg b/roles/nagios_server/files/nagios/hosts/badges-web01.cfg new file mode 100644 index 0000000000..c95236ed7c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/badges-web01.cfg @@ -0,0 +1,7 @@ +define host { + host_name badges-web01 + alias badges-web01.phx2.fedoraproject.org + use defaulttemplate + address badges-web01.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/badges-web02.cfg b/roles/nagios_server/files/nagios/hosts/badges-web02.cfg new file mode 100644 index 0000000000..b63aa3d106 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/badges-web02.cfg @@ -0,0 +1,7 @@ +define host { + host_name badges-web02 + alias badges-web02.phx2.fedoraproject.org + use defaulttemplate + address badges-web02.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/bapp02.cfg b/roles/nagios_server/files/nagios/hosts/bapp02.cfg new file mode 100644 index 0000000000..670b38bd07 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bapp02.cfg @@ -0,0 +1,7 @@ +define host { + host_name bapp02 + alias bapp02.phx2.fedoraproject.org + use defaulttemplate + address bapp02.phx2.fedoraproject.org + parents virthost06 +} diff --git a/roles/nagios_server/files/nagios/hosts/bastion-comm01.cfg b/roles/nagios_server/files/nagios/hosts/bastion-comm01.cfg new file mode 100644 index 0000000000..aec3820dee --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bastion-comm01.cfg @@ -0,0 +1,7 @@ +define host { + host_name bastion-comm01 + alias bastion-comm01.qa.fedoraproject.org + use defaulttemplate + address bastion-comm01.qa.fedoraproject.org + parents virthost-comm01 +} diff --git a/roles/nagios_server/files/nagios/hosts/bastion-vpn.cfg b/roles/nagios_server/files/nagios/hosts/bastion-vpn.cfg new file mode 100644 index 0000000000..04e882d36e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bastion-vpn.cfg @@ -0,0 +1,7 @@ +define host { + host_name bastion-vpn + alias bastion.vpn.fedoraproject.org + use defaulttemplate + address bastion.vpn.fedoraproject.org + parents bastion02 +} diff --git a/roles/nagios_server/files/nagios/hosts/bastion01.cfg b/roles/nagios_server/files/nagios/hosts/bastion01.cfg new file mode 100644 index 0000000000..13f96fb8b9 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bastion01.cfg @@ -0,0 +1,7 @@ +define host { + host_name bastion01 + alias bastion01.phx2.fedoraproject.org + use defaulttemplate + address bastion01.phx2.fedoraproject.org + parents virthost04,fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bastion02.cfg b/roles/nagios_server/files/nagios/hosts/bastion02.cfg new file mode 100644 index 0000000000..6e39c79bbd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bastion02.cfg @@ -0,0 +1,7 @@ +define host { + host_name bastion02 + alias bastion02.phx2.fedoraproject.org + use defaulttemplate + address bastion02.phx2.fedoraproject.org + parents virthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/bc01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bc01-mgmt.cfg new file mode 100644 index 0000000000..104cb5105f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bc01-mgmt.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name bc01-mgmt +# alias bc01-mgmt.phx2.fedoraproject.org +# use mincheck +# address bc01-mgmt.phx2.fedoraproject.org +# parents fwsm01-gw +#} diff --git a/roles/nagios_server/files/nagios/hosts/bc02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bc02-mgmt.cfg new file mode 100644 index 0000000000..49fa5f77ec --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bc02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name bc02-mgmt + alias bc02-mgmt.phx2.fedoraproject.org + use mincheck + address bc02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/blockerbugs01.cfg b/roles/nagios_server/files/nagios/hosts/blockerbugs01.cfg new file mode 100644 index 0000000000..bdca92239a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/blockerbugs01.cfg @@ -0,0 +1,7 @@ +define host { + host_name blockerbugs01 + alias blockerbugs01.phx2.fedoraproject.org + use defaulttemplate + address blockerbugs01.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/blockerbugs02.cfg b/roles/nagios_server/files/nagios/hosts/blockerbugs02.cfg new file mode 100644 index 0000000000..e51ec3e145 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/blockerbugs02.cfg @@ -0,0 +1,7 @@ +define host { + host_name blockerbugs02 + alias blockerbugs02.phx2.fedoraproject.org + use defaulttemplate + address blockerbugs02.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/bodhost01.cfg b/roles/nagios_server/files/nagios/hosts/bodhost01.cfg new file mode 100644 index 0000000000..d647c738c3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bodhost01.cfg @@ -0,0 +1,7 @@ +define host { + host_name bodhost01 + alias bodhost01.fedoraproject.org + use defaulttemplate + address bodhost01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-01.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-01.cfg new file mode 100644 index 0000000000..4a0bbdbf34 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-01.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-01.phx2.fedoraproject.org + host_name buildvm-01 + use defaultbuilders + check_command check-host-alive + address buildvm-01.phx2.fedoraproject.org + parents buildvmhost-01 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-02.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-02.cfg new file mode 100644 index 0000000000..92cc81faac --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-02.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-02.phx2.fedoraproject.org + host_name buildvm-02 + use defaultbuilders + check_command check-host-alive + address buildvm-02.phx2.fedoraproject.org + parents buildvmhost-01 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-03.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-03.cfg new file mode 100644 index 0000000000..6ca61e0872 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-03.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-03.phx2.fedoraproject.org + host_name buildvm-03 + use defaultbuilders + check_command check-host-alive + address buildvm-03.phx2.fedoraproject.org + parents buildvmhost-01 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-04.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-04.cfg new file mode 100644 index 0000000000..d110cfb566 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-04.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-04.phx2.fedoraproject.org + host_name buildvm-04 + use defaultbuilders + check_command check-host-alive + address buildvm-04.phx2.fedoraproject.org + parents buildvmhost-02 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-05.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-05.cfg new file mode 100644 index 0000000000..a563448421 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-05.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-05.phx2.fedoraproject.org + host_name buildvm-05 + use defaultbuilders + check_command check-host-alive + address buildvm-05.phx2.fedoraproject.org + parents buildvmhost-02 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-06.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-06.cfg new file mode 100644 index 0000000000..b6dbffd722 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-06.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-06.phx2.fedoraproject.org + host_name buildvm-06 + use defaultbuilders + check_command check-host-alive + address buildvm-06.phx2.fedoraproject.org + parents buildvmhost-02 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-07.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-07.cfg new file mode 100644 index 0000000000..681c37b836 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-07.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-07.phx2.fedoraproject.org + host_name buildvm-07 + use defaultbuilders + check_command check-host-alive + address buildvm-07.phx2.fedoraproject.org + parents buildvmhost-03 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-08.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-08.cfg new file mode 100644 index 0000000000..1de2147475 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-08.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-08.phx2.fedoraproject.org + host_name buildvm-08 + use defaultbuilders + check_command check-host-alive + address buildvm-08.phx2.fedoraproject.org + parents buildvmhost-03 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-09.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-09.cfg new file mode 100644 index 0000000000..be69bc3b0c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-09.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-09.phx2.fedoraproject.org + host_name buildvm-09 + use defaultbuilders + check_command check-host-alive + address buildvm-09.phx2.fedoraproject.org + parents buildvmhost-03 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-10.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-10.cfg new file mode 100644 index 0000000000..35ef6199b3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-10.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-10.phx2.fedoraproject.org + host_name buildvm-10 + use defaultbuilders + check_command check-host-alive + address buildvm-10.phx2.fedoraproject.org + parents buildvmhost-04 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-11.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-11.cfg new file mode 100644 index 0000000000..5706c26aef --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-11.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-11.phx2.fedoraproject.org + host_name buildvm-11 + use defaultbuilders + check_command check-host-alive + address buildvm-11.phx2.fedoraproject.org + parents buildvmhost-04 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-12.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-12.cfg new file mode 100644 index 0000000000..53486410f6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-12.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-12.phx2.fedoraproject.org + host_name buildvm-12 + use defaultbuilders + check_command check-host-alive + address buildvm-12.phx2.fedoraproject.org + parents buildvmhost-04 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-13.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-13.cfg new file mode 100644 index 0000000000..495a0f987d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-13.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-13.phx2.fedoraproject.org + host_name buildvm-13 + use defaultbuilders + check_command check-host-alive + address buildvm-13.phx2.fedoraproject.org + parents buildvmhost-05 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-14.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-14.cfg new file mode 100644 index 0000000000..99e2579783 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-14.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-14.phx2.fedoraproject.org + host_name buildvm-14 + use defaultbuilders + check_command check-host-alive + address buildvm-14.phx2.fedoraproject.org + parents buildvmhost-05 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-15.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-15.cfg new file mode 100644 index 0000000000..0c498d1d70 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-15.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-15.phx2.fedoraproject.org + host_name buildvm-15 + use defaultbuilders + check_command check-host-alive + address buildvm-15.phx2.fedoraproject.org + parents buildvmhost-05 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-16.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-16.cfg new file mode 100644 index 0000000000..f4406bf37d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-16.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-16.phx2.fedoraproject.org + host_name buildvm-16 + use defaultbuilders + check_command check-host-alive + address buildvm-16.phx2.fedoraproject.org + parents buildvmhost-06 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-17.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-17.cfg new file mode 100644 index 0000000000..99cbb93805 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-17.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-17.phx2.fedoraproject.org + host_name buildvm-17 + use defaultbuilders + check_command check-host-alive + address buildvm-17.phx2.fedoraproject.org + parents buildvmhost-06 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-18.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-18.cfg new file mode 100644 index 0000000000..c38b249118 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-18.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-18.phx2.fedoraproject.org + host_name buildvm-18 + use defaultbuilders + check_command check-host-alive + address buildvm-18.phx2.fedoraproject.org + parents buildvmhost-07 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-19.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-19.cfg new file mode 100644 index 0000000000..fc3c54cf37 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-19.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-19.phx2.fedoraproject.org + host_name buildvm-19 + use defaultbuilders + check_command check-host-alive + address buildvm-19.phx2.fedoraproject.org + parents buildvmhost-07 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-20.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-20.cfg new file mode 100644 index 0000000000..0dc432569b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-20.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-20.phx2.fedoraproject.org + host_name buildvm-20 + use defaultbuilders + check_command check-host-alive + address buildvm-20.phx2.fedoraproject.org + parents buildvmhost-07 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-21.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-21.cfg new file mode 100644 index 0000000000..6f3ad02e90 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-21.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-21.phx2.fedoraproject.org + host_name buildvm-21 + use defaultbuilders + check_command check-host-alive + address buildvm-21.phx2.fedoraproject.org + parents buildvmhost-08 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-22.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-22.cfg new file mode 100644 index 0000000000..0eb843502b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-22.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-22.phx2.fedoraproject.org + host_name buildvm-22 + use defaultbuilders + check_command check-host-alive + address buildvm-22.phx2.fedoraproject.org + parents buildvmhost-08 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-23.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-23.cfg new file mode 100644 index 0000000000..bd78e223b8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-23.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-23.phx2.fedoraproject.org + host_name buildvm-23 + use defaultbuilders + check_command check-host-alive + address buildvm-23.phx2.fedoraproject.org + parents buildvmhost-08 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-24.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-24.cfg new file mode 100644 index 0000000000..8e64d16cdf --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-24.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-24.phx2.fedoraproject.org + host_name buildvm-24 + use defaultbuilders + check_command check-host-alive + address buildvm-24.phx2.fedoraproject.org + parents buildvmhost-09 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-25.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-25.cfg new file mode 100644 index 0000000000..2f75439faf --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-25.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-25.phx2.fedoraproject.org + host_name buildvm-25 + use defaultbuilders + check_command check-host-alive + address buildvm-25.phx2.fedoraproject.org + parents buildvmhost-09 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvm-26.cfg b/roles/nagios_server/files/nagios/hosts/buildvm-26.cfg new file mode 100644 index 0000000000..3c1b75c52a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvm-26.cfg @@ -0,0 +1,9 @@ +define host { + alias buildvm-26.phx2.fedoraproject.org + host_name buildvm-26 + use defaultbuilders + check_command check-host-alive + address buildvm-26.phx2.fedoraproject.org + parents buildvmhost-09 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-01.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-01.cfg new file mode 100644 index 0000000000..ee0e3ea175 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-01.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-01.phx2.fedoraproject.org + host_name buildvmhost-01 + use defaultbuilders + check_command check-host-alive + address buildvmhost-01.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-02.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-02.cfg new file mode 100644 index 0000000000..0b77bd8ac8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-02.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-02.phx2.fedoraproject.org + host_name buildvmhost-02 + use defaultbuilders + check_command check-host-alive + address buildvmhost-02.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-03.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-03.cfg new file mode 100644 index 0000000000..e3449c602d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-03.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-03.phx2.fedoraproject.org + host_name buildvmhost-03 + use defaultbuilders + check_command check-host-alive + address buildvmhost-03.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-04.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-04.cfg new file mode 100644 index 0000000000..e39d6c044a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-04.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-04.phx2.fedoraproject.org + host_name buildvmhost-04 + use defaultbuilders + check_command check-host-alive + address buildvmhost-04.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-05.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-05.cfg new file mode 100644 index 0000000000..609c03bc4b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-05.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-05.phx2.fedoraproject.org + host_name buildvmhost-05 + use defaultbuilders + check_command check-host-alive + address buildvmhost-05.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-06.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-06.cfg new file mode 100644 index 0000000000..0f27c55a04 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-06.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-06.phx2.fedoraproject.org + host_name buildvmhost-06 + use defaultbuilders + check_command check-host-alive + address buildvmhost-06.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-07.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-07.cfg new file mode 100644 index 0000000000..31f1f2f0bf --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-07.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-07.phx2.fedoraproject.org + host_name buildvmhost-07 + use defaultbuilders + check_command check-host-alive + address buildvmhost-07.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-08.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-08.cfg new file mode 100644 index 0000000000..c73d47c9d7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-08.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-08.phx2.fedoraproject.org + host_name buildvmhost-08 + use defaultbuilders + check_command check-host-alive + address buildvmhost-08.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/buildvmhost-09.cfg b/roles/nagios_server/files/nagios/hosts/buildvmhost-09.cfg new file mode 100644 index 0000000000..4d38b429ab --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/buildvmhost-09.cfg @@ -0,0 +1,8 @@ +define host { + alias buildvmhost-09.phx2.fedoraproject.org + host_name buildvmhost-09 + use defaultbuilders + check_command check-host-alive + address buildvmhost-09.phx2.fedoraproject.org + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/busgateway01-stg.cfg b/roles/nagios_server/files/nagios/hosts/busgateway01-stg.cfg new file mode 100644 index 0000000000..64d0896328 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/busgateway01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name busgateway01.stg + alias busgateway01.stg.phx2.fedoraproject.org + use defaulttemplate + address busgateway01.stg.phx2.fedoraproject.org + parents virthost11 +} diff --git a/roles/nagios_server/files/nagios/hosts/busgateway01.cfg b/roles/nagios_server/files/nagios/hosts/busgateway01.cfg new file mode 100644 index 0000000000..d19b986fc7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/busgateway01.cfg @@ -0,0 +1,7 @@ +define host { + host_name busgateway01 + alias busgateway01.phx2.fedoraproject.org + use defaulttemplate + address busgateway01.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost01-mgmt.cfg new file mode 100644 index 0000000000..6cb8fffa6a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost01-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost01-mgmt + alias bvirthost01-mgmt.phx2.fedoraproject.org + use mincheck + address bvirthost01-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost01.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost01.cfg new file mode 100644 index 0000000000..1795fb21b8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost01.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost01 + alias bvirthost01.phx2.fedoraproject.org + use defaulttemplate + address bvirthost01.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost02.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost02.cfg new file mode 100644 index 0000000000..dd88cab46d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost02.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost02 + alias bvirthost02.phx2.fedoraproject.org + use defaulttemplate + address bvirthost02.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost03.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost03.cfg new file mode 100644 index 0000000000..c642fd119c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost03.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost03 + alias bvirthost03.phx2.fedoraproject.org + use defaulttemplate + address bvirthost03.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost04-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost04-mgmt.cfg new file mode 100644 index 0000000000..81c6098bfd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost04-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name bvirthost04-mgmt + alias bvirthost04-mgmt.phx2.fedoraproject.org + use mincheck + address bvirthost04-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost04.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost04.cfg new file mode 100644 index 0000000000..c94e70fc9d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost04.cfg @@ -0,0 +1,8 @@ +define host { + host_name bvirthost04 + alias bvirthost04.phx2.fedoraproject.org + use defaulttemplate + address bvirthost04.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost05-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost05-mgmt.cfg new file mode 100644 index 0000000000..b4404c5bc0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost05-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost05-mgmt + alias bvirthost05-mgmt.phx2.fedoraproject.org + use mincheck + address bvirthost05-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost05.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost05.cfg new file mode 100644 index 0000000000..52b7181761 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost05.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost05 + alias bvirthost05.phx2.fedoraproject.org + use defaulttemplate + address bvirthost05.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost07-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost07-mgmt.cfg new file mode 100644 index 0000000000..9d70be6c5a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost07-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost07-mgmt + alias bvirthost07-mgmt.phx2.fedoraproject.org + use mincheck + address bvirthost07-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/bvirthost07.cfg b/roles/nagios_server/files/nagios/hosts/bvirthost07.cfg new file mode 100644 index 0000000000..33fc5519d3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/bvirthost07.cfg @@ -0,0 +1,7 @@ +define host { + host_name bvirthost07 + alias bvirthost07.phx2.fedoraproject.org + use defaulttemplate + address bvirthost07.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/collab03.cfg b/roles/nagios_server/files/nagios/hosts/collab03.cfg new file mode 100644 index 0000000000..18b249a190 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/collab03.cfg @@ -0,0 +1,7 @@ +define host { + host_name collab03 + alias collab03.fedoraproject.org + use defaulttemplate + address 140.211.169.198 + parents osuosl02 +} diff --git a/roles/nagios_server/files/nagios/hosts/collab04.cfg b/roles/nagios_server/files/nagios/hosts/collab04.cfg new file mode 100644 index 0000000000..c63112f0d7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/collab04.cfg @@ -0,0 +1,7 @@ +define host { + host_name collab04 + alias collab04.fedoraproject.org + use defaulttemplate + address 152.19.134.193 + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/coloamer01.cfg b/roles/nagios_server/files/nagios/hosts/coloamer01.cfg new file mode 100644 index 0000000000..ebe39e0b1f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/coloamer01.cfg @@ -0,0 +1,7 @@ +define host { + host_name coloamer01 + alias coloamer01.fedoraproject.org + use defaulttemplate + address coloamer01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/darkserver01.cfg b/roles/nagios_server/files/nagios/hosts/darkserver01.cfg new file mode 100644 index 0000000000..2d1275d28f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/darkserver01.cfg @@ -0,0 +1,7 @@ +define host { + host_name darkserver01 + alias darkserver01.phx2.fedoraproject.org + use defaulttemplate + address darkserver01.phx2.fedoraproject.org + parents virthost08 +} diff --git a/roles/nagios_server/files/nagios/hosts/datagrepper01.cfg b/roles/nagios_server/files/nagios/hosts/datagrepper01.cfg new file mode 100644 index 0000000000..e9a3510f0f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/datagrepper01.cfg @@ -0,0 +1,7 @@ +define host { + host_name datagrepper01 + alias datagrepper01.phx2.fedoraproject.org + use defaulttemplate + address datagrepper01.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/datagrepper02.cfg b/roles/nagios_server/files/nagios/hosts/datagrepper02.cfg new file mode 100644 index 0000000000..79005efcf5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/datagrepper02.cfg @@ -0,0 +1,7 @@ +define host { + host_name datagrepper02 + alias datagrepper02.phx2.fedoraproject.org + use defaulttemplate + address datagrepper02.phx2.fedoraproject.org + parents virthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/db-fas01.cfg b/roles/nagios_server/files/nagios/hosts/db-fas01.cfg new file mode 100644 index 0000000000..49efee56b0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/db-fas01.cfg @@ -0,0 +1,7 @@ +define host { + host_name db-fas01 + alias db-fas01.phx2.fedoraproject.org + use defaulttemplate + address db-fas01.phx2.fedoraproject.org + parents virthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/db01.cfg b/roles/nagios_server/files/nagios/hosts/db01.cfg new file mode 100644 index 0000000000..a1ff8e7d88 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/db01.cfg @@ -0,0 +1,7 @@ +define host { + host_name db01 + alias db01.phx2.fedoraproject.org + use defaulttemplate + address db01.phx2.fedoraproject.org + parents virthost04 +} diff --git a/roles/nagios_server/files/nagios/hosts/db02-stg.cfg b/roles/nagios_server/files/nagios/hosts/db02-stg.cfg new file mode 100644 index 0000000000..c9cf48dc2c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/db02-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name db02.stg + alias db02.stg.phx2.fedoraproject.org + use defaulttemplate + address db02.stg.phx2.fedoraproject.org + parents virthost10 +} diff --git a/roles/nagios_server/files/nagios/hosts/db04.cfg b/roles/nagios_server/files/nagios/hosts/db04.cfg new file mode 100644 index 0000000000..93b2c54512 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/db04.cfg @@ -0,0 +1,7 @@ +define host { + host_name db04 + alias db04.phx2.fedoraproject.org + use defaulttemplate + address db04.phx2.fedoraproject.org + parents bvirthost01 +} diff --git a/roles/nagios_server/files/nagios/hosts/db05.cfg b/roles/nagios_server/files/nagios/hosts/db05.cfg new file mode 100644 index 0000000000..43ceeadd9a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/db05.cfg @@ -0,0 +1,7 @@ +define host { + host_name db05 + alias db05.phx2.fedoraproject.org + use defaulttemplate + address db05.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/dhcp01.cfg b/roles/nagios_server/files/nagios/hosts/dhcp01.cfg new file mode 100644 index 0000000000..6f4f4331ab --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/dhcp01.cfg @@ -0,0 +1,7 @@ +define host { + host_name dhcp01 + alias dhcp01.phx2.fedoraproject.org + use defaulttemplate + address dhcp01.phx2.fedoraproject.org + parents bvirthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/download-ib01.cfg b/roles/nagios_server/files/nagios/hosts/download-ib01.cfg new file mode 100644 index 0000000000..5306626731 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download-ib01.cfg @@ -0,0 +1,7 @@ +define host { + host_name download-ib01 + alias download-ib01.fedoraproject.org + use defaulttemplate + address download-ib01.fedoraproject.org + parents ibiblio01 +} diff --git a/roles/nagios_server/files/nagios/hosts/download-rdu01.cfg b/roles/nagios_server/files/nagios/hosts/download-rdu01.cfg new file mode 100644 index 0000000000..2299fd7463 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download-rdu01.cfg @@ -0,0 +1,7 @@ +define host { + host_name download-rdu01 + alias download-rdu01.vpn.fedoraproject.org + use defaulttemplate + address download-rdu01.vpn.fedoraproject.org + parents bastion-vpn +} diff --git a/roles/nagios_server/files/nagios/hosts/download-rdu02.cfg b/roles/nagios_server/files/nagios/hosts/download-rdu02.cfg new file mode 100644 index 0000000000..36406341b3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download-rdu02.cfg @@ -0,0 +1,7 @@ +define host { + host_name download-rdu02 + alias download-rdu02.vpn.fedoraproject.org + use defaulttemplate + address download-rdu02.vpn.fedoraproject.org + parents bastion-vpn +} diff --git a/roles/nagios_server/files/nagios/hosts/download-rdu03.cfg b/roles/nagios_server/files/nagios/hosts/download-rdu03.cfg new file mode 100644 index 0000000000..b6799cc734 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download-rdu03.cfg @@ -0,0 +1,7 @@ +define host { + host_name download-rdu03 + alias download-rdu03.vpn.fedoraproject.org + use defaulttemplate + address download-rdu03.vpn.fedoraproject.org + parents bastion-vpn +} diff --git a/roles/nagios_server/files/nagios/hosts/download01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/download01-mgmt.cfg new file mode 100644 index 0000000000..00f4c40f8b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download01-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name download01-mgmt + alias download01-mgmt.phx2.fedoraproject.org + use mincheck + address download01-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download01.cfg b/roles/nagios_server/files/nagios/hosts/download01.cfg new file mode 100644 index 0000000000..dc52012506 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download01.cfg @@ -0,0 +1,7 @@ +define host { + host_name download01 + alias download01.phx2.fedoraproject.org + use defaulttemplate + address download01.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/download02-mgmt.cfg new file mode 100644 index 0000000000..c7dd0c239b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name download02-mgmt + alias download02-mgmt.phx2.fedoraproject.org + use mincheck + address download02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download02.cfg b/roles/nagios_server/files/nagios/hosts/download02.cfg new file mode 100644 index 0000000000..f9a3b02132 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download02.cfg @@ -0,0 +1,7 @@ +define host { + host_name download02 + alias download02.phx2.fedoraproject.org + use defaulttemplate + address download02.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download03-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/download03-mgmt.cfg new file mode 100644 index 0000000000..3281348592 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download03-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name download03-mgmt + alias download03-mgmt.phx2.fedoraproject.org + use mincheck + address download03-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download03.cfg b/roles/nagios_server/files/nagios/hosts/download03.cfg new file mode 100644 index 0000000000..095c66737e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download03.cfg @@ -0,0 +1,7 @@ +define host { + host_name download03 + alias download03.phx2.fedoraproject.org + use defaulttemplate + address download03.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download04-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/download04-mgmt.cfg new file mode 100644 index 0000000000..17fa756c08 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download04-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name download04-mgmt + alias download04-mgmt.phx2.fedoraproject.org + use mincheck + address download04-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download04.cfg b/roles/nagios_server/files/nagios/hosts/download04.cfg new file mode 100644 index 0000000000..32a8c66b40 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download04.cfg @@ -0,0 +1,7 @@ +define host { + host_name download04 + alias download04.phx2.fedoraproject.org + use defaulttemplate + address download04.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download05-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/download05-mgmt.cfg new file mode 100644 index 0000000000..77389fd476 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download05-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name download05-mgmt + alias download05-mgmt.phx2.fedoraproject.org + use mincheck + address download05-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/download05.cfg b/roles/nagios_server/files/nagios/hosts/download05.cfg new file mode 100644 index 0000000000..3ba3e3afea --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/download05.cfg @@ -0,0 +1,7 @@ +define host { + host_name download05 + alias download05.phx2.fedoraproject.org + use defaulttemplate + address download05.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/fakefas01.cfg b/roles/nagios_server/files/nagios/hosts/fakefas01.cfg new file mode 100644 index 0000000000..ede22cdf76 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fakefas01.cfg @@ -0,0 +1,7 @@ +define host { + host_name fakefas01 + alias fakefas01.fedoraproject.org + use defaulttemplate + address fakefas01.fedoraproject.org + parents osuosl01 +} diff --git a/roles/nagios_server/files/nagios/hosts/fas01-stg.cfg b/roles/nagios_server/files/nagios/hosts/fas01-stg.cfg new file mode 100644 index 0000000000..bf2a26bb91 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fas01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name fas01.stg + alias fas01.stg.phx2.fedoraproject.org + use defaulttemplate + address fas01.stg.phx2.fedoraproject.org + parents virthost10 +} diff --git a/roles/nagios_server/files/nagios/hosts/fas01.cfg b/roles/nagios_server/files/nagios/hosts/fas01.cfg new file mode 100644 index 0000000000..22baa0a2bb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fas01.cfg @@ -0,0 +1,7 @@ +define host { + host_name fas01 + alias fas01.phx2.fedoraproject.org + use defaulttemplate + address fas01.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/fas02.cfg b/roles/nagios_server/files/nagios/hosts/fas02.cfg new file mode 100644 index 0000000000..06defe7355 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fas02.cfg @@ -0,0 +1,7 @@ +define host { + host_name fas02 + alias fas02.phx2.fedoraproject.org + use defaulttemplate + address fas02.phx2.fedoraproject.org + parents virthost02 +} diff --git a/roles/nagios_server/files/nagios/hosts/fas03.cfg b/roles/nagios_server/files/nagios/hosts/fas03.cfg new file mode 100644 index 0000000000..3986cfc5f7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fas03.cfg @@ -0,0 +1,7 @@ +define host { + host_name fas03 + alias fas03.phx2.fedoraproject.org + use defaulttemplate + address fas03.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/fedoauth01.cfg b/roles/nagios_server/files/nagios/hosts/fedoauth01.cfg new file mode 100644 index 0000000000..8295007280 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fedoauth01.cfg @@ -0,0 +1,7 @@ +define host { + host_name fedoauth01 + alias fedoauth01.phx2.fedoraproject.org + use defaulttemplate + address fedoauth01.phx2.fedoraproject.org + parents virthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/fedoauth02.cfg b/roles/nagios_server/files/nagios/hosts/fedoauth02.cfg new file mode 100644 index 0000000000..18f0b3060b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fedoauth02.cfg @@ -0,0 +1,7 @@ +define host { + host_name fedoauth02 + alias fedoauth02.phx2.fedoraproject.org + use defaulttemplate + address fedoauth02.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/fedocal01.cfg b/roles/nagios_server/files/nagios/hosts/fedocal01.cfg new file mode 100644 index 0000000000..96e3030ac3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fedocal01.cfg @@ -0,0 +1,7 @@ +define host { + host_name fedocal01 + alias fedocal01.phx2.fedoraproject.org + use defaulttemplate + address fedocal01.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/fedocal02.cfg b/roles/nagios_server/files/nagios/hosts/fedocal02.cfg new file mode 100644 index 0000000000..2ca53dbcf6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fedocal02.cfg @@ -0,0 +1,7 @@ +define host { + host_name fedocal02 + alias fedocal02.phx2.fedoraproject.org + use defaulttemplate + address fedocal02.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/fwsm01-gw.cfg b/roles/nagios_server/files/nagios/hosts/fwsm01-gw.cfg new file mode 100644 index 0000000000..5f1c3d476f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/fwsm01-gw.cfg @@ -0,0 +1,7 @@ +define host { + host_name fwsm01-gw + alias PHX2 Router + use defaulttemplate + check_command check-host-alive + address 10.5.126.254 +} diff --git a/roles/nagios_server/files/nagios/hosts/hosted-lists01.cfg b/roles/nagios_server/files/nagios/hosts/hosted-lists01.cfg new file mode 100644 index 0000000000..665f0e67a0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/hosted-lists01.cfg @@ -0,0 +1,7 @@ +define host { + host_name hosted-lists01 + alias hosted-lists01.fedoraproject.org + use defaulttemplate + address 85.236.55.8 + parents internetx01 +} diff --git a/roles/nagios_server/files/nagios/hosts/hosted01.cfg b/roles/nagios_server/files/nagios/hosts/hosted01.cfg new file mode 100644 index 0000000000..2ab4562e47 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/hosted01.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name hosted01 +# alias hosted01.fedoraproject.org +# use defaulttemplate +# address 66.135.62.201 +# parents serverbeach06 +# } diff --git a/roles/nagios_server/files/nagios/hosts/hosted02.cfg b/roles/nagios_server/files/nagios/hosts/hosted02.cfg new file mode 100644 index 0000000000..9ba86f1747 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/hosted02.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name hosted02 +# alias hosted02.fedoraproject.org +# use defaulttemplate +# address 66.135.62.187 +# parents serverbeach07 +# } diff --git a/roles/nagios_server/files/nagios/hosts/hosted03.cfg b/roles/nagios_server/files/nagios/hosts/hosted03.cfg new file mode 100644 index 0000000000..df96a03580 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/hosted03.cfg @@ -0,0 +1,7 @@ +define host { + host_name hosted03 + alias hosted03.fedoraproject.org + use defaulttemplate + address 140.211.169.199 + parents osuosl02 +} diff --git a/roles/nagios_server/files/nagios/hosts/hosted04.cfg b/roles/nagios_server/files/nagios/hosts/hosted04.cfg new file mode 100644 index 0000000000..efdee98507 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/hosted04.cfg @@ -0,0 +1,7 @@ +define host { + host_name hosted04 + alias hosted04.fedoraproject.org + use defaulttemplate + address 152.19.134.149 + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/ibiblio-gw.cfg b/roles/nagios_server/files/nagios/hosts/ibiblio-gw.cfg new file mode 100644 index 0000000000..259258755e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ibiblio-gw.cfg @@ -0,0 +1,8 @@ +define host { + host_name ibiblio-gw + alias ibiblio gateway + use mincheck + check_command check-host-alive + address 152.19.134.129 + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/ibiblio01.cfg b/roles/nagios_server/files/nagios/hosts/ibiblio01.cfg new file mode 100644 index 0000000000..caccef60be --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ibiblio01.cfg @@ -0,0 +1,7 @@ +define host { + host_name ibiblio01 + alias ibiblio01.fedoraproject.org + use defaulttemplate + address ibiblio01.fedoraproject.org + parents ibiblio-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/ibiblio02.cfg b/roles/nagios_server/files/nagios/hosts/ibiblio02.cfg new file mode 100644 index 0000000000..aec50857e3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ibiblio02.cfg @@ -0,0 +1,7 @@ +define host { + host_name ibiblio02 + alias ibiblio02.fedoraproject.org + use defaulttemplate + address ibiblio02.fedoraproject.org + parents ibiblio-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/ibiblio03.cfg b/roles/nagios_server/files/nagios/hosts/ibiblio03.cfg new file mode 100644 index 0000000000..962623db15 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ibiblio03.cfg @@ -0,0 +1,7 @@ +define host { + host_name ibiblio03 + alias ibiblio03.fedoraproject.org + use defaulttemplate + address ibiblio03.fedoraproject.org + parents ibiblio-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/imagebuiler.cfg b/roles/nagios_server/files/nagios/hosts/imagebuiler.cfg new file mode 100644 index 0000000000..204279b490 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/imagebuiler.cfg @@ -0,0 +1,9 @@ +define host { + host_name imagebuilder + alias imagebuilder.qa.fedoraproject.org + use defaultbuilders + check_command check-host-alive + address imagebuilder.qa.fedoraproject.org + parents virthost-comm01 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/internetx01.cfg b/roles/nagios_server/files/nagios/hosts/internetx01.cfg new file mode 100644 index 0000000000..53bb303acc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/internetx01.cfg @@ -0,0 +1,7 @@ +define host { + host_name internetx01 + alias internetx01.fedoraproject.org + use defaulttemplate + address internetx01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/koji01-stg.cfg b/roles/nagios_server/files/nagios/hosts/koji01-stg.cfg new file mode 100644 index 0000000000..5284d33327 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/koji01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name koji01.stg + alias koji01.stg.phx2.fedoraproject.org + use defaulttemplate + address koji01.stg.phx2.fedoraproject.org + parents virthost10 +} diff --git a/roles/nagios_server/files/nagios/hosts/koji03.cfg b/roles/nagios_server/files/nagios/hosts/koji03.cfg new file mode 100644 index 0000000000..35b85cc070 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/koji03.cfg @@ -0,0 +1,7 @@ +define host { + host_name koji03 + alias koji03.phx2.fedoraproject.org + use defaulttemplate + address koji03.phx2.fedoraproject.org + parents bvirthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/koji04.cfg b/roles/nagios_server/files/nagios/hosts/koji04.cfg new file mode 100644 index 0000000000..8f999fee03 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/koji04.cfg @@ -0,0 +1,7 @@ +define host { + host_name koji04 + alias koji04.phx2.fedoraproject.org + use defaulttemplate + address koji04.phx2.fedoraproject.org + parents bvirthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/kojipkgs02.cfg b/roles/nagios_server/files/nagios/hosts/kojipkgs02.cfg new file mode 100644 index 0000000000..6982ca924d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/kojipkgs02.cfg @@ -0,0 +1,7 @@ +define host { + host_name kojipkgs02 + alias kojipkgs02.phx2.fedoraproject.org + use defaulttemplate + address kojipkgs02.phx2.fedoraproject.org + parents bvirthost04 +} diff --git a/roles/nagios_server/files/nagios/hosts/lockbox01.cfg b/roles/nagios_server/files/nagios/hosts/lockbox01.cfg new file mode 100644 index 0000000000..d84d58edd6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/lockbox01.cfg @@ -0,0 +1,7 @@ +define host { + host_name lockbox01 + alias lockbox01.phx2.fedoraproject.org + use defaulttemplate + address lockbox01.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/log02.cfg b/roles/nagios_server/files/nagios/hosts/log02.cfg new file mode 100644 index 0000000000..3f9b02f648 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/log02.cfg @@ -0,0 +1,7 @@ +define host { + host_name log02 + alias log02.phx2.fedoraproject.org + use defaulttemplate + address log02.phx2.fedoraproject.org + parents virthost02 +} diff --git a/roles/nagios_server/files/nagios/hosts/memcached03.cfg b/roles/nagios_server/files/nagios/hosts/memcached03.cfg new file mode 100644 index 0000000000..fb4aa84b76 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/memcached03.cfg @@ -0,0 +1,7 @@ +define host { + host_name memcached03 + alias memcached03.phx2.fedoraproject.org + use defaulttemplate + address memcached03.phx2.fedoraproject.org + parents virthost02 +} diff --git a/roles/nagios_server/files/nagios/hosts/memcached04.cfg b/roles/nagios_server/files/nagios/hosts/memcached04.cfg new file mode 100644 index 0000000000..7ab4b0c008 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/memcached04.cfg @@ -0,0 +1,7 @@ +define host { + host_name memcached04 + alias memcached04.phx2.fedoraproject.org + use defaulttemplate + address memcached04.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/mirrorlist-ibiblio.cfg b/roles/nagios_server/files/nagios/hosts/mirrorlist-ibiblio.cfg new file mode 100644 index 0000000000..d5ae3ae3ef --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/mirrorlist-ibiblio.cfg @@ -0,0 +1,7 @@ +define host { + host_name mirrorlist-ibiblio + alias mirrorlist-ibiblio.fedoraproject.org + use defaulttemplate + address mirrorlist-ibiblio.fedoraproject.org + parents ibiblio03 +} diff --git a/roles/nagios_server/files/nagios/hosts/mirrorlist-osuosl.cfg b/roles/nagios_server/files/nagios/hosts/mirrorlist-osuosl.cfg new file mode 100644 index 0000000000..8b215da778 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/mirrorlist-osuosl.cfg @@ -0,0 +1,7 @@ +define host { + host_name mirrorlist-osuosl + alias mirrorlist-osuosl.fedoraproject.org + use defaulttemplate + address mirrorlist-osuosl.fedoraproject.org + parents osuosl02 +} diff --git a/roles/nagios_server/files/nagios/hosts/mirrorlist-phx2.cfg b/roles/nagios_server/files/nagios/hosts/mirrorlist-phx2.cfg new file mode 100644 index 0000000000..4912a2e065 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/mirrorlist-phx2.cfg @@ -0,0 +1,7 @@ +define host { + host_name mirrorlist-phx2 + alias mirrorlist-phx2.phx2.fedoraproject.org + use defaulttemplate + address mirrorlist-phx2.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/mirrorlist-serverbeach.cfg b/roles/nagios_server/files/nagios/hosts/mirrorlist-serverbeach.cfg new file mode 100644 index 0000000000..4ba4d080a0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/mirrorlist-serverbeach.cfg @@ -0,0 +1,7 @@ +define host { + host_name mirrorlist-serverbeach + alias mirrorlist-serverbeach.fedoraproject.org + use defaulttemplate + address mirrorlist-serverbeach.fedoraproject.org + parents serverbeach10 +} diff --git a/roles/nagios_server/files/nagios/hosts/nfs01.cfg b/roles/nagios_server/files/nagios/hosts/nfs01.cfg new file mode 100644 index 0000000000..8e2a8f4429 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/nfs01.cfg @@ -0,0 +1,7 @@ +define host { + host_name nfs01 + alias nfs01.phx2.fedoraproject.org + use defaulttemplate + address nfs01.phx2.fedoraproject.org + parents bvirthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/noc01.cfg b/roles/nagios_server/files/nagios/hosts/noc01.cfg new file mode 100644 index 0000000000..e8208e6631 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/noc01.cfg @@ -0,0 +1,7 @@ +define host { + host_name noc01 + alias noc01.phx2.fedoraproject.org + use defaulttemplate + address 127.0.0.1 + parents virthost02 +} diff --git a/roles/nagios_server/files/nagios/hosts/noc02.cfg b/roles/nagios_server/files/nagios/hosts/noc02.cfg new file mode 100644 index 0000000000..41ffcd4fa8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/noc02.cfg @@ -0,0 +1,7 @@ +define host { + host_name noc02 + alias noc02.fedoraproject.org + use defaulttemplate + address noc02.fedoraproject.org + parents ibiblio01 +} diff --git a/roles/nagios_server/files/nagios/hosts/notifs-backend01.cfg b/roles/nagios_server/files/nagios/hosts/notifs-backend01.cfg new file mode 100644 index 0000000000..08352a3638 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/notifs-backend01.cfg @@ -0,0 +1,7 @@ +define host { + host_name notifs-backend01 + alias notifs-backend01.phx2.fedoraproject.org + use defaulttemplate + address notifs-backend01.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/notifs-web01.cfg b/roles/nagios_server/files/nagios/hosts/notifs-web01.cfg new file mode 100644 index 0000000000..1c8f08bc2a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/notifs-web01.cfg @@ -0,0 +1,7 @@ +define host { + host_name notifs-web01 + alias notifs-web01.phx2.fedoraproject.org + use defaulttemplate + address notifs-web01.phx2.fedoraproject.org + parents virthost04 +} diff --git a/roles/nagios_server/files/nagios/hosts/notifs-web02.cfg b/roles/nagios_server/files/nagios/hosts/notifs-web02.cfg new file mode 100644 index 0000000000..62476250f9 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/notifs-web02.cfg @@ -0,0 +1,7 @@ +define host { + host_name notifs-web02 + alias notifs-web02.phx2.fedoraproject.org + use defaulttemplate + address notifs-web02.phx2.fedoraproject.org + parents virthost06 +} diff --git a/roles/nagios_server/files/nagios/hosts/ns-sb01.cfg b/roles/nagios_server/files/nagios/hosts/ns-sb01.cfg new file mode 100644 index 0000000000..e40db02dcc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ns-sb01.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns-sb01 + alias ns-sb01.fedoraproject.org + use defaulttemplate + address 69.174.247.243 + parents serverbeach09 +} diff --git a/roles/nagios_server/files/nagios/hosts/ns02.cfg b/roles/nagios_server/files/nagios/hosts/ns02.cfg new file mode 100644 index 0000000000..373dbc0e11 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ns02.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns02 + alias ns02.fedoraproject.org + use defaulttemplate + address ns02.fedoraproject.org + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/ns03.cfg b/roles/nagios_server/files/nagios/hosts/ns03.cfg new file mode 100644 index 0000000000..9f93787669 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ns03.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns03 + alias ns03.phx2.fedoraproject.org + use defaulttemplate + address ns03.phx2.fedoraproject.org + parents virthost08 +} diff --git a/roles/nagios_server/files/nagios/hosts/ns04.cfg b/roles/nagios_server/files/nagios/hosts/ns04.cfg new file mode 100644 index 0000000000..5eceab03f4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ns04.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns04 + alias ns04.phx2.fedoraproject.org + use defaulttemplate + address ns04.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/ns05.cfg b/roles/nagios_server/files/nagios/hosts/ns05.cfg new file mode 100644 index 0000000000..5b554b47ed --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ns05.cfg @@ -0,0 +1,7 @@ +define host { + host_name ns05 + alias ns05.fedoraproject.org + use defaulttemplate + address ns05.fedoraproject.org + parents internetx01 +} diff --git a/roles/nagios_server/files/nagios/hosts/nuancier01.cfg b/roles/nagios_server/files/nagios/hosts/nuancier01.cfg new file mode 100644 index 0000000000..9a6f2eb2d4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/nuancier01.cfg @@ -0,0 +1,7 @@ +define host { + host_name nuancier01 + alias nuancier01.phx2.fedoraproject.org + use defaulttemplate + address nuancier01.phx2.fedoraproject.org + parents virthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/nuancier02.cfg b/roles/nagios_server/files/nagios/hosts/nuancier02.cfg new file mode 100644 index 0000000000..6fecb67b92 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/nuancier02.cfg @@ -0,0 +1,7 @@ +define host { + host_name nuancier02 + alias nuancier02.phx2.fedoraproject.org + use defaulttemplate + address nuancier02.phx2.fedoraproject.org + parents virthost09 +} diff --git a/roles/nagios_server/files/nagios/hosts/openid01.cfg b/roles/nagios_server/files/nagios/hosts/openid01.cfg new file mode 100644 index 0000000000..8585744034 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/openid01.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name openid01 +# alias openid01.phx2.fedoraproject.org +# use defaulttemplate +# address openid01.phx2.fedoraproject.org +# parents virthost14 +#} diff --git a/roles/nagios_server/files/nagios/hosts/openid02.cfg b/roles/nagios_server/files/nagios/hosts/openid02.cfg new file mode 100644 index 0000000000..8284f5de9d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/openid02.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name openid02 +# alias openid02.phx2.fedoraproject.org +# use defaulttemplate +# address openid02.phx2.fedoraproject.org +# parents virthost02 +#} diff --git a/roles/nagios_server/files/nagios/hosts/osuosl01.cfg b/roles/nagios_server/files/nagios/hosts/osuosl01.cfg new file mode 100644 index 0000000000..801418d1df --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/osuosl01.cfg @@ -0,0 +1,7 @@ +define host { + host_name osuosl01 + alias osuosl01.fedoraproject.org + use defaulttemplate + address osuosl01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/osuosl02.cfg b/roles/nagios_server/files/nagios/hosts/osuosl02.cfg new file mode 100644 index 0000000000..1b9cb265b7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/osuosl02.cfg @@ -0,0 +1,7 @@ +define host { + host_name osuosl02 + alias osuosl02.fedoraproject.org + use defaulttemplate + address osuosl02.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/packages03.cfg b/roles/nagios_server/files/nagios/hosts/packages03.cfg new file mode 100644 index 0000000000..9f40cf1f93 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/packages03.cfg @@ -0,0 +1,7 @@ +define host { + host_name packages03 + alias packages03.phx2.fedoraproject.org + use defaulttemplate + address packages03.phx2.fedoraproject.org + parents virthost01 +} diff --git a/roles/nagios_server/files/nagios/hosts/packages04.cfg b/roles/nagios_server/files/nagios/hosts/packages04.cfg new file mode 100644 index 0000000000..7147d53345 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/packages04.cfg @@ -0,0 +1,7 @@ +define host { + host_name packages04 + alias packages04.phx2.fedoraproject.org + use defaulttemplate + address packages04.phx2.fedoraproject.org + parents virthost03 +} diff --git a/roles/nagios_server/files/nagios/hosts/paste01.cfg b/roles/nagios_server/files/nagios/hosts/paste01.cfg new file mode 100644 index 0000000000..d5ba2a447c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/paste01.cfg @@ -0,0 +1,7 @@ +define host { + host_name paste01 + alias paste01.phx2.fedoraproject.org + use defaulttemplate + address paste01.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/paste02.cfg b/roles/nagios_server/files/nagios/hosts/paste02.cfg new file mode 100644 index 0000000000..6e8b2cd8bb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/paste02.cfg @@ -0,0 +1,7 @@ +define host { + host_name paste02 + alias paste02.phx2.fedoraproject.org + use defaulttemplate + address paste02.phx2.fedoraproject.org + parents virthost14 +} diff --git a/roles/nagios_server/files/nagios/hosts/people03.cfg b/roles/nagios_server/files/nagios/hosts/people03.cfg new file mode 100644 index 0000000000..fa8a869ce4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/people03.cfg @@ -0,0 +1,7 @@ +define host { + host_name people03 + alias people03.fedoraproject.org + use defaulttemplate + address people03.fedoraproject.org + parents ibiblio03 +} diff --git a/roles/nagios_server/files/nagios/hosts/pkgs01-stg.cfg b/roles/nagios_server/files/nagios/hosts/pkgs01-stg.cfg new file mode 100644 index 0000000000..0fb260f3b9 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/pkgs01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name pkgs01.stg + alias pkgs01.stg.phx2.fedoraproject.org + use defaulttemplate + address pkgs01.stg.phx2.fedoraproject.org + parents virthost11 +} diff --git a/roles/nagios_server/files/nagios/hosts/pkgs01.cfg b/roles/nagios_server/files/nagios/hosts/pkgs01.cfg new file mode 100644 index 0000000000..6046770008 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/pkgs01.cfg @@ -0,0 +1,7 @@ +define host { + host_name pkgs01 + alias pkgs01.phx2.fedoraproject.org + use defaulttemplate + address pkgs01.phx2.fedoraproject.org + parents bvirthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/ppc-composer.cfg b/roles/nagios_server/files/nagios/hosts/ppc-composer.cfg new file mode 100644 index 0000000000..da50bd1a9c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ppc-composer.cfg @@ -0,0 +1,6 @@ +define host { + host_name ppc-composer + alias ppc-composer.qa.fedoraproject.org + use ppc-secondarytemplate + address ppc-composer.qa.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios/hosts/ppc-hub.cfg b/roles/nagios_server/files/nagios/hosts/ppc-hub.cfg new file mode 100644 index 0000000000..f7c83500bb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/ppc-hub.cfg @@ -0,0 +1,6 @@ +define host { + host_name ppc-hub + alias ppc-hub.qa.fedoraproject.org + use ppc-secondarytemplate + address ppc-hub.qa.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy01-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy01-fpo.cfg new file mode 100644 index 0000000000..d4439cfb4c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy01-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy01-fpo + alias proxy01-fpo.phx2.fedoraproject.org + use defaulttemplate + address proxy01.phx2.fedoraproject.org + parents proxy01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy01-stg.cfg b/roles/nagios_server/files/nagios/hosts/proxy01-stg.cfg new file mode 100644 index 0000000000..fdfe3e470d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy01.stg + alias proxy01.stg.phx2.fedoraproject.org + use defaulttemplate + address proxy01.stg.phx2.fedoraproject.org + parents virthost12 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy01-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy01-wildcard.cfg new file mode 100644 index 0000000000..7572c73acb --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy01-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy01-wildcard + alias proxy01-2 + use defaulttemplate + address 10.5.126.52 + parents proxy01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy01.cfg b/roles/nagios_server/files/nagios/hosts/proxy01.cfg new file mode 100644 index 0000000000..5bd2c84993 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy01.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy01 + alias proxy01.phx2.fedoraproject.org + use defaulttemplate + address proxy01.phx2.fedoraproject.org + parents virthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy02-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy02-fpo.cfg new file mode 100644 index 0000000000..3f07b60c7b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy02-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy02-fpo + alias proxy02-fpo.fedoraproject.org + use defaulttemplate + address 85.236.55.5 + parents proxy02 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy02-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy02-wildcard.cfg new file mode 100644 index 0000000000..0bf60b89cd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy02-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy02-wildcard + alias proxy02-wildcard.fedoraproject.org + use defaulttemplate + address 85.236.55.6 + parents proxy02 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy02.cfg b/roles/nagios_server/files/nagios/hosts/proxy02.cfg new file mode 100644 index 0000000000..8dae37f5ea --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy02.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy02 + alias proxy02.fedoraproject.org + use defaulttemplate + address proxy02.fedoraproject.org + parents internetx01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy03-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy03-fpo.cfg new file mode 100644 index 0000000000..b48d9a49fa --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy03-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy03-fpo + alias proxy03-fpo.fedoraproject.org + use defaulttemplate + address 66.35.62.162 + parents proxy03 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy03-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy03-wildcard.cfg new file mode 100644 index 0000000000..6f91b81d3e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy03-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy03-wildcard + alias proxy03-wildcard.fedoraproject.org + use defaulttemplate + address 66.35.62.166 + parents proxy03 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy03.cfg b/roles/nagios_server/files/nagios/hosts/proxy03.cfg new file mode 100644 index 0000000000..c0ee56f756 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy03.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy03 + alias proxy03.fedoraproject.org + use defaulttemplate + address proxy03.fedoraproject.org + parents tummy01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy04-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy04-fpo.cfg new file mode 100644 index 0000000000..44ae09553a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy04-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy04-fpo + alias proxy04-fpo.fedoraproject.org + use defaulttemplate + address 152.19.134.142 + parents proxy04 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy04-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy04-wildcard.cfg new file mode 100644 index 0000000000..a32d2a12c3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy04-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy04-wildcard + alias proxy04-wildcard.fedoraproject.org + use defaulttemplate + address 152.19.134.146 + parents proxy04 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy04.cfg b/roles/nagios_server/files/nagios/hosts/proxy04.cfg new file mode 100644 index 0000000000..32f42accff --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy04.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy04 + alias proxy04.fedoraproject.org + use defaulttemplate + address proxy04.fedoraproject.org + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy05-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy05-fpo.cfg new file mode 100644 index 0000000000..27ee8a8f44 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy05-fpo.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name proxy05-fpo +# alias proxy05-fpo.fedoraproject.org +# use defaulttemplate +# address 80.239.156.214 +# parents proxy05 +# } diff --git a/roles/nagios_server/files/nagios/hosts/proxy05-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy05-wildcard.cfg new file mode 100644 index 0000000000..4d3e8e4d6b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy05-wildcard.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name proxy05-wildcard +# alias proxy05-wildcard.fedoraproject.org +# use defaulttemplate +# address 80.239.156.215 +# parents proxy05 +# } diff --git a/roles/nagios_server/files/nagios/hosts/proxy05.cfg b/roles/nagios_server/files/nagios/hosts/proxy05.cfg new file mode 100644 index 0000000000..9e97dcf296 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy05.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name proxy05 +# alias proxy05.fedoraproject.org +# use defaulttemplate +# address proxy05.fedoraproject.org +# parents telia01 +# } diff --git a/roles/nagios_server/files/nagios/hosts/proxy06-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy06-fpo.cfg new file mode 100644 index 0000000000..4a1115a2fd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy06-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy06-fpo + alias proxy06-fpo.fedoraproject.org + use defaulttemplate + address 140.211.169.196 + parents proxy06 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy06-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy06-wildcard.cfg new file mode 100644 index 0000000000..6262bcf8a5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy06-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy06-wildcard + alias proxy06-wildcard.fedoraproject.org + use defaulttemplate + address 140.211.169.197 + parents proxy06 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy06.cfg b/roles/nagios_server/files/nagios/hosts/proxy06.cfg new file mode 100644 index 0000000000..580f4f48da --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy06.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy06 + alias proxy06.fedoraproject.org + use defaulttemplate + address proxy06.fedoraproject.org + parents osuosl01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy07-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy07-fpo.cfg new file mode 100644 index 0000000000..00157be721 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy07-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy07-fpo + alias proxy07-fpo.fedoraproject.org + use defaulttemplate + address 213.175.193.205 + parents proxy07 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy07-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy07-wildcard.cfg new file mode 100644 index 0000000000..21de80cd53 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy07-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy07-wildcard + alias proxy07-wildcard.fedoraproject.org + use defaulttemplate + address 213.175.193.206 + parents proxy07 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy07.cfg b/roles/nagios_server/files/nagios/hosts/proxy07.cfg new file mode 100644 index 0000000000..3a42119c9d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy07.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy07 + alias proxy07.fedoraproject.org + use defaulttemplate + address proxy07.fedoraproject.org + parents bodhost01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy08-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy08-fpo.cfg new file mode 100644 index 0000000000..cc71c6348b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy08-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy08-fpo + alias proxy08-fpo.fedoraproject.org + use defaulttemplate + address 67.203.2.67 + parents proxy08 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy08-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy08-wildcard.cfg new file mode 100644 index 0000000000..d48de0b963 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy08-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy08-wildcard + alias proxy08-wildcard.fedoraproject.org + use defaulttemplate + address 67.203.2.67 + parents proxy08 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy08.cfg b/roles/nagios_server/files/nagios/hosts/proxy08.cfg new file mode 100644 index 0000000000..adc93745d4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy08.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy08 + alias proxy08.fedoraproject.org + use defaulttemplate + address proxy08.fedoraproject.org + parents coloamer01 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy09-fpo.cfg b/roles/nagios_server/files/nagios/hosts/proxy09-fpo.cfg new file mode 100644 index 0000000000..d92c50dea8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy09-fpo.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy09-fpo + alias proxy09-fpo.fedoraproject.org + use defaulttemplate + address 66.135.62.201 + parents proxy09 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy09-wildcard.cfg b/roles/nagios_server/files/nagios/hosts/proxy09-wildcard.cfg new file mode 100644 index 0000000000..50262f806e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy09-wildcard.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy09-wildcard + alias proxy09-wildcard.fedoraproject.org + use defaulttemplate + address 66.135.62.201 + parents proxy09 +} diff --git a/roles/nagios_server/files/nagios/hosts/proxy09.cfg b/roles/nagios_server/files/nagios/hosts/proxy09.cfg new file mode 100644 index 0000000000..ab5e6328a7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/proxy09.cfg @@ -0,0 +1,7 @@ +define host { + host_name proxy09 + alias proxy09.fedoraproject.org + use defaulttemplate + address proxy09.fedoraproject.org + parents serverbeach06 +} diff --git a/roles/nagios_server/files/nagios/hosts/qa01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa01-mgmt.cfg new file mode 100644 index 0000000000..a3f697cc29 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa01-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa01-mgmt + alias qa01-mgmt.phx2.fedoraproject.org + use mincheck + address qa01-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa02-mgmt.cfg new file mode 100644 index 0000000000..a02c361916 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa02-mgmt + alias qa02-mgmt.phx2.fedoraproject.org + use mincheck + address qa02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa03-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa03-mgmt.cfg new file mode 100644 index 0000000000..7e9daae861 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa03-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa03-mgmt + alias qa03-mgmt.phx2.fedoraproject.org + use mincheck + address qa03-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa04-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa04-mgmt.cfg new file mode 100644 index 0000000000..d75b52ad62 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa04-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa04-mgmt + alias qa04-mgmt.phx2.fedoraproject.org + use mincheck + address qa04-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa05-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa05-mgmt.cfg new file mode 100644 index 0000000000..607b632a4f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa05-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa05-mgmt + alias qa05-mgmt.phx2.fedoraproject.org + use mincheck + address qa05-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa06-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa06-mgmt.cfg new file mode 100644 index 0000000000..2ba70f8b84 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa06-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa06-mgmt + alias qa06-mgmt.phx2.fedoraproject.org + use mincheck + address qa06-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa07-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa07-mgmt.cfg new file mode 100644 index 0000000000..1fb30f8894 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa07-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa07-mgmt + alias qa07-mgmt.phx2.fedoraproject.org + use mincheck + address qa07-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/qa08-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/qa08-mgmt.cfg new file mode 100644 index 0000000000..f97b7937da --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/qa08-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name qa08-mgmt + alias qa08-mgmt.phx2.fedoraproject.org + use mincheck + address qa08-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/releng01-stg.cfg b/roles/nagios_server/files/nagios/hosts/releng01-stg.cfg new file mode 100644 index 0000000000..f58bc9dc9b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/releng01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name releng01.stg + alias releng01.stg.phx2.fedoraproject.org + use defaulttemplate + address releng01.stg.phx2.fedoraproject.org + parents virthost12 +} diff --git a/roles/nagios_server/files/nagios/hosts/releng01.cfg b/roles/nagios_server/files/nagios/hosts/releng01.cfg new file mode 100644 index 0000000000..07a2e48fe5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/releng01.cfg @@ -0,0 +1,8 @@ +define host { + host_name releng01 + alias releng01.phx2.fedoraproject.org + use defaulttemplate + address releng01.phx2.fedoraproject.org + parents buildvmhost-06 + contact_groups build-sysadmin-email +} diff --git a/roles/nagios_server/files/nagios/hosts/releng02.cfg b/roles/nagios_server/files/nagios/hosts/releng02.cfg new file mode 100644 index 0000000000..b618318981 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/releng02.cfg @@ -0,0 +1,7 @@ +define host { + host_name releng02 + alias releng02.phx2.fedoraproject.org + use defaulttemplate + address releng02.phx2.fedoraproject.org + parents bvirthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/releng04.cfg b/roles/nagios_server/files/nagios/hosts/releng04.cfg new file mode 100644 index 0000000000..0819b53e68 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/releng04.cfg @@ -0,0 +1,7 @@ +define host { + host_name releng04 + alias releng04.phx2.fedoraproject.org + use defaulttemplate + address releng04.phx2.fedoraproject.org + parents bvirthost01 +} diff --git a/roles/nagios_server/files/nagios/hosts/relepel01.cfg b/roles/nagios_server/files/nagios/hosts/relepel01.cfg new file mode 100644 index 0000000000..226f258437 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/relepel01.cfg @@ -0,0 +1,7 @@ +define host { + host_name relepel01 + alias relepel01.phx2.fedoraproject.org + use defaulttemplate + address relepel01.phx2.fedoraproject.org + parents bvirthost05 +} diff --git a/roles/nagios_server/files/nagios/hosts/retrace01.cfg b/roles/nagios_server/files/nagios/hosts/retrace01.cfg new file mode 100644 index 0000000000..054bf1c73e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/retrace01.cfg @@ -0,0 +1,6 @@ +define host { + host_name retrace01.qa + alias retrace01.qa.fedoraproject.org + use retracetemplate + address retrace01.qa.fedoraproject.org +} diff --git a/roles/nagios_server/files/nagios/hosts/secondary01.cfg b/roles/nagios_server/files/nagios/hosts/secondary01.cfg new file mode 100644 index 0000000000..8542a1c5fd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/secondary01.cfg @@ -0,0 +1,7 @@ +define host { + host_name secondary01 + alias secondary01.phx2.fedoraproject.org + use defaulttemplate + address secondary01.phx2.fedoraproject.org + parents virthost15 +} diff --git a/roles/nagios_server/files/nagios/hosts/serverbeach06.cfg b/roles/nagios_server/files/nagios/hosts/serverbeach06.cfg new file mode 100644 index 0000000000..3e14cd69d6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/serverbeach06.cfg @@ -0,0 +1,7 @@ +define host { + host_name serverbeach06 + alias serverbeach06.fedoraproject.org + use defaulttemplate + address serverbeach06.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/serverbeach07.cfg b/roles/nagios_server/files/nagios/hosts/serverbeach07.cfg new file mode 100644 index 0000000000..e0135e506e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/serverbeach07.cfg @@ -0,0 +1,7 @@ +define host { + host_name serverbeach07 + alias serverbeach07.fedoraproject.org + use defaulttemplate + address serverbeach07.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/serverbeach08.cfg b/roles/nagios_server/files/nagios/hosts/serverbeach08.cfg new file mode 100644 index 0000000000..a50efe1b13 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/serverbeach08.cfg @@ -0,0 +1,7 @@ +define host { + host_name serverbeach08 + alias serverbeach08.fedoraproject.org + use defaulttemplate + address serverbeach08.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/serverbeach09.cfg b/roles/nagios_server/files/nagios/hosts/serverbeach09.cfg new file mode 100644 index 0000000000..c1308543cc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/serverbeach09.cfg @@ -0,0 +1,7 @@ +define host { + host_name serverbeach09 + alias serverbeach09.fedoraproject.org + use defaulttemplate + address serverbeach09.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/serverbeach10.cfg b/roles/nagios_server/files/nagios/hosts/serverbeach10.cfg new file mode 100644 index 0000000000..30fb1feb65 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/serverbeach10.cfg @@ -0,0 +1,7 @@ +define host { + host_name serverbeach10 + alias serverbeach10.fedoraproject.org + use defaulttemplate + address serverbeach10.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault01-mgmt.cfg new file mode 100644 index 0000000000..114258e3a6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault01-mgmt.cfg @@ -0,0 +1,7 @@ +# define host { +# host_name sign-vault01-mgmt +# alias sign-vault01-mgmt.phx2.fedoraproject.org +# use mincheck +# address sign-vault01-mgmt.phx2.fedoraproject.org +# parents fwsm01-gw +# } diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault01.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault01.cfg new file mode 100644 index 0000000000..e34d2159b8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault01.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name sign-vault01 +# alias sign-vault01.phx2.fedoraproject.org +# use mincheck +# address sign-vault01.phx2.fedoraproject.org +# parents fwsm01-gw +#} diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault03-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault03-mgmt.cfg new file mode 100644 index 0000000000..54f9f341d4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault03-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name sign-vault03-mgmt + alias sign-vault03-mgmt.phx2.fedoraproject.org + use mincheck + address sign-vault03-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault03.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault03.cfg new file mode 100644 index 0000000000..44600b68c2 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault03.cfg @@ -0,0 +1,7 @@ +define host { + host_name sign-vault03 + alias sign-vault03.phx2.fedoraproject.org + use mincheck + address sign-vault03.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault04-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault04-mgmt.cfg new file mode 100644 index 0000000000..cbf995565d --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault04-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name sign-vault04-mgmt + alias sign-vault04-mgmt.phx2.fedoraproject.org + use mincheck + address sign-vault04-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/sign-vault04.cfg b/roles/nagios_server/files/nagios/hosts/sign-vault04.cfg new file mode 100644 index 0000000000..32563c6fc0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/sign-vault04.cfg @@ -0,0 +1,7 @@ +define host { + host_name sign-vault04 + alias sign-vault04.phx2.fedoraproject.org + use mincheck + address sign-vault04.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm-ib01.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm-ib01.cfg new file mode 100644 index 0000000000..6d3ee4e4e4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm-ib01.cfg @@ -0,0 +1,7 @@ +define host { + host_name smtp-mm-ib01 + alias smtp-mm-ib01.fedoraproject.org + use defaulttemplate + address smtp-mm-ib01.fedoraproject.org + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm-telia01.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm-telia01.cfg new file mode 100644 index 0000000000..c57cbb29ea --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm-telia01.cfg @@ -0,0 +1,7 @@ +define host { + host_name smtp-mm-telia01 + alias smtp-mm-telia01.fedoraproject.org + use defaulttemplate + address smtp-mm-telia01.fedoraproject.org + parents telia01 +} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm-tummy01.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm-tummy01.cfg new file mode 100644 index 0000000000..8aabb15300 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm-tummy01.cfg @@ -0,0 +1,7 @@ +define host { + host_name smtp-mm-tummy01 + alias smtp-mm-tummy01.fedoraproject.org + use defaulttemplate + address smtp-mm-tummy01.fedoraproject.org + parents tummy01 +} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm01.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm01.cfg new file mode 100644 index 0000000000..50842cc8e9 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm01.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name smtp-mm01 +# alias smtp-mm01.fedoraproject.org +# use defaulttemplate +# address smtp-mm01.fedoraproject.org +# parents telia01 +#} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm02.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm02.cfg new file mode 100644 index 0000000000..898ebb774a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm02.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name smtp-mm02 +# alias smtp-mm02.fedoraproject.org +# use defaulttemplate +# address smtp-mm02.fedoraproject.org +# parents tummy01 +#} diff --git a/roles/nagios_server/files/nagios/hosts/smtp-mm03.cfg b/roles/nagios_server/files/nagios/hosts/smtp-mm03.cfg new file mode 100644 index 0000000000..731512ab1f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/smtp-mm03.cfg @@ -0,0 +1,7 @@ +#define host { +# host_name smtp-mm03 +# alias smtp-mm03.fedoraproject.org +# use defaulttemplate +# address smtp-mm03.fedoraproject.org +# parents ibiblio02 +#} diff --git a/roles/nagios_server/files/nagios/hosts/status-fedora2.cfg b/roles/nagios_server/files/nagios/hosts/status-fedora2.cfg new file mode 100644 index 0000000000..1f4bfddcf3 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/status-fedora2.cfg @@ -0,0 +1,7 @@ +define host { + host_name status-fedora2 + alias status-fedora2.rhcloud.com + use mincheck + address status-fedora2.rhcloud.com + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/summershum01.cfg b/roles/nagios_server/files/nagios/hosts/summershum01.cfg new file mode 100644 index 0000000000..15b457ba3b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/summershum01.cfg @@ -0,0 +1,7 @@ +define host { + host_name summershum01 + alias summershum01.phx2.fedoraproject.org + use defaulttemplate + address summershum01.phx2.fedoraproject.org + parents virthost01 +} diff --git a/roles/nagios_server/files/nagios/hosts/tape02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/tape02-mgmt.cfg new file mode 100644 index 0000000000..4adf5b30af --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/tape02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name tape02-mgmt + alias tape02-mgmt.phx2.fedoraproject.org + use mincheck + address tape02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/telia01.cfg b/roles/nagios_server/files/nagios/hosts/telia01.cfg new file mode 100644 index 0000000000..0cd89a51aa --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/telia01.cfg @@ -0,0 +1,7 @@ +define host { + host_name telia01 + alias telia01.fedoraproject.org + use defaulttemplate + address telia01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/templates.cfg b/roles/nagios_server/files/nagios/hosts/templates.cfg new file mode 100644 index 0000000000..69e77a7bdd --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/templates.cfg @@ -0,0 +1,90 @@ +define host { + name defaulttemplate + #check_command check-host-alive + check_command check-host-alive-nrpe + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency + + register 0 +} + +define host { + name mincheck + check_command check-host-alive + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency + register 0 +} + +define host { + name autoqatemplate + check_command check-host-alive + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups sysadmin-qa-email + register 0 +} + +define host { + name ppc-secondarytemplate + check_command check-host-alive + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups ppc-secondary-email + register 0 +} + +define host { + name retracetemplate + check_command check-host-alive + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + contact_groups retrace-email + register 0 +} + +define host { + name defaultbuilders + max_check_attempts 8 + checks_enabled 1 + failure_prediction_enabled 0 + retain_status_information 1 + retain_nonstatus_information 1 + notification_interval 480 + notifications_enabled 1 + notification_options d,r + register 0 +} + diff --git a/roles/nagios_server/files/nagios/hosts/torrent02.cfg b/roles/nagios_server/files/nagios/hosts/torrent02.cfg new file mode 100644 index 0000000000..4bcac52317 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/torrent02.cfg @@ -0,0 +1,7 @@ +define host { + host_name torrent02 + alias torrent02.fedoraproject.org + use defaulttemplate + address torrent02.fedoraproject.org + parents ibiblio02 +} diff --git a/roles/nagios_server/files/nagios/hosts/tummy01.cfg b/roles/nagios_server/files/nagios/hosts/tummy01.cfg new file mode 100644 index 0000000000..53834e4857 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/tummy01.cfg @@ -0,0 +1,7 @@ +define host { + host_name tummy01 + alias tummy01.fedoraproject.org + use defaulttemplate + address tummy01.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/unbound-ib01.cfg b/roles/nagios_server/files/nagios/hosts/unbound-ib01.cfg new file mode 100644 index 0000000000..952186548c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/unbound-ib01.cfg @@ -0,0 +1,7 @@ +define host { + host_name unbound-ib01 + alias unbound-ib01.fedoraproject.org + use defaulttemplate + address unbound-ib01.fedoraproject.org + parents ibiblio01 +} diff --git a/roles/nagios_server/files/nagios/hosts/unbound-telia01.cfg b/roles/nagios_server/files/nagios/hosts/unbound-telia01.cfg new file mode 100644 index 0000000000..f7c3210649 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/unbound-telia01.cfg @@ -0,0 +1,7 @@ +define host { + host_name unbound-telia01 + alias unbound-telia01.fedoraproject.org + use defaulttemplate + address unbound-telia01.fedoraproject.org + parents telia01 +} diff --git a/roles/nagios_server/files/nagios/hosts/unbound-tummy01.cfg b/roles/nagios_server/files/nagios/hosts/unbound-tummy01.cfg new file mode 100644 index 0000000000..04cbeb2d3b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/unbound-tummy01.cfg @@ -0,0 +1,7 @@ +define host { + host_name unbound-tummy01 + alias unbound-tummy01.fedoraproject.org + use defaulttemplate + address unbound-tummy01.fedoraproject.org + parents tummy01 +} diff --git a/roles/nagios_server/files/nagios/hosts/value01-stg.cfg b/roles/nagios_server/files/nagios/hosts/value01-stg.cfg new file mode 100644 index 0000000000..5263dab4a6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/value01-stg.cfg @@ -0,0 +1,7 @@ +define host { + host_name value01.stg + alias value01.stg.phx2.fedoraproject.org + use defaulttemplate + address value01.stg.phx2.fedoraproject.org + parents virthost12 +} diff --git a/roles/nagios_server/files/nagios/hosts/value03.cfg b/roles/nagios_server/files/nagios/hosts/value03.cfg new file mode 100644 index 0000000000..ff20980919 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/value03.cfg @@ -0,0 +1,7 @@ +define host { + host_name value03 + alias value03.phx2.fedoraproject.org + use defaulttemplate + address value03.phx2.fedoraproject.org + parents virthost07 +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost-comm01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost-comm01-mgmt.cfg new file mode 100644 index 0000000000..1c313221b1 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost-comm01-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost-comm01-mgmt + alias virthost-comm01-mgmt.phx2.fedoraproject.org + use mincheck + address virthost-comm01-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost-comm01.cfg b/roles/nagios_server/files/nagios/hosts/virthost-comm01.cfg new file mode 100644 index 0000000000..b76c15c07c --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost-comm01.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost-comm01 + alias virthost-comm01.qa.fedoraproject.org + use defaulttemplate + address virthost-comm01.qa.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost-comm02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost-comm02-mgmt.cfg new file mode 100644 index 0000000000..5bf0c2b055 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost-comm02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost-comm02-mgmt + alias virthost-comm02-mgmt.phx2.fedoraproject.org + use mincheck + address virthost-comm02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost-comm02.cfg b/roles/nagios_server/files/nagios/hosts/virthost-comm02.cfg new file mode 100644 index 0000000000..3560319c01 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost-comm02.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost-comm02 + alias virthost-comm02.qa.fedoraproject.org + use defaulttemplate + address virthost-comm02.qa.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost01-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost01-mgmt.cfg new file mode 100644 index 0000000000..0aa15b3f2e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost01-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost01-mgmt + alias virthost01-mgmt.phx2.fedoraproject.org + use mincheck + address virthost01-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost01.cfg b/roles/nagios_server/files/nagios/hosts/virthost01.cfg new file mode 100644 index 0000000000..478a70019b --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost01.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost01 + alias virthost01.phx2.fedoraproject.org + use defaulttemplate + address virthost01.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost02-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost02-mgmt.cfg new file mode 100644 index 0000000000..2d70673cf4 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost02-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost02-mgmt + alias virthost02-mgmt.phx2.fedoraproject.org + use mincheck + address virthost02-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost02.cfg b/roles/nagios_server/files/nagios/hosts/virthost02.cfg new file mode 100644 index 0000000000..00c6852c18 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost02.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost02 + alias virthost02.phx2.fedoraproject.org + use defaulttemplate + address virthost02.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost03-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost03-mgmt.cfg new file mode 100644 index 0000000000..f63ccc9735 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost03-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost03-mgmt + alias virthost03-mgmt.phx2.fedoraproject.org + use mincheck + address virthost03-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost03.cfg b/roles/nagios_server/files/nagios/hosts/virthost03.cfg new file mode 100644 index 0000000000..340c242cd9 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost03.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost03 + alias virthost03.phx2.fedoraproject.org + use defaulttemplate + address virthost03.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost04-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost04-mgmt.cfg new file mode 100644 index 0000000000..5cad7a9dc6 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost04-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost04-mgmt + alias virthost04-mgmt.phx2.fedoraproject.org + use mincheck + address virthost04-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost04.cfg b/roles/nagios_server/files/nagios/hosts/virthost04.cfg new file mode 100644 index 0000000000..0c2371edd5 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost04.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost04 + alias virthost04.phx2.fedoraproject.org + use defaulttemplate + address virthost04.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost05-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost05-mgmt.cfg new file mode 100644 index 0000000000..32aad9c1d8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost05-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost05-mgmt + alias virthost05-mgmt.phx2.fedoraproject.org + use mincheck + address virthost05-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost05.cfg b/roles/nagios_server/files/nagios/hosts/virthost05.cfg new file mode 100644 index 0000000000..a6497365ff --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost05.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost05 + alias virthost05.phx2.fedoraproject.org + use defaulttemplate + address virthost05.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost06-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost06-mgmt.cfg new file mode 100644 index 0000000000..9896a7a787 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost06-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost06-mgmt + alias virthost06-mgmt.phx2.fedoraproject.org + use mincheck + address virthost06-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost06.cfg b/roles/nagios_server/files/nagios/hosts/virthost06.cfg new file mode 100644 index 0000000000..3aadc55327 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost06.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost06 + alias virthost06.phx2.fedoraproject.org + use defaulttemplate + address virthost06.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost07-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost07-mgmt.cfg new file mode 100644 index 0000000000..f5dcb29580 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost07-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost07-mgmt + alias virthost07-mgmt.phx2.fedoraproject.org + use mincheck + address virthost07-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost07.cfg b/roles/nagios_server/files/nagios/hosts/virthost07.cfg new file mode 100644 index 0000000000..129a1b86d0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost07.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost07 + alias virthost07.phx2.fedoraproject.org + use defaulttemplate + address virthost07.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost08-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost08-mgmt.cfg new file mode 100644 index 0000000000..6e2b20af0f --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost08-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost08-mgmt + alias virthost08-mgmt.phx2.fedoraproject.org + use mincheck + address virthost08-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost08.cfg b/roles/nagios_server/files/nagios/hosts/virthost08.cfg new file mode 100644 index 0000000000..c8a0437a9a --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost08.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost08 + alias virthost08.phx2.fedoraproject.org + use defaulttemplate + address virthost08.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost09-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost09-mgmt.cfg new file mode 100644 index 0000000000..72b403d056 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost09-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost09-mgmt + alias virthost09-mgmt.phx2.fedoraproject.org + use mincheck + address virthost09-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost09.cfg b/roles/nagios_server/files/nagios/hosts/virthost09.cfg new file mode 100644 index 0000000000..010bb78b63 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost09.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost09 + alias virthost09.phx2.fedoraproject.org + use defaulttemplate + address virthost09.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost10-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost10-mgmt.cfg new file mode 100644 index 0000000000..f4f51ac235 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost10-mgmt.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost10-mgmt + alias virthost10-mgmt.phx2.fedoraproject.org + use mincheck + address virthost10-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost10.cfg b/roles/nagios_server/files/nagios/hosts/virthost10.cfg new file mode 100644 index 0000000000..27348e8189 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost10.cfg @@ -0,0 +1,8 @@ +define host { + host_name virthost10 + alias virthost10.phx2.fedoraproject.org + use defaulttemplate + address virthost10.phx2.fedoraproject.org + parents fwsm01-gw +} + diff --git a/roles/nagios_server/files/nagios/hosts/virthost11-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost11-mgmt.cfg new file mode 100644 index 0000000000..ba5b763adc --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost11-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost11-mgmt + alias virthost11-mgmt.phx2.fedoraproject.org + use mincheck + address virthost11-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost11.cfg b/roles/nagios_server/files/nagios/hosts/virthost11.cfg new file mode 100644 index 0000000000..26f852daf8 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost11.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost11 + alias virthost11.phx2.fedoraproject.org + use defaulttemplate + address virthost11.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost12-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost12-mgmt.cfg new file mode 100644 index 0000000000..2e16cebf67 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost12-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost12-mgmt + alias virthost12-mgmt.phx2.fedoraproject.org + use mincheck + address virthost12-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost12.cfg b/roles/nagios_server/files/nagios/hosts/virthost12.cfg new file mode 100644 index 0000000000..4b67bddf6e --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost12.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost12 + alias virthost12.phx2.fedoraproject.org + use defaulttemplate + address virthost12.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost14-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost14-mgmt.cfg new file mode 100644 index 0000000000..8ef041cdef --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost14-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost14-mgmt + alias virthost14-mgmt.phx2.fedoraproject.org + use mincheck + address virthost14-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost14.cfg b/roles/nagios_server/files/nagios/hosts/virthost14.cfg new file mode 100644 index 0000000000..c081d93eb7 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost14.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost14 + alias virthost14.phx2.fedoraproject.org + use defaulttemplate + address virthost14.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost15-mgmt.cfg b/roles/nagios_server/files/nagios/hosts/virthost15-mgmt.cfg new file mode 100644 index 0000000000..316fc31182 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost15-mgmt.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost15-mgmt + alias virthost15-mgmt.phx2.fedoraproject.org + use mincheck + address virthost15-mgmt.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/hosts/virthost15.cfg b/roles/nagios_server/files/nagios/hosts/virthost15.cfg new file mode 100644 index 0000000000..364d80e705 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/virthost15.cfg @@ -0,0 +1,7 @@ +define host { + host_name virthost15 + alias virthost15.phx2.fedoraproject.org + use defaulttemplate + address virthost15.phx2.fedoraproject.org + parents fwsm01-gw +} diff --git a/roles/nagios_server/files/nagios/minimal.cfg b/roles/nagios_server/files/nagios/minimal.cfg new file mode 100644 index 0000000000..c41bec4d91 --- /dev/null +++ b/roles/nagios_server/files/nagios/minimal.cfg @@ -0,0 +1,362 @@ +############################################################################### +# MINIMAL.CFG +# +# MINIMALISTIC OBJECT CONFIG FILE (Template-Based Object File Format) +# +# Last Modified: 08-10-2005 +# +# +# NOTE: This config file is intended to be used to test a Nagios installation +# that has been compiled with support for the template-based object +# configuration files. +# +# This config file is intended to servce as an *extremely* simple +# example of how you can create your object configuration file(s). +# If you're interested in more complex object configuration files for +# Nagios, look in the sample-config/template-object/ subdirectory of +# the distribution. +# +############################################################################### + + + +############################################################################### +############################################################################### +# +# TIME PERIODS +# +############################################################################### +############################################################################### + +# This defines a timeperiod where all times are valid for checks, +# notifications, etc. The classic "24x7" support nightmare. :-) + +define timeperiod{ + timeperiod_name 24x7 + alias 24 Hours A Day, 7 Days A Week + sunday 00:00-24:00 + monday 00:00-24:00 + tuesday 00:00-24:00 + wednesday 00:00-24:00 + thursday 00:00-24:00 + friday 00:00-24:00 + saturday 00:00-24:00 + } + + + + +############################################################################### +############################################################################### +# +# COMMANDS +# +############################################################################### +############################################################################### + +# This is a sample service notification command that can be used to send email +# notifications (about service alerts) to contacts. +# 'check_ssh' command definition +define command{ + command_name notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ + } + + +# This is a sample host notification command that can be used to send email +# notifications (about host alerts) to contacts. + +define command{ + command_name host-notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ + } + + +# Command to check to see if a host is "alive" (up) by pinging it + +define command{ + command_name check-host-alive + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 300,99% -c 500,100% -p 2 + } + + +# Generic command to check a device by pinging it + +define command{ + command_name check_ping + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 + } + + +# Command used to check disk space usage on local partitions + +define command{ + command_name check_local_disk + command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ + } + + +# Command used to check the number of currently logged in users on the +# local machine + +define command{ + command_name check_local_users + command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ + } + + +# Command to check the number of running processing on the local machine + +define command{ + command_name check_local_procs + command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ + } + + +# Command to check the load on the local machine + +define command{ + command_name check_local_load + command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ + } + + + +############################################################################### +############################################################################### +# +# CONTACTS +# +############################################################################### +############################################################################### + +# In this simple config file, a single contact will receive all alerts. +# This assumes that you have an account (or email alias) called +# "nagios-admin" on the local host. + +define contact{ + contact_name nagios-admin + alias Nagios Admin + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,r + service_notification_commands notify-by-email + host_notification_commands host-notify-by-email + email admin@fedoraproject.org + } + + + +############################################################################### +############################################################################### +# +# CONTACT GROUPS +# +############################################################################### +############################################################################### + +# We only have one contact in this simple configuration file, so there is +# no need to create more than one contact group. + +define contactgroup{ + contactgroup_name admins + alias Nagios Administrators + members nagios-admin + } + + + +############################################################################### +############################################################################### +# +# HOSTS +# +############################################################################### +############################################################################### + +# Generic host definition template - This is NOT a real host, just a template! + +define host{ + name generic-host ; The name of this host template + notifications_enabled 1 ; Host notifications are enabled + event_handler_enabled 1 ; Host event handler is enabled + flap_detection_enabled 1 ; Flap detection is enabled + failure_prediction_enabled 1 ; Failure prediction is enabled + process_perf_data 1 ; Process performance data + retain_status_information 1 ; Retain status information across program restarts + retain_nonstatus_information 1 ; Retain non-status information across program restarts + register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! + } + + +# Since this is a simple configuration file, we only monitor one host - the +# local host (this machine). + +define host{ + use generic-host ; Name of host template to use + host_name localhost + alias localhost + address 127.0.0.1 + check_command check-host-alive + max_check_attempts 10 + notification_interval 120 + notification_period 24x7 + notification_options d,r + contact_groups admins + } + + + +############################################################################### +############################################################################### +# +# HOST GROUPS +# +############################################################################### +############################################################################### + +# We only have one host in our simple config file, so there is no need to +# create more than one hostgroup. + +define hostgroup{ + hostgroup_name test + alias Test Servers + members localhost + } + + + +############################################################################### +############################################################################### +# +# SERVICES +# +############################################################################### +############################################################################### + +# Generic service definition template - This is NOT a real service, just a template! + +define service{ + name generic-service ; The 'name' of this service template + active_checks_enabled 1 ; Active service checks are enabled + passive_checks_enabled 1 ; Passive service checks are enabled/accepted + parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) + obsess_over_service 1 ; We should obsess over this service (if necessary) + check_freshness 0 ; Default is to NOT check service 'freshness' + notifications_enabled 1 ; Service notifications are enabled + event_handler_enabled 1 ; Service event handler is enabled + flap_detection_enabled 1 ; Flap detection is enabled + failure_prediction_enabled 1 ; Failure prediction is enabled + process_perf_data 1 ; Process performance data + retain_status_information 1 ; Retain status information across program restarts + retain_nonstatus_information 1 ; Retain non-status information across program restarts + register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! + } + + +# Define a service to "ping" the local machine + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description PING + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_ping!100.0,20%!500.0,60% + } + + +# Define a service to check the disk space of the root partition +# on the local machine. Warning if < 20% free, critical if +# < 10% free space on partition. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Root Partition + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_disk!20%!10%!/ + } + + + +# Define a service to check the number of currently logged in +# users on the local machine. Warning if > 20 users, critical +# if > 50 users. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Current Users + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_users!20!50 + } + + +# Define a service to check the number of currently running procs +# on the local machine. Warning if > 250 processes, critical if +# > 400 users. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Total Processes + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_procs!250!400 + } + + + +# Define a service to check the load on the local machine. + +define service{ + use generic-service ; Name of service template to use + host_name localhost + service_description Current Load + is_volatile 0 + check_period 24x7 + max_check_attempts 4 + normal_check_interval 5 + retry_check_interval 1 + contact_groups admins + notification_options w,u,c,r + notification_interval 960 + notification_period 24x7 + check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 + } + + + +# EOF diff --git a/roles/nagios_server/files/nagios/misccommands.cfg b/roles/nagios_server/files/nagios/misccommands.cfg new file mode 100644 index 0000000000..18951aca35 --- /dev/null +++ b/roles/nagios_server/files/nagios/misccommands.cfg @@ -0,0 +1,126 @@ +################################################################################ +# Sample object config file for Nagios +# +# Read the documentation for more information on this configuration file. I've +# provided some comments here, but things may not be so clear without further +# explanation, so make sure to read the HTML documentation! +# +# Last Modified: 12-17-2005 +# +################################################################################ + + +################################################################################ +# COMMAND DEFINITIONS +# +# SYNTAX: +# +# define command{ +# template +# name +# command_name +# command_line +# } +# +# WHERE: +# +# = object name of another command definition that should be +# used as a template for this definition (optional) +# = object name of command definition, referenced by other +# command definitions that use it as a template (optional) +# = name of the command, as recognized/used by Nagios +# = command line +# +################################################################################ + + + + +################################################################################ +# +# SAMPLE NOTIFICATION COMMANDS +# +# These are some example notification commands. They may or may not work on +# your system without modification. +# +################################################################################ + + +# 'host-notify-by-email' command definition +define command{ + command_name host-notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nSource: $$(hostname)\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ + } + +# 'notify-by-epager' command definition +define command{ + command_name notify-by-epager + command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nInfo: $SERVICEOUTPUT$\nSource: $$(hostname -s)\nDate: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ + } + + +# 'host-notify-by-epager' command definition +define command{ + command_name host-notify-by-epager + command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nSource: $$(hostname -s)\nTime: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ + } + +# 'host-notify-by-ircbot' command definition +define command{ + command_name host-notify-by-ircbot + command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | nc -w 1 value03 5050 + } + +# 'notify-by-email' command definition +define command{ + command_name notify-by-email + command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nSource: $$(hostname)\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ + } + + + +# 'notify-by-ircbot' command definition +define command{ + command_name notify-by-ircbot + command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | nc -w 1 value03 5050 + } + +# 'notify-by-xmpp' command definition +define command{ + command_name notify-by-xmpp + command_line /usr/local/bin/xmppsend -a /etc/nagios/private/xmppnagios.ini "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" $CONTACTEMAIL$ + } + + +# 'host-notify-by-xmpp' command definition +define command{ + command_name host-notify-by-xmpp + command_line /usr/local/bin/xmppsend -a /etc/nagios/private/xmppnagios.ini "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nDate: $LONGDATETIME$" $CONTACTEMAIL$ + } + + + +################################################################################ +# +# SAMPLE PERFORMANCE DATA COMMANDS +# +# These are sample performance data commands that can be used to send performance +# data output to two text files (one for hosts, another for services). If you +# plan on simply writing performance data out to a file, consider using the +# host_perfdata_file and service_perfdata_file options in the main config file. +# +################################################################################ + + +# 'process-host-perfdata' command definition +define command{ + command_name process-host-perfdata + command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /var/log/nagios/host-perfdata.out + } + + +# 'process-service-perfdata' command definition +define command{ + command_name process-service-perfdata + command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/log/nagios/service-perfdata.out + } diff --git a/roles/nagios_server/files/nagios/nagios.cfg b/roles/nagios_server/files/nagios/nagios.cfg new file mode 100644 index 0000000000..40f89fccd4 --- /dev/null +++ b/roles/nagios_server/files/nagios/nagios.cfg @@ -0,0 +1,972 @@ +############################################################################## +# +# NAGIOS.CFG - Sample Main Config File for Nagios +# +# Read the documentation for more information on this configuration +# file. I've provided some comments here, but things may not be so +# clear without further explanation. +# +# Last Modified: 11-23-2005 +# +############################################################################## + + +# LOG FILE +# This is the main log file where service and host events are logged +# for historical purposes. This should be the first option specified +# in the config file!!! + +log_file=/var/log/nagios/nagios.log + + + +# OBJECT CONFIGURATION FILE(S) +# This is the configuration file in which you define hosts, host +# groups, contacts, contact groups, services, etc. I guess it would +# be better called an object definition file, but for historical +# reasons it isn't. You can split object definitions into several +# different config files by using multiple cfg_file statements here. +# Nagios will read and process all the config files you define. +# This can be very useful if you want to keep command definitions +# separate from host and contact definitions... + +# Plugin commands (service and host check commands) +# Arguments are likely to change between different releases of the +# plugins, so you should use the same config file provided with the +# plugin release rather than the one provided with Nagios. +cfg_file=/etc/nagios/checkcommands.cfg + +# Misc commands (notification and event handler commands, etc) +cfg_file=/etc/nagios/misccommands.cfg + +# You can split other types of object definitions across several +# config files if you wish (as done here), or keep them all in a +# single config file. + +#cfg_file=/etc/nagios/minimal.cfg + +#cfg_file=/etc/nagios/contactgroups.cfg +#cfg_file=/etc/nagios/contacts.cfg +#cfg_file=/etc/nagios/dependencies.cfg +#cfg_file=/etc/nagios/escalations.cfg +#cfg_file=/etc/nagios/hostgroups.cfg +#cfg_file=/etc/nagios/hosts.cfg +#cfg_file=/etc/nagios/services.cfg +cfg_file=/etc/nagios/timeperiods.cfg + +# Extended host/service info definitions are now stored along with +# other object definitions: +#cfg_file=/etc/nagios/hostextinfo.cfg +#cfg_file=/etc/nagios/serviceextinfo.cfg + +# You can also tell Nagios to process all config files (with a .cfg +# extension) in a particular directory by using the cfg_dir +# directive as shown below: +cfg_dir=/etc/nagios/hosts +cfg_dir=/etc/nagios/hostgroups +cfg_dir=/etc/nagios/services +cfg_dir=/etc/nagios/contacts +cfg_dir=/etc/nagios/contactgroups +cfg_dir=/etc/nagios/servicegroups +cfg_dir=/etc/nagios/servicedeps + + +#cfg_dir=/etc/nagios/servers +#cfg_dir=/etc/nagios/printers +#cfg_dir=/etc/nagios/switches +#cfg_dir=/etc/nagios/routers + + + +# OBJECT CACHE FILE +# This option determines where object definitions are cached when +# Nagios starts/restarts. The CGIs read object definitions from +# this cache file (rather than looking at the object config files +# directly) in order to prevent inconsistencies that can occur +# when the config files are modified after Nagios starts. + +object_cache_file=/var/log/nagios/objects.cache + + + +# RESOURCE FILE +# This is an optional resource file that contains $USERx$ macro +# definitions. Multiple resource files can be specified by using +# multiple resource_file definitions. The CGIs will not attempt to +# read the contents of resource files, so information that is +# considered to be sensitive (usernames, passwords, etc) can be +# defined as macros in this file and restrictive permissions (600) +# can be placed on this file. + +resource_file=/etc/nagios/private/resource.cfg + + + +# STATUS FILE +# This is where the current status of all monitored services and +# hosts is stored. Its contents are read and processed by the CGIs. +# The contents of the status file are deleted every time Nagios +# restarts. + +status_file=/var/log/nagios/status.dat + + + +# NAGIOS USER +# This determines the effective user that Nagios should run as. +# You can either supply a username or a UID. + +nagios_user=nagios + + + +# NAGIOS GROUP +# This determines the effective group that Nagios should run as. +# You can either supply a group name or a GID. + +nagios_group=nagios + + + +# EXTERNAL COMMAND OPTION +# This option allows you to specify whether or not Nagios should check +# for external commands (in the command file defined below). By default +# Nagios will *not* check for external commands, just to be on the +# cautious side. If you want to be able to use the CGI command interface +# you will have to enable this. Setting this value to 0 disables command +# checking (the default), other values enable it. + +check_external_commands=1 + + + +# EXTERNAL COMMAND CHECK INTERVAL +# This is the interval at which Nagios should check for external commands. +# This value works of the interval_length you specify later. If you leave +# that at its default value of 60 (seconds), a value of 1 here will cause +# Nagios to check for external commands every minute. If you specify a +# number followed by an "s" (i.e. 15s), this will be interpreted to mean +# actual seconds rather than a multiple of the interval_length variable. +# Note: In addition to reading the external command file at regularly +# scheduled intervals, Nagios will also check for external commands after +# event handlers are executed. +# NOTE: Setting this value to -1 causes Nagios to check the external +# command file as often as possible. + +#command_check_interval=1 +#command_check_interval=15s +command_check_interval=15s + + + +# EXTERNAL COMMAND FILE +# This is the file that Nagios checks for external command requests. +# It is also where the command CGI will write commands that are submitted +# by users, so it must be writeable by the user that the web server +# is running as (usually 'nobody'). Permissions should be set at the +# directory level instead of on the file, as the file is deleted every +# time its contents are processed. + +command_file=/var/spool/nagios/cmd/nagios.cmd + + + +# COMMENT FILE +# This is the file that Nagios will use for storing host and service +# comments. + +comment_file=/var/log/nagios/comments.dat + + + +# DOWNTIME FILE +# This is the file that Nagios will use for storing host and service +# downtime data. + +downtime_file=/var/log/nagios/downtime.dat + + + +# LOCK FILE +# This is the lockfile that Nagios will use to store its PID number +# in when it is running in daemon mode. + +lock_file=/var/run/nagios.pid + + + +# TEMP FILE +# This is a temporary file that is used as scratch space when Nagios +# updates the status log, cleans the comment file, etc. This file +# is created, used, and deleted throughout the time that Nagios is +# running. + +temp_file=/var/log/nagios/nagios.tmp + + + +# EVENT BROKER OPTIONS +# Controls what (if any) data gets sent to the event broker. +# Values: 0 = Broker nothing +# -1 = Broker everything +# = See documentation + +event_broker_options=0 + + + +# EVENT BROKER MODULE(S) +# This directive is used to specify an event broker module that should +# by loaded by Nagios at startup. Use multiple directives if you want +# to load more than one module. Arguments that should be passed to +# the module at startup are seperated from the module path by a space. +# +# Example: +# +# broker_module= [moduleargs] + +#broker_module=/somewhere/module1.o +#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0 + + + + +# LOG ROTATION METHOD +# This is the log rotation method that Nagios should use to rotate +# the main log file. Values are as follows.. +# n = None - don't rotate the log +# h = Hourly rotation (top of the hour) +# d = Daily rotation (midnight every day) +# w = Weekly rotation (midnight on Saturday evening) +# m = Monthly rotation (midnight last day of month) + +log_rotation_method=d + + + +# LOG ARCHIVE PATH +# This is the directory where archived (rotated) log files should be +# placed (assuming you've chosen to do log rotation). + +log_archive_path=/var/log/nagios/archives + + + +# LOGGING OPTIONS +# If you want messages logged to the syslog facility, as well as the +# NetAlarm log file set this option to 1. If not, set it to 0. + +use_syslog=1 + + + +# NOTIFICATION LOGGING OPTION +# If you don't want notifications to be logged, set this value to 0. +# If notifications should be logged, set the value to 1. + +log_notifications=1 + + + +# SERVICE RETRY LOGGING OPTION +# If you don't want service check retries to be logged, set this value +# to 0. If retries should be logged, set the value to 1. + +log_service_retries=1 + + + +# HOST RETRY LOGGING OPTION +# If you don't want host check retries to be logged, set this value to +# 0. If retries should be logged, set the value to 1. + +log_host_retries=1 + + + +# EVENT HANDLER LOGGING OPTION +# If you don't want host and service event handlers to be logged, set +# this value to 0. If event handlers should be logged, set the value +# to 1. + +log_event_handlers=1 + + + +# INITIAL STATES LOGGING OPTION +# If you want Nagios to log all initial host and service states to +# the main log file (the first time the service or host is checked) +# you can enable this option by setting this value to 1. If you +# are not using an external application that does long term state +# statistics reporting, you do not need to enable this option. In +# this case, set the value to 0. + +log_initial_states=0 + + + +# EXTERNAL COMMANDS LOGGING OPTION +# If you don't want Nagios to log external commands, set this value +# to 0. If external commands should be logged, set this value to 1. +# Note: This option does not include logging of passive service +# checks - see the option below for controlling whether or not +# passive checks are logged. + +log_external_commands=1 + + + +# PASSIVE CHECKS LOGGING OPTION +# If you don't want Nagios to log passive host and service checks, set +# this value to 0. If passive checks should be logged, set +# this value to 1. + +log_passive_checks=1 + + + +# GLOBAL HOST AND SERVICE EVENT HANDLERS +# These options allow you to specify a host and service event handler +# command that is to be run for every host or service state change. +# The global event handler is executed immediately prior to the event +# handler that you have optionally specified in each host or +# service definition. The command argument is the short name of a +# command definition that you define in your host configuration file. +# Read the HTML docs for more information. + +#global_host_event_handler=somecommand +#global_service_event_handler=somecommand + + + +# SERVICE INTER-CHECK DELAY METHOD +# This is the method that Nagios should use when initially +# "spreading out" service checks when it starts monitoring. The +# default is to use smart delay calculation, which will try to +# space all service checks out evenly to minimize CPU load. +# Using the dumb setting will cause all checks to be scheduled +# at the same time (with no delay between them)! This is not a +# good thing for production, but is useful when testing the +# parallelization functionality. +# n = None - don't use any delay between checks +# d = Use a "dumb" delay of 1 second between checks +# s = Use "smart" inter-check delay calculation +# x.xx = Use an inter-check delay of x.xx seconds + +service_inter_check_delay_method=s + + + +# MAXIMUM SERVICE CHECK SPREAD +# This variable determines the timeframe (in minutes) from the +# program start time that an initial check of all services should +# be completed. Default is 30 minutes. + +max_service_check_spread=30 + + + +# SERVICE CHECK INTERLEAVE FACTOR +# This variable determines how service checks are interleaved. +# Interleaving the service checks allows for a more even +# distribution of service checks and reduced load on remote +# hosts. Setting this value to 1 is equivalent to how versions +# of Nagios previous to 0.0.5 did service checks. Set this +# value to s (smart) for automatic calculation of the interleave +# factor unless you have a specific reason to change it. +# s = Use "smart" interleave factor calculation +# x = Use an interleave factor of x, where x is a +# number greater than or equal to 1. + +service_interleave_factor=s + + + +# HOST INTER-CHECK DELAY METHOD +# This is the method that Nagios should use when initially +# "spreading out" host checks when it starts monitoring. The +# default is to use smart delay calculation, which will try to +# space all host checks out evenly to minimize CPU load. +# Using the dumb setting will cause all checks to be scheduled +# at the same time (with no delay between them)! +# n = None - don't use any delay between checks +# d = Use a "dumb" delay of 1 second between checks +# s = Use "smart" inter-check delay calculation +# x.xx = Use an inter-check delay of x.xx seconds + +host_inter_check_delay_method=s + + + +# MAXIMUM HOST CHECK SPREAD +# This variable determines the timeframe (in minutes) from the +# program start time that an initial check of all hosts should +# be completed. Default is 30 minutes. + +max_host_check_spread=30 + + + +# MAXIMUM CONCURRENT SERVICE CHECKS +# This option allows you to specify the maximum number of +# service checks that can be run in parallel at any given time. +# Specifying a value of 1 for this variable essentially prevents +# any service checks from being parallelized. A value of 0 +# will not restrict the number of concurrent checks that are +# being executed. + +max_concurrent_checks=0 + + + +# SERVICE CHECK REAPER FREQUENCY +# This is the frequency (in seconds!) that Nagios will process +# the results of services that have been checked. + +service_reaper_frequency=10 + + + + +# AUTO-RESCHEDULING OPTION +# This option determines whether or not Nagios will attempt to +# automatically reschedule active host and service checks to +# "smooth" them out over time. This can help balance the load on +# the monitoring server. +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_reschedule_checks=0 + + + +# AUTO-RESCHEDULING INTERVAL +# This option determines how often (in seconds) Nagios will +# attempt to automatically reschedule checks. This option only +# has an effect if the auto_reschedule_checks option is enabled. +# Default is 30 seconds. +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_rescheduling_interval=30 + + + + +# AUTO-RESCHEDULING WINDOW +# This option determines the "window" of time (in seconds) that +# Nagios will look at when automatically rescheduling checks. +# Only host and service checks that occur in the next X seconds +# (determined by this variable) will be rescheduled. This option +# only has an effect if the auto_reschedule_checks option is +# enabled. Default is 180 seconds (3 minutes). +# WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE +# PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY + +auto_rescheduling_window=180 + + + +# SLEEP TIME +# This is the number of seconds to sleep between checking for system +# events and service checks that need to be run. + +sleep_time=0.25 + + + +# TIMEOUT VALUES +# These options control how much time Nagios will allow various +# types of commands to execute before killing them off. Options +# are available for controlling maximum time allotted for +# service checks, host checks, event handlers, notifications, the +# ocsp command, and performance data commands. All values are in +# seconds. + +service_check_timeout=30 +host_check_timeout=30 +event_handler_timeout=30 +notification_timeout=30 +ocsp_timeout=5 +perfdata_timeout=5 + + + +# RETAIN STATE INFORMATION +# This setting determines whether or not Nagios will save state +# information for services and hosts before it shuts down. Upon +# startup Nagios will reload all saved service and host state +# information before starting to monitor. This is useful for +# maintaining long-term data on state statistics, etc, but will +# slow Nagios down a bit when it (re)starts. Since its only +# a one-time penalty, I think its well worth the additional +# startup delay. + +retain_state_information=1 + + + +# STATE RETENTION FILE +# This is the file that Nagios should use to store host and +# service state information before it shuts down. The state +# information in this file is also read immediately prior to +# starting to monitor the network when Nagios is restarted. +# This file is used only if the preserve_state_information +# variable is set to 1. + +state_retention_file=/var/log/nagios/retention.dat + + + +# RETENTION DATA UPDATE INTERVAL +# This setting determines how often (in minutes) that Nagios +# will automatically save retention data during normal operation. +# If you set this value to 0, Nagios will not save retention +# data at regular interval, but it will still save retention +# data before shutting down or restarting. If you have disabled +# state retention, this option has no effect. + +retention_update_interval=60 + + + +# USE RETAINED PROGRAM STATE +# This setting determines whether or not Nagios will set +# program status variables based on the values saved in the +# retention file. If you want to use retained program status +# information, set this value to 1. If not, set this value +# to 0. + +use_retained_program_state=1 + + + +# USE RETAINED SCHEDULING INFO +# This setting determines whether or not Nagios will retain +# the scheduling info (next check time) for hosts and services +# based on the values saved in the retention file. If you +# If you want to use retained scheduling info, set this +# value to 1. If not, set this value to 0. + +use_retained_scheduling_info=0 + + + +# INTERVAL LENGTH +# This is the seconds per unit interval as used in the +# host/contact/service configuration files. Setting this to 60 means +# that each interval is one minute long (60 seconds). Other settings +# have not been tested much, so your mileage is likely to vary... + +interval_length=60 + + + +# AGGRESSIVE HOST CHECKING OPTION +# If you don't want to turn on aggressive host checking features, set +# this value to 0 (the default). Otherwise set this value to 1 to +# enable the aggressive check option. Read the docs for more info +# on what aggressive host check is or check out the source code in +# base/checks.c + +use_aggressive_host_checking=0 + + + +# SERVICE CHECK EXECUTION OPTION +# This determines whether or not Nagios will actively execute +# service checks when it initially starts. If this option is +# disabled, checks are not actively made, but Nagios can still +# receive and process passive check results that come in. Unless +# you're implementing redundant hosts or have a special need for +# disabling the execution of service checks, leave this enabled! +# Values: 1 = enable checks, 0 = disable checks + +execute_service_checks=1 + + + +# PASSIVE SERVICE CHECK ACCEPTANCE OPTION +# This determines whether or not Nagios will accept passive +# service checks results when it initially (re)starts. +# Values: 1 = accept passive checks, 0 = reject passive checks + +accept_passive_service_checks=1 + + + +# HOST CHECK EXECUTION OPTION +# This determines whether or not Nagios will actively execute +# host checks when it initially starts. If this option is +# disabled, checks are not actively made, but Nagios can still +# receive and process passive check results that come in. Unless +# you're implementing redundant hosts or have a special need for +# disabling the execution of host checks, leave this enabled! +# Values: 1 = enable checks, 0 = disable checks + +execute_host_checks=1 + + + +# PASSIVE HOST CHECK ACCEPTANCE OPTION +# This determines whether or not Nagios will accept passive +# host checks results when it initially (re)starts. +# Values: 1 = accept passive checks, 0 = reject passive checks + +accept_passive_host_checks=1 + + + +# NOTIFICATIONS OPTION +# This determines whether or not Nagios will sent out any host or +# service notifications when it is initially (re)started. +# Values: 1 = enable notifications, 0 = disable notifications + +enable_notifications=1 + + + +# EVENT HANDLER USE OPTION +# This determines whether or not Nagios will run any host or +# service event handlers when it is initially (re)started. Unless +# you're implementing redundant hosts, leave this option enabled. +# Values: 1 = enable event handlers, 0 = disable event handlers + +enable_event_handlers=1 + + + +# PROCESS PERFORMANCE DATA OPTION +# This determines whether or not Nagios will process performance +# data returned from service and host checks. If this option is +# enabled, host performance data will be processed using the +# host_perfdata_command (defined below) and service performance +# data will be processed using the service_perfdata_command (also +# defined below). Read the HTML docs for more information on +# performance data. +# Values: 1 = process performance data, 0 = do not process performance data + +process_performance_data=0 + + + +# HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS +# These commands are run after every host and service check is +# performed. These commands are executed only if the +# enable_performance_data option (above) is set to 1. The command +# argument is the short name of a command definition that you +# define in your host configuration file. Read the HTML docs for +# more information on performance data. + +#host_perfdata_command=process-host-perfdata +#service_perfdata_command=process-service-perfdata + + + +# HOST AND SERVICE PERFORMANCE DATA FILES +# These files are used to store host and service performance data. +# Performance data is only written to these files if the +# enable_performance_data option (above) is set to 1. + +#host_perfdata_file=/tmp/host-perfdata +#service_perfdata_file=/tmp/service-perfdata + + + +# HOST AND SERVICE PERFORMANCE DATA FILE TEMPLATES +# These options determine what data is written (and how) to the +# performance data files. The templates may contain macros, special +# characters (\t for tab, \r for carriage return, \n for newline) +# and plain text. A newline is automatically added after each write +# to the performance data file. Some examples of what you can do are +# shown below. + +#host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ +#service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ + + + + +# HOST AND SERVICE PERFORMANCE DATA FILE MODES +# This option determines whether or not the host and service +# performance data files are opened in write ("w") or append ("a") +# mode. Unless you are the files are named pipes, you will probably +# want to use the default mode of append ("a"). + +#host_perfdata_file_mode=a +#service_perfdata_file_mode=a + + + +# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING INTERVAL +# These options determine how often (in seconds) the host and service +# performance data files are processed using the commands defined +# below. A value of 0 indicates the files should not be periodically +# processed. + +#host_perfdata_file_processing_interval=0 +#service_perfdata_file_processing_interval=0 + + + +# HOST AND SERVICE PERFORMANCE DATA FILE PROCESSING COMMANDS +# These commands are used to periodically process the host and +# service performance data files. The interval at which the +# processing occurs is determined by the options above. + +#host_perfdata_file_processing_command=process-host-perfdata-file +#service_perfdata_file_processing_command=process-service-perfdata-file + + + +# OBSESS OVER SERVICE CHECKS OPTION +# This determines whether or not Nagios will obsess over service +# checks and run the ocsp_command defined below. Unless you're +# planning on implementing distributed monitoring, do not enable +# this option. Read the HTML docs for more information on +# implementing distributed monitoring. +# Values: 1 = obsess over services, 0 = do not obsess (default) + +obsess_over_services=0 + + + +# OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND +# This is the command that is run for every service check that is +# processed by Nagios. This command is executed only if the +# obsess_over_service option (above) is set to 1. The command +# argument is the short name of a command definition that you +# define in your host configuration file. Read the HTML docs for +# more information on implementing distributed monitoring. + +#ocsp_command=somecommand + + + +# ORPHANED SERVICE CHECK OPTION +# This determines whether or not Nagios will periodically +# check for orphaned services. Since service checks are not +# rescheduled until the results of their previous execution +# instance are processed, there exists a possibility that some +# checks may never get rescheduled. This seems to be a rare +# problem and should not happen under normal circumstances. +# If you have problems with service checks never getting +# rescheduled, you might want to try enabling this option. +# Values: 1 = enable checks, 0 = disable checks + +check_for_orphaned_services=0 + + + +# SERVICE FRESHNESS CHECK OPTION +# This option determines whether or not Nagios will periodically +# check the "freshness" of service results. Enabling this option +# is useful for ensuring passive checks are received in a timely +# manner. +# Values: 1 = enabled freshness checking, 0 = disable freshness checking + +check_service_freshness=1 + + + +# SERVICE FRESHNESS CHECK INTERVAL +# This setting determines how often (in seconds) Nagios will +# check the "freshness" of service check results. If you have +# disabled service freshness checking, this option has no effect. + +service_freshness_check_interval=45 + + + +# HOST FRESHNESS CHECK OPTION +# This option determines whether or not Nagios will periodically +# check the "freshness" of host results. Enabling this option +# is useful for ensuring passive checks are received in a timely +# manner. +# Values: 1 = enabled freshness checking, 0 = disable freshness checking + +check_host_freshness=0 + + + +# HOST FRESHNESS CHECK INTERVAL +# This setting determines how often (in seconds) Nagios will +# check the "freshness" of host check results. If you have +# disabled host freshness checking, this option has no effect. + +host_freshness_check_interval=60 + + + +# AGGREGATED STATUS UPDATES +# This option determines whether or not Nagios will +# aggregate updates of host, service, and program status +# data. Normally, status data is updated immediately when +# a change occurs. This can result in high CPU loads if +# you are monitoring a lot of services. If you want Nagios +# to only refresh status data every few seconds, disable +# this option. +# Values: 1 = enable aggregate updates, 0 = disable aggregate updates + +aggregate_status_updates=1 + + + +# AGGREGATED STATUS UPDATE INTERVAL +# Combined with the aggregate_status_updates option, +# this option determines the frequency (in seconds!) that +# Nagios will periodically dump program, host, and +# service status data. If you are not using aggregated +# status data updates, this option has no effect. + +status_update_interval=15 + + + +# FLAP DETECTION OPTION +# This option determines whether or not Nagios will try +# and detect hosts and services that are "flapping". +# Flapping occurs when a host or service changes between +# states too frequently. When Nagios detects that a +# host or service is flapping, it will temporarily suppress +# notifications for that host/service until it stops +# flapping. Flap detection is very experimental, so read +# the HTML documentation before enabling this feature! +# Values: 1 = enable flap detection +# 0 = disable flap detection (default) + +enable_flap_detection=1 + + + +# FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES +# Read the HTML documentation on flap detection for +# an explanation of what this option does. This option +# has no effect if flap detection is disabled. + +low_service_flap_threshold=5.0 +high_service_flap_threshold=20.0 +low_host_flap_threshold=5.0 +high_host_flap_threshold=20.0 + + + +# DATE FORMAT OPTION +# This option determines how short dates are displayed. Valid options +# include: +# us (MM-DD-YYYY HH:MM:SS) +# euro (DD-MM-YYYY HH:MM:SS) +# iso8601 (YYYY-MM-DD HH:MM:SS) +# strict-iso8601 (YYYY-MM-DDTHH:MM:SS) + + +date_format=us + + + +# P1.PL FILE LOCATION +# This value determines where the p1.pl perl script (used by the +# embedded Perl interpreter) is located. If you didn't compile +# Nagios with embedded Perl support, this option has no effect. + +p1_file=/usr/sbin/p1.pl + + + +# ILLEGAL OBJECT NAME CHARACTERS +# This option allows you to specify illegal characters that cannot +# be used in host names, service descriptions, or names of other +# object types. + +illegal_object_name_chars=`~!$%^&*|'"<>?,()= + + + +# ILLEGAL MACRO OUTPUT CHARACTERS +# This option allows you to specify illegal characters that are +# stripped from macros before being used in notifications, event +# handlers, etc. This DOES NOT affect macros used in service or +# host check commands. +# The following macros are stripped of the characters you specify: +# $HOSTOUTPUT$ +# $HOSTPERFDATA$ +# $HOSTACKAUTHOR$ +# $HOSTACKCOMMENT$ +# $SERVICEOUTPUT$ +# $SERVICEPERFDATA$ +# $SERVICEACKAUTHOR$ +# $SERVICEACKCOMMENT$ + +illegal_macro_output_chars=`~$&|'"<> + + + +# REGULAR EXPRESSION MATCHING +# This option controls whether or not regular expression matching +# takes place in the object config files. Regular expression +# matching is used to match host, hostgroup, service, and service +# group names/descriptions in some fields of various object types. +# Values: 1 = enable regexp matching, 0 = disable regexp matching + +use_regexp_matching=0 + + + +# "TRUE" REGULAR EXPRESSION MATCHING +# This option controls whether or not "true" regular expression +# matching takes place in the object config files. This option +# only has an effect if regular expression matching is enabled +# (see above). If this option is DISABLED, regular expression +# matching only occurs if a string contains wildcard characters +# (* and ?). If the option is ENABLED, regexp matching occurs +# all the time (which can be annoying). +# Values: 1 = enable true matching, 0 = disable true matching + +use_true_regexp_matching=1 + + + + +# ADMINISTRATOR EMAIL ADDRESS +# The email address of the administrator of *this* machine (the one +# doing the monitoring). Nagios never uses this value itself, but +# you can access this value by using the $ADMINEMAIL$ macro in your +# notification commands. + +admin_email=nagios + + + +# ADMINISTRATOR PAGER NUMBER/ADDRESS +# The pager number/address for the administrator of *this* machine. +# Nagios never uses this value itself, but you can access this +# value by using the $ADMINPAGER$ macro in your notification +# commands. + +admin_pager=pagenagios + + + +# DAEMON CORE DUMP OPTION +# This option determines whether or not Nagios is allowed to create +# a core dump when it runs as a daemon. Note that it is generally +# considered bad form to allow this, but it may be useful for +# debugging purposes. +# Values: 1 - Allow core dumps +# 0 - Do not allow core dumps (default) + +daemon_dumps_core=0 + +# SOFT STATE DEPENDENCIES +# This option determines whether or not Nagios will use soft state +# information when checking host and service dependencies. Normally +# Nagios will only use the latest hard host or service state when +# checking dependencies. If you want it to use the latest state (regardless +# of whether its a soft or hard state type), enable this option. +# Values: +# 0 = Don't use soft state dependencies (default) +# 1 = Use soft state dependencies + +soft_state_dependencies=1 + +# EOF (End of file) diff --git a/roles/nagios_server/files/nagios/private/resource.cfg b/roles/nagios_server/files/nagios/private/resource.cfg new file mode 100644 index 0000000000..386002ab46 --- /dev/null +++ b/roles/nagios_server/files/nagios/private/resource.cfg @@ -0,0 +1,33 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios +# +# Last Modified: 09-10-2003 +# +# You can define $USERx$ macros in this file, which can in turn be used +# in command definitions in your host config file(s). $USERx$ macros are +# useful for storing sensitive information such as usernames, passwords, +# etc. They are also handy for specifying the path to plugins and +# event handlers - if you decide to move the plugins or event handlers to +# a different directory in the future, you can just update one or two +# $USERx$ macros, instead of modifying a lot of command definitions. +# +# The CGIs will not attempt to read the contents of resource files, so +# you can set restrictive permissions (600 or 660) on them. +# +# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) +# +# Resource files may also be used to store configuration directives for +# external data sources like MySQL... +# +########################################################################### + +# Sets $USER1$ to be the path to the plugins +$USER1$=/usr/lib/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword diff --git a/roles/nagios_server/files/nagios/private/resource.cfg-sample b/roles/nagios_server/files/nagios/private/resource.cfg-sample new file mode 100644 index 0000000000..dad0624ac3 --- /dev/null +++ b/roles/nagios_server/files/nagios/private/resource.cfg-sample @@ -0,0 +1,34 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios 2.7 +# +# Last Modified: 09-10-2003 +# +# You can define $USERx$ macros in this file, which can in turn be used +# in command definitions in your host config file(s). $USERx$ macros are +# useful for storing sensitive information such as usernames, passwords, +# etc. They are also handy for specifying the path to plugins and +# event handlers - if you decide to move the plugins or event handlers to +# a different directory in the future, you can just update one or two +# $USERx$ macros, instead of modifying a lot of command definitions. +# +# The CGIs will not attempt to read the contents of resource files, so +# you can set restrictive permissions (600 or 660) on them. +# +# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) +# +# Resource files may also be used to store configuration directives for +# external data sources like MySQL... +# +########################################################################### + +# Sets $USER1$ to be the path to the plugins +$USER1$=/usr/lib/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword + diff --git a/roles/nagios_server/files/nagios/send_nsca.cfg b/roles/nagios_server/files/nagios/send_nsca.cfg new file mode 100644 index 0000000000..30966d38ca --- /dev/null +++ b/roles/nagios_server/files/nagios/send_nsca.cfg @@ -0,0 +1,63 @@ +#################################################### +# Sample NSCA Client Config File +# Written by: Ethan Galstad (nagios@nagios.org) +# +# Last Modified: 02-21-2002 +#################################################### + + +# ENCRYPTION PASSWORD +# This is the password/passphrase that should be used to encrypt the +# outgoing packets. Note that the nsca daemon must use the same +# password when decrypting the packet! +# IMPORTANT: You don't want all the users on this system to be able +# to read the password you specify here, so make sure to set +# restrictive permissions on this config file! + +password=oix9iadeeh4kaeviha4naiReGhahze + + + +# ENCRYPTION METHOD +# This option determines the method by which the send_nsca client will +# encrypt the packets it sends to the nsca daemon. The encryption +# method you choose will be a balance between security and performance, +# as strong encryption methods consume more processor resources. +# You should evaluate your security needs when choosing an encryption +# method. +# +# Note: The encryption method you specify here must match the +# decryption method the nsca daemon uses (as specified in +# the nsca.cfg file)!! +# Values: +# 0 = None (Do NOT use this option) +# 1 = Simple XOR (No security, just obfuscation, but very fast) +# +# 2 = DES +# 3 = 3DES (Triple DES) +# 4 = CAST-128 +# 5 = CAST-256 +# 6 = xTEA +# 7 = 3WAY +# 8 = BLOWFISH +# 9 = TWOFISH +# 10 = LOKI97 +# 11 = RC2 +# 12 = ARCFOUR +# +# 14 = RIJNDAEL-128 +# 15 = RIJNDAEL-192 +# 16 = RIJNDAEL-256 +# +# 19 = WAKE +# 20 = SERPENT +# +# 22 = ENIGMA (Unix crypt) +# 23 = GOST +# 24 = SAFER64 +# 25 = SAFER128 +# 26 = SAFER+ +# + +encryption_method=1 + diff --git a/roles/nagios_server/files/nagios/servicedeps/nrpe.cfg b/roles/nagios_server/files/nagios/servicedeps/nrpe.cfg new file mode 100644 index 0000000000..1f22d88944 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicedeps/nrpe.cfg @@ -0,0 +1,144 @@ +define servicedependency { + host_name hosted03 + service_description nrpe + dependent_host_name hosted03 + dependent_service_description Disk Space /srv, Disk Space /, Total Processes, Zombie Processes, Cron Daemon, Check Raid, Swap + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name hosted04 + service_description nrpe + dependent_host_name hosted04 + dependent_service_description Disk Space /srv, Disk Space /, Total Processes, Zombie Processes, Cron Daemon, Check Raid, Swap + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name app01 + service_description nrpe + dependent_host_name app01 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name app02 + service_description nrpe + dependent_host_name app02 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name app03 + service_description nrpe + dependent_host_name app03 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name app04 + service_description nrpe + dependent_host_name app04 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name app05 + service_description nrpe + dependent_host_name app05 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + + +define servicedependency { + host_name app08 + service_description nrpe + dependent_host_name app08 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name backup02 + service_description nrpe + dependent_host_name backup02 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name bapp02 + service_description nrpe + dependent_host_name bapp02 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name bastion02 + service_description nrpe + dependent_host_name bastion02 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name bastion-vpn + service_description nrpe + dependent_host_name bastion-vpn + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name bodhost01 + service_description nrpe + dependent_host_name bodhost01 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name bvirthost05 + service_description nrpe + dependent_host_name bvirthost05 + dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name packages03 + service_description packages-internal + dependent_host_name packages03 + dependent_service_description packages-internal-relationshiptab, packages-internal-bugstab + notification_failure_criteria w,c + execution_failure_criteria w,c +} + +define servicedependency { + host_name packages04 + service_description packages-internal + dependent_host_name packages04 + dependent_service_description packages-internal-relationshiptab, packages-internal-bugstab + notification_failure_criteria w,c + execution_failure_criteria w,c +} diff --git a/roles/nagios_server/files/nagios/servicedeps/templates.cfg b/roles/nagios_server/files/nagios/servicedeps/templates.cfg new file mode 100644 index 0000000000..e69de29bb2 diff --git a/roles/nagios_server/files/nagios/servicegroups/autoqa.cfg b/roles/nagios_server/files/nagios/servicegroups/autoqa.cfg new file mode 100644 index 0000000000..fbd2873393 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/autoqa.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name autoqa + alias AutoQA Hosts + members autoqa01,autoqa01-autotest-frontend,autoqa-stg01,autoqa-stg01-autotest-frontend +} diff --git a/roles/nagios_server/files/nagios/servicegroups/bodhi.cfg b/roles/nagios_server/files/nagios/servicegroups/bodhi.cfg new file mode 100644 index 0000000000..2877b0debf --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/bodhi.cfg @@ -0,0 +1,7 @@ +define servicegroup { + servicegroup_name bodhi + alias Bodhi + members proxy01-wildcard,bodhi,proxy02-wildcard,bodhi,proxy03-wildcard,bodhi,proxy04-wildcard,bodhi,proxy06-wildcard,bodhi,proxy07-wildcard,bodhi,proxy08-wildcard,bodhi,app01,bodhi-internal,app02,bodhi-internal,app03,bodhi-internal,app04,bodhi-internal,app05,bodhi-internal,app08,bodhi-internal,proxy09-wildcard,bodhi + +} + diff --git a/roles/nagios_server/files/nagios/servicegroups/fas.cfg b/roles/nagios_server/files/nagios/servicegroups/fas.cfg new file mode 100644 index 0000000000..85851c4f20 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/fas.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name fas + alias Fedora Account System + members proxy01-wildcard,accounts,proxy02-wildcard,accounts,proxy03-wildcard,accounts,proxy04-wildcard,accounts,proxy08-wildcard,accounts,fas01,accounts,fas02,accounts,fas03,accounts,db-fas01,Check FAS DB,proxy09-wildcard,accounts +} diff --git a/roles/nagios_server/files/nagios/servicegroups/fedorahosted.org.cfg b/roles/nagios_server/files/nagios/servicegroups/fedorahosted.org.cfg new file mode 100644 index 0000000000..77aa2b59e2 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/fedorahosted.org.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name fedorahosted + alias Fedora Hosted + members hosted03,BZR,hosted03,GIT,hosted03,bzr.fedorahosted.org,hosted03,fedorahosted.org,hosted03,git.fedorahosted.org,hosted03,hg.fedorahosted.org,hosted03,svn.fedorahosted.org,hosted04,BZR,hosted04,GIT,hosted04,bzr.fedorahosted.org,hosted04,fedorahosted.org,hosted04,git.fedorahosted.org,hosted04,hg.fedorahosted.org,hosted04,svn.fedorahosted.org +} diff --git a/roles/nagios_server/files/nagios/servicegroups/fp-wiki.cfg b/roles/nagios_server/files/nagios/servicegroups/fp-wiki.cfg new file mode 100644 index 0000000000..e9995b6fc8 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/fp-wiki.cfg @@ -0,0 +1,6 @@ +define servicegroup { + servicegroup_name fp-wiki + alias Fedora Project Wiki + members proxy01-fpo,fedoraproject.org - wiki - non-cached,proxy02-fpo,fedoraproject.org - wiki - non-cached,proxy03-fpo,fedoraproject.org - wiki - non-cached,proxy04-fpo,fedoraproject.org - wiki - non-cached,proxy06-fpo,fedoraproject.org - wiki - non-cached,proxy07-fpo,fedoraproject.org - wiki - non-cached,proxy08-fpo,fedoraproject.org - wiki - non-cached,proxy01-fpo,fedoraproject.org - wiki,proxy02-fpo,fedoraproject.org - wiki,proxy03-fpo,fedoraproject.org - wiki,proxy04-fpo,fedoraproject.org - wiki,proxy06-fpo,fedoraproject.org - wiki,proxy07-fpo,fedoraproject.org - wiki,proxy08-fpo,fedoraproject.org - wiki,proxy09-fpo,fedoraproject.org - wiki +} + diff --git a/roles/nagios_server/files/nagios/servicegroups/freemedia.cfg b/roles/nagios_server/files/nagios/servicegroups/freemedia.cfg new file mode 100644 index 0000000000..4b6d58cf05 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/freemedia.cfg @@ -0,0 +1,6 @@ +define servicegroup { + servicegroup_name freemedia + alias FreeMedia + members app01,freemedia-internal,app02,freemedia-internal,app03,freemedia-internal,app04,freemedia-internal,app05,freemedia-internal,app08,freemedia-internal +} + diff --git a/roles/nagios_server/files/nagios/servicegroups/mgmt-http.cfg b/roles/nagios_server/files/nagios/servicegroups/mgmt-http.cfg new file mode 100644 index 0000000000..0f5426445b --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/mgmt-http.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name mgmt-http + alias mgmt interfaces on http + members backup03-mgmt,backup03-mgmt-http,bc02-mgmt,bc02-mgmt-http,bvirthost01-mgmt,bvirthost01-mgmt-http,bvirthost05-mgmt,bvirthost05-mgmt-http,bvirthost07-mgmt,bvirthost07-mgmt-http,download01-mgmt,download01-mgmt-http,download02-mgmt,download02-mgmt-http,download03-mgmt,download03-mgmt-http,download04-mgmt,download04-mgmt-http,download05-mgmt,download05-mgmt-http,qa01-mgmt,qa01-mgmt-http,qa02-mgmt,qa02-mgmt-http,qa03-mgmt,qa03-mgmt-http,qa04-mgmt,qa04-mgmt-http,qa05-mgmt,qa05-mgmt-http,qa06-mgmt,qa06-mgmt-http,qa07-mgmt,qa07-mgmt-http,qa08-mgmt,qa08-mgmt-http,tape02-mgmt,tape02-mgmt-http,virthost-comm01-mgmt,virthost-comm01-mgmt-http,virthost01-mgmt,virthost01-mgmt-http,virthost02-mgmt,virthost02-mgmt-http,virthost03-mgmt,virthost03-mgmt-http,virthost11-mgmt,virthost11-mgmt-http,virthost12-mgmt,virthost12-mgmt-http,virthost14-mgmt,virthost14-mgmt-http,virthost15-mgmt,virthost15-mgmt-http,virthost-comm02-mgmt,virthost-comm02-mgmt-http,sign-vault03-mgmt,sign-vault03-mgmt-http,sign-vault04-mgmt,sign-vault04-mgmt-http +} diff --git a/roles/nagios_server/files/nagios/servicegroups/mgmt-https.cfg b/roles/nagios_server/files/nagios/servicegroups/mgmt-https.cfg new file mode 100644 index 0000000000..98075dfa38 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/mgmt-https.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name mgmt-https + alias mgmt interfaces on https + members backup03-mgmt,backup03-mgmt-https,bc02-mgmt,bc02-mgmt-https,bvirthost01-mgmt,bvirthost01-mgmt-https,bvirthost05-mgmt,bvirthost05-mgmt-https,bvirthost07-mgmt,bvirthost07-mgmt-https,download01-mgmt,download01-mgmt-https,download02-mgmt,download02-mgmt-https,download03-mgmt,download03-mgmt-https,download04-mgmt,download04-mgmt-https,download05-mgmt,download05-mgmt-https,qa01-mgmt,qa01-mgmt-https,qa02-mgmt,qa02-mgmt-https,qa03-mgmt,qa03-mgmt-https,qa04-mgmt,qa04-mgmt-https,qa05-mgmt,qa05-mgmt-https,qa06-mgmt,qa06-mgmt-https,qa07-mgmt,qa07-mgmt-https,qa08-mgmt,qa08-mgmt-https,virthost-comm01-mgmt,virthost-comm01-mgmt-https,virthost01-mgmt,virthost01-mgmt-https,virthost02-mgmt,virthost02-mgmt-https,virthost03-mgmt,virthost03-mgmt-https,virthost11-mgmt,virthost11-mgmt-https,virthost12-mgmt,virthost12-mgmt-https,virthost14-mgmt,virthost14-mgmt-https,virthost15-mgmt,virthost15-mgmt-https,virthost-comm02-mgmt,virthost-comm02-mgmt-https,sign-vault03-mgmt,sign-vault03-mgmt-https,sign-vault04-mgmt,sign-vault04-mgmt-https +} diff --git a/roles/nagios_server/files/nagios/servicegroups/mirrorlist.cfg b/roles/nagios_server/files/nagios/servicegroups/mirrorlist.cfg new file mode 100644 index 0000000000..addbcf4fdc --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/mirrorlist.cfg @@ -0,0 +1,6 @@ +define servicegroup { + servicegroup_name mirrorlist + alias Mirrorlist + members proxy01-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy02-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy03-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy04-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy06-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy07-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy08-wildcard,mirrors.fedoraproject.org - mirrorlist,proxy09-wildcard,mirrors.fedoraproject.org - mirrorlist +} + diff --git a/roles/nagios_server/files/nagios/servicegroups/pkgdb.cfg b/roles/nagios_server/files/nagios/servicegroups/pkgdb.cfg new file mode 100644 index 0000000000..b00f4068ff --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/pkgdb.cfg @@ -0,0 +1,6 @@ +define servicegroup { + servicegroup_name pkgdb + alias Package Database + members proxy01-wildcard,pkgdb-external,proxy02-wildcard,pkgdb-external,proxy03-wildcard,pkgdb-external,proxy04-wildcard,pkgdb-external,proxy08-wildcard,pkgdb-external,app01,pkgdb-internal,app02,pkgdb-internal,app03,pkgdb-internal,app04,pkgdb-internal,app05,pkgdb-internal,app08,pkgdb-internal,db01,Check PackageDB DB,proxy09-wildcard,pkgdb-external +} + diff --git a/roles/nagios_server/files/nagios/servicegroups/ppc-secondary.cfg b/roles/nagios_server/files/nagios/servicegroups/ppc-secondary.cfg new file mode 100644 index 0000000000..ab33bf3f3c --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/ppc-secondary.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name ppc-secondary + alias PPC Secondary Hosts + members ppc-hub,ppc-koji-frontend +} diff --git a/roles/nagios_server/files/nagios/servicegroups/retrace.cfg b/roles/nagios_server/files/nagios/servicegroups/retrace.cfg new file mode 100644 index 0000000000..dc30917ca4 --- /dev/null +++ b/roles/nagios_server/files/nagios/servicegroups/retrace.cfg @@ -0,0 +1,5 @@ +define servicegroup { + servicegroup_name retrace + alias Retrace Hosts + members retrace01.qa,Disk space /,retrace01.qa,Total Processes,retrace01.qa,Check Raid,retrace01.qa,Swap,retrace01.qa,SSH +} diff --git a/roles/nagios_server/files/nagios/services/db_backups.cfg b/roles/nagios_server/files/nagios/services/db_backups.cfg new file mode 100644 index 0000000000..583faf2e62 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/db_backups.cfg @@ -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 +} + diff --git a/roles/nagios_server/files/nagios/services/disk.cfg b/roles/nagios_server/files/nagios/services/disk.cfg new file mode 100644 index 0000000000..ca435400e2 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/disk.cfg @@ -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 +} diff --git a/roles/nagios_server/files/nagios/services/dns.cfg b/roles/nagios_server/files/nagios/services/dns.cfg new file mode 100644 index 0000000000..0f1eb14b8d --- /dev/null +++ b/roles/nagios_server/files/nagios/services/dns.cfg @@ -0,0 +1,6 @@ +define service { + hostgroup_name dnsservers + service_description DNS: fp.o + check_command check_dns_fpo + use criticaltemplate +} diff --git a/roles/nagios_server/files/nagios/services/fedmsg.cfg b/roles/nagios_server/files/nagios/services/fedmsg.cfg new file mode 100644 index 0000000000..f1bf080860 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/fedmsg.cfg @@ -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 +#} diff --git a/roles/nagios_server/files/nagios/services/fedora-packages.cfg b/roles/nagios_server/files/nagios/services/fedora-packages.cfg new file mode 100644 index 0000000000..d659e00906 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/fedora-packages.cfg @@ -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 +} diff --git a/roles/nagios_server/files/nagios/services/file_age.cfg b/roles/nagios_server/files/nagios/services/file_age.cfg new file mode 100644 index 0000000000..2d6939dd96 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/file_age.cfg @@ -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 +} diff --git a/roles/nagios_server/files/nagios/services/haproxy.cfg b/roles/nagios_server/files/nagios/services/haproxy.cfg new file mode 100644 index 0000000000..d4e87d0314 --- /dev/null +++ b/roles/nagios_server/files/nagios/services/haproxy.cfg @@ -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 +} diff --git a/roles/nagios_server/files/nagios/services/hosted.cfg b/roles/nagios_server/files/nagios/services/hosted.cfg new file mode 100644 index 0000000000..0816af7a3a --- /dev/null +++ b/roles/nagios_server/files/nagios/services/hosted.cfg @@ -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/! + + + + + + + + + + + + + + + +
+
Nagios
+
+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + +
Home
Documentation
+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Tactical Overview
Service Detail
Host Detail
Hostgroup Overview
Hostgroup Summary
Hostgroup Grid
Servicegroup Overview
Servicegroup Summary
Servicegroup Grid
Status Map
3-D Status Map
Service Problems
Host Problems
Network Outages
+
+ + +
+
Comments
Downtime
Process Info
Performance Info
Scheduling Queue
+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Trends
Availability
Alert Histogram
Alert History
Alert Summary
Notifications
Event Log
+ + + + + + +
+ + + + + +
+ + + + + + +
View Config
+ + + diff --git a/roles/nagios_server/tasks/main.yml b/roles/nagios_server/tasks/main.yml new file mode 100644 index 0000000000..9ed32604d6 --- /dev/null +++ b/roles/nagios_server/tasks/main.yml @@ -0,0 +1,320 @@ +- name: Add nagios group as 420 + user: name=nagios gid=420 state=present system=yes + +- name: Add nagios user as 420 + user: name=nagios uid=420 state=present home=/var/spool/nagios comment="Nagios Monitoring User" createhome=yes system=yes shell=/bin/bash + +# $nagiosDbUser = 'nagiosuser' +# include httpd::base +# include httpd::mod_auth_pgsql +# +# # For notify-by-fedmsg +# include fedmsg::config + +# Add the apache user to the nagios group so that it has permissions +# to do stuff in /var/spool/nagios/* +- name: Add apache to nagios group + user: name=apache append=yes groups=nagios + +- name: Install nagios packages + yum: name={{ item }} state=installed + with_items: + - php + - nagios-plugins-http + - nagios-plugins-dns + - nagios-plugins-dig + - nagios-plugins-ssh + - nagios-plugins-nagios + - nagios-plugins-nrpe + - nagios-plugins-tcp + - nagios-plugins-pgsql + - nagios-plugins-smtp + - nagios.x86_64 + #'nagios-plugins', # gets this from also being in ::client + - python-xmpp + - perl-Mail-IMAPClient + - nagios-plugins-dummy + - nsca + - nsca-client + - stunnel + +- name: Restart and autostart nagios + service: name=nagios state=restarted enabled=yes + +- name: Restart and autostart nsca + service: name=nsca state=restarted enabled=yes + +- name: + + file { '/etc/nagios/nsca.cfg': + # Special-case this, because the service block below wants an actual File block. + source => "puppet:///nagios/nsca.cfg", + owner => root, + group => root, + mode => 755 + } + + + file { '/etc/nagios/': + source => 'puppet:///nagios/nagios/', + owner => nagios, + group => nagios, + recurse => true, + require => Package['nagios.x86_64'], + } + + file { '/etc/nagios/checkcommands.cfg': + content => template('nagios/nagios/checkcommands.cfg.erb'), + owner => nagios, + group => nagios, + } + + file { '/etc/httpd/conf.d/nagios.conf': + content => template('nagios/nagios-http.conf.erb'), + require => [Package['httpd'], Package['mod_auth_pgsql']], + } + + file { '/usr/lib/nagios/plugins/eventhandlers/': + ensure => directory, + } + + file { '/usr/lib/nagios/plugins/restart_httpd': + # Not /technically/ a plugin, but .... + source => "puppet:///nagios/plugins/restart_httpd", + owner => root, + group => root, + mode => 755 + } + + file { '/usr/lib/nagios/plugins/restart_rsyslog': + # Not /technically/ a plugin, but .... + source => "puppet:///nagios/plugins/restart_rsyslog", + owner => root, + group => root, + mode => 755 + } + + file { '/usr/local/bin/xmppsend': + # Once again, not /technically/ a plugin... + source => "puppet:///nagios/plugins/xmppsend.py", + owner => root, + group => root, + mode => 755 + } + + file { '/etc/nagios/private/xmppnagios.ini': + # Can this be moved to a .erb? + source => 'puppet:///config/secure/xmppnagios.ini', + owner => nagios, + group => nagios, + mode => 660 + } + + file { '/usr/lib/nagios/plugins/check_email_delivery_epn': + source => "puppet:///nagios/plugins/check_email_delivery_epn", + owner => root, + group => root, + mode => 755, + require => [Package['nagios-plugins']] + } + + file { '/usr/lib/nagios/plugins/check_imap_receive_epn': + source => "puppet:///nagios/plugins/check_imap_receive_epn", + owner => root, + group => root, + mode => 755, + require => [Package['nagios-plugins']] + } + + file { '/usr/lib/nagios/plugins/check_smtp_send_epn': + source => "puppet:///nagios/plugins/check_smtp_send_epn", + owner => root, + group => root, + mode => 755, + require => [Package['nagios-plugins']] + } + + file { '/usr/lib/nagios/plugins/check_dig_ssl': + source => "puppet:///nagios/plugins/check_dig_ssl", + owner => root, + group => root, + mode => 755, + require => [Package['nagios-plugins']] + } + file { '/var/log/nagios/': + ensure => directory, + owner => nagios, + group => nagios, + mode => 644, + } + + file { '/var/log/nagios/spool': + ensure => directory, + owner => nagios, + group => nagios, + mode => 644, + } + + file { '/var/log/nagios/spool/checkresults': + ensure => directory, + owner => nagios, + group => nagios, + mode => 644, + } + + file { '/usr/local/bin/check_nagios_notifications.py': + mode => 755, + owner => root, + group => root, + source => 'puppet:///nagios/check_nagios_notifications.py' + } + + # Nagios defaults that aren't used. + file { + [ + '/etc/nagios/passwd', + '/etc/nagios/objects' + ]: + ensure => absent, + force => true + } + + cron { "check_nagios_notifications": + minute => 0, + hour => 0, + monthday => absent, + month => absent, + weekday => 1, + user => "nagios", + command => "/usr/local/bin/check_nagios_notifications.py" + } +} + +class nagios::server_external inherits nagios::server { + File['/etc/nagios/'] { + source => 'puppet:///nagios/nagios-external/', + } + + File['/etc/nagios/checkcommands.cfg'] { + content => template('nagios/nagios-external/checkcommands.cfg.erb'), + } + + file { '/usr/share/nagios/html/side.html': + mode => 644, + owner => root, + group => root, + source => 'puppet:///nagios/side.html' + } + + file { '/usr/share/nagios/html/config.inc.php': + mode => 644, + owner => root, + group => root, + source => 'puppet:///nagios/config.inc.php' + } + + +} + +class nagios::client inherits nagios { + package { + [ + "nagios-plugins", + "nagios-plugins-disk", + "nagios-plugins-file_age", + "nagios-plugins-users", + "nagios-plugins-procs", + "nagios-plugins-swap", + "nagios-plugins-load", + "nagios-plugins-ping", + ]: ensure => installed, + } + + case $architecture { + x86_64: { include nagiossymlink } + ppc64: { include nagiossymlink } + } + + file { "/var/spool/nagios/": + ensure => directory, + owner => nagios, + group => nagios, + mode => 750, + + # An empty dir is an empty dir is an empty dir. + # source => "blank/" + } + + file { '/usr/lib/nagios/plugins/': + source => 'puppet:///nagios/plugins/', + mode => 755, + owner => root, + group => root, + recurse => true, + require => [Package['nagios-plugins']] + } + + # These two need to be done separately from the previous recursive + # declaration because of the additional selinux type. + file { '/usr/lib/nagios/plugins/check_haproxy_conns.py': + source => 'puppet:///nagios/plugins/check_haproxy_conns.py', + mode => 755, + owner => root, + group => root, + # Needs to be able to write a query to /var/run/haproxy-stats + seltype => 'nagios_unconfined_plugin_exec_t', + # This chunk needs to run *after* the recursive bit so selinux types + # don't toggle back and forth. + require => File['/usr/lib/nagios/plugins/'], + } + file { '/usr/lib/nagios/plugins/check_supybot_plugin': + source => 'puppet:///nagios/plugins/check_supybot_plugin', + mode => 755, + owner => root, + group => root, + # Needs to be able to connect to irc + seltype => 'nagios_unconfined_plugin_exec_t', + # This chunk needs to run *after* the recursive bit so selinux types + # don't toggle back and forth. + require => File['/usr/lib/nagios/plugins/'], + } +} + +class nagiosPhysical{ + include ipmitool-package + file { '/usr/lib/nagios/plugins/check_ipmi': + source => 'puppet:///nagios/plugins/check_ipmi', + mode => 755, + owner => root, + group => root, + require => [Package['nagios-plugins'], Package['ipmitool']] + } +} + +class nrpe { + if ($operatingsystem == "RedHat" and $operatingsystemrelease >= 6) { + selinux-policy::custom { 'nrpe': } + } + + package { 'nrpe': ensure => installed } + + service { 'nrpe': + enable => true, + ensure => running, + subscribe => File['/etc/nagios/nrpe.cfg'] + } + + file { '/etc/nagios/nrpe.cfg': + source => 'puppet:///nagios/nrpe.cfg', + require => Package[nrpe], + # notify => Service[nrpe] + } +} + +class nagiossymlink { # Is this a hack? Is it still needed? + symlink { '/usr/lib/nagios': + replace => false, + ensure => '/usr/lib64/nagios/', + require => Package['nagios-plugins'] + } +} diff --git a/roles/nagios_server/templates/nagios-external/checkcommands.cfg.erb b/roles/nagios_server/templates/nagios-external/checkcommands.cfg.erb new file mode 100644 index 0000000000..d4281f63c3 --- /dev/null +++ b/roles/nagios_server/templates/nagios-external/checkcommands.cfg.erb @@ -0,0 +1,258 @@ +################################################################################ +# Sample object config file for Nagios +# +# Read the documentation for more information on this configuration file. I've +# provided some comments here, but things may not be so clear without further +# explanation, so make sure to read the HTML documentation! +# +# Last Modified: 12-15-2005 +# +################################################################################ + + +################################################################################ +# COMMAND DEFINITIONS +# +# SYNTAX: +# +# define command{ +# template +# name +# command_name +# command_line +# } +# +# WHERE: +# +# = object name of another command definition that should be +# used as a template for this definition (optional) +# = object name of command definition, referenced by other +# command definitions that use it as a template (optional) +# = name of the command, as recognized/used by Nagios +# = command line +# +################################################################################ + + + + +################################################################################ +# +# SAMPLE SERVICE CHECK COMMANDS +# +# These are some example service check commands. They may or may not work on +# your system, as they must be modified for your plugins. See the HTML +# documentation on the plugins for examples of how to configure command definitions. +# +################################################################################ + +# 'check_koji' +define command{ + command_name check_koji + command_line $USER1$/check_koji +} + +# 'check by nrpe' +define command{ + command_name check_by_nrpe + command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ +} + +# 'pgsql' +define command{ + command_name check_pgsql + command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -p '<%= nagiosDbUserPassword %>' --logname '<%= nagiosDbUser %>' +} + +# 'check_website' command definition +define command{ + command_name check_website + command_line $USER1$/check_http -w 18 -c 28 -I $HOSTADDRESS$ -H $ARG1$ -u "$ARG2$" -s "$ARG3$" +} + +define command{ + command_name check_website_ssl + command_line $USER1$/check_http -w 18 -c 28 --ssl -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$" +} + +define command { + command_name check_by_ssh_check_raid + command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_raid.py" +} + +define command { + command_name check_by_ssh_check_disk + command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_disk -w $ARG1$% -c $ARG2$% -p $ARG3$" +} + +# 'check_ssh' command definition +define command{ + command_name check_ssh + command_line $USER1$/check_ssh -H $HOSTADDRESS$ +} + +# 'check_dns' command definition +define command{ + command_name check_dns + command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ + } + +# 'check_dns_fpo' command definition +define command{ + command_name check_dns_fpo + command_line $USER1$/check_dns -H fedoraproject.org -A -s $HOSTADDRESS$ + } + +# 'check_ftp' command definition +define command{ + command_name check_ftp + command_line $USER1$/check_ftp -H $HOSTADDRESS$ + } + + +# 'check_hpjd' command definition +define command{ + command_name check_hpjd + command_line $USER1$/check_hpjd -H $HOSTADDRESS$ -C public + } + + +# 'check_http' command definition +define command{ + command_name check_http + command_line $USER1$/check_http -H $HOSTADDRESS$ + } + +# 'check_https' command definition +define command{ + command_name check_https + command_line $USER1$/check_http -H $HOSTADDRESS$ --ssl + } + + +# 'check_local_disk' command definition +define command{ + command_name check_local_disk + command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ + } + + +# 'check_local_load' command definition +define command{ + command_name check_local_load + command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ + } + + +# 'check_local_procs' command definition +define command{ + command_name check_local_procs + command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ + } + + +# 'check_local_users' command definition +define command{ + command_name check_local_users + command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ + } + + +# 'check_nntp' command definition +define command{ + command_name check_nntp + command_line $USER1$/check_nntp -H $HOSTADDRESS$ + } + + +# 'check_ping' command definition +define command{ + command_name check_ping + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 + } + +# 'check_pop' command definition +define command{ + command_name check_pop + command_line $USER1$/check_pop -H $HOSTADDRESS$ + } + + +# 'check_smtp' command definition +define command{ + command_name check_smtp + command_line $USER1$/check_smtp -H $HOSTADDRESS$ + } + + +# 'check_tcp' command definition +define command{ + command_name check_tcp + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ + } + + +# 'check_telnet' command definition +define command{ + command_name check_telnet + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 + } + + +# 'check_udp' command definition +define command{ + command_name check_udp + command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ + } + + + + +################################################################################ +# +# SAMPLE HOST CHECK COMMANDS +# +################################################################################ + + +# This command checks to see if a host is "alive" by pinging it +# The check must result in a 100% packet loss or 5 second (5000ms) round trip +# average time to produce a critical error. +# Note: Only one ICMP echo packet is sent (determined by the '-p 1' argument) + +# 'check-host-alive' command definition +define command{ + command_name check-host-alive + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 2 + } + +define command{ + command_name true + command_line /bin/true + } + + +# 'check_bzr' command definition +# I'd like this to actually interact with BZR, but I can't find any +# proper documentation on the protocol to craft send/expect/quit +# strings. +define command{ + command_name check_bzr + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 4155 +} + +# 'check_git' command definition +# I'd like this to actually interact with GIT, but I can't find any +# proper documentation on the protocol to craft send/expect/quit +# strings. +define command{ + command_name check_git + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 9418 +} + +## dummy command nsca/passive checks + + define command{ + command_name check_dummy + command_line $USER1$/check_dummy $ARG1$ $ARG2$ + } diff --git a/roles/nagios_server/templates/nagios-http.conf.erb b/roles/nagios_server/templates/nagios-http.conf.erb new file mode 100644 index 0000000000..9e48c5a75d --- /dev/null +++ b/roles/nagios_server/templates/nagios-http.conf.erb @@ -0,0 +1,60 @@ +ScriptAlias /nagios/cgi-bin/ /usr/lib64/nagios/cgi-bin/ + +# noc3 +ScriptAlias /nagios-external/cgi-bin/ /usr/lib64/nagios/cgi-bin/ + +ScriptAlias /tac.cgi /usr/lib64/nagios/cgi-bin/tac.cgi + + + Options ExecCGI + AuthType Basic + AuthName "nagios" + + Auth_PG_host db-fas + Auth_PG_port 5432 + Auth_PG_user fasreadonly + Auth_PG_pwd <%= fasReadOnlyPassword %> + Auth_PG_database fas2 + Auth_PG_pwd_table people + Auth_PG_uid_field username + Auth_PG_pwd_field password + Auth_PG_pwd_whereclause " and status='active'" + + require valid-user + + +Alias /nagios /usr/share/nagios/html/ + +# This will only affect noc3 because the proxies only forward -external to it. +Alias /nagios-external /usr/share/nagios/html/ + + + Options None + + +# For SSL-servers +# +# Options ExecCGI +# SSLRequireSSL +# order deny,allow +# deny from all +# allow from 127.0.0.1 +# AuthType Basic +# AuthUserFile /etc/nagios/passwd +# AuthName "nagios" +# require valid-user +# +# +#Alias /nagios/ /usr/share/nagios/html/ +# +# Options None +# SSLRequireSSL +# order deny,allow +# deny from all +# allow from 127.0.0.1 +# AuthType Basic +# AuthUserFile /etc/nagios/passwd +# AuthName "nagios" +# require valid-user +# + diff --git a/roles/nagios_server/templates/nagios/checkcommands.cfg.erb b/roles/nagios_server/templates/nagios/checkcommands.cfg.erb new file mode 100644 index 0000000000..f82f262c76 --- /dev/null +++ b/roles/nagios_server/templates/nagios/checkcommands.cfg.erb @@ -0,0 +1,312 @@ +################################################################################ +# Sample object config file for Nagios +# +# Read the documentation for more information on this configuration file. I've +# provided some comments here, but things may not be so clear without further +# explanation, so make sure to read the HTML documentation! +# +# Last Modified: 12-15-2005 +# +################################################################################ + + +################################################################################ +# COMMAND DEFINITIONS +# +# SYNTAX: +# +# define command{ +# template +# name +# command_name +# command_line +# } +# +# WHERE: +# +# = object name of another command definition that should be +# used as a template for this definition (optional) +# = object name of command definition, referenced by other +# command definitions that use it as a template (optional) +# = name of the command, as recognized/used by Nagios +# = command line +# +################################################################################ + +# 'restart httpd' +define command { + command_name restart_httpd + command_line $USER1$/restart_httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$HOSTALIAS$" "$SERVICEDESC$" "$SERVICESTATE$" + } + +define command { + command_name restart_rsyslog + command_line $USER1$/restart_rsyslog $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$HOSTALIAS$" "$SERVICEDESC$" "$SERVICESTATE$" + } + + +################################################################################ +# +# SAMPLE SERVICE CHECK COMMANDS +# +# These are some example service check commands. They may or may not work on +# your system, as they must be modified for your plugins. See the HTML +# documentation on the plugins for examples of how to configure command definitions. +# +################################################################################ + +# 'check_tape' +define command{ + command_name check_tape + command_line $USER1$/check_tape +} + +# 'check_koji' +define command{ + command_name check_koji + command_line $USER1$/check_koji +} + +# 'test nrpe' +define command{ + command_name test_nrpe + command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$ + +} +# 'check by nrpe' +define command{ + command_name check_by_nrpe + command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$ -c $ARG1$ +} + +# 'pgsql' +define command{ + command_name check_pgsql + command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -p '<%= nagiosDbUserPassword %>' --logname '<%= nagiosDbUser %>' +} + +# 'check_website' command definition +define command{ + command_name check_website + command_line $USER1$/check_http -w 30 -c 40 -I $HOSTADDRESS$ -H $ARG1$ -u "$ARG2$" -s "$ARG3$" +} + +define command{ + command_name check_website_ppc + command_line $USER1$/check_http -w 300 -c 400 -I $HOSTADDRESS$ -H $ARG1$ -u "$ARG2$" -s "$ARG3$" +} + +define command{ + command_name check_website_ssl + command_line $USER1$/check_http -w 30 -c 40 --ssl -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$" +} + +define command{ + command_name check_ssl_cert + command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -C $ARG2$ +} + +#define command { +# command_name check_by_ssh_check_raid +# command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_raid.py" +#} +# +#define command { +# command_name check_by_ssh_check_disk +# command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_disk -w $ARG1$% -c $ARG2$% -p $ARG3$" +#} + +# 'check_ssh' command definition +define command{ + command_name check_ssh + command_line $USER1$/check_ssh -H $HOSTADDRESS$ +} + +# 'check_dns' command definition +define command{ + command_name check_dns + command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ + } + +# 'check_dns_fpo' command definition +define command{ + command_name check_dns_fpo + command_line $USER1$/check_dns -H fedoraproject.org -A -s $HOSTADDRESS$ + } + +# 'check_ftp' command definition +define command{ + command_name check_ftp + command_line $USER1$/check_ftp -H $HOSTADDRESS$ + } + + +# 'check_hpjd' command definition +define command{ + command_name check_hpjd + command_line $USER1$/check_hpjd -H $HOSTADDRESS$ -C public + } + + +# 'check_http' command definition +define command{ + command_name check_http + command_line $USER1$/check_http -H $HOSTADDRESS$ + } + + +# 'check_local_disk' command definition +define command{ + command_name check_local_disk + command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ + } + + +# 'check_local_load' command definition +define command{ + command_name check_local_load + command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ + } + + +# 'check_local_procs' command definition +define command{ + command_name check_local_procs + command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ + } + +# 'check_local_users' command definition +define command{ + command_name check_local_users + command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ + } + + +# 'check_nntp' command definition +define command{ + command_name check_nntp + command_line $USER1$/check_nntp -H $HOSTADDRESS$ + } + + +# 'check_ping' command definition +define command{ + command_name check_ping + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 + } + + +# 'check_pop' command definition +define command{ + command_name check_pop + command_line $USER1$/check_pop -H $HOSTADDRESS$ + } + + +# 'check_smtp' command definition +define command{ + command_name check_smtp + command_line $USER1$/check_smtp -H $HOSTADDRESS$ + } + + +# 'check_tcp' command definition +define command{ + command_name check_tcp + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ + } + + +# 'check_telnet' command definition +define command{ + command_name check_telnet + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 + } + + +# 'check_udp' command definition +define command{ + command_name check_udp + command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ + } + + +# 'check_unbound_80' command definition +define command{ + command_name check_unbound_80 + command_line $USER1$/check_dig -H $HOSTADDRESS$ -w 5 -c 9 -p 80 -l $ARG1$ -A "+tcp" + } + + +# 'check_unbound_443' command definition +define command{ + command_name check_unbound_443 + command_line $USER1$/check_dig_ssl -H $HOSTADDRESS$ -w 5 -c 9 -p 443 -L $ARG1$ -l $ARG2$ -A "+tcp" + } + + +################################################################################ +# +# SAMPLE HOST CHECK COMMANDS +# +################################################################################ + + +# This command checks to see if a host is "alive" by pinging it +# The check must result in a 100% packet loss or 5 second (5000ms) round trip +# average time to produce a critical error. +# Note: Only one ICMP echo packet is sent (determined by the '-p 1' argument) + +# 'check-host-alive' command definition +define command{ + command_name check-host-alive + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 2 + } + +# 'check-host-alive-nrpe' is better for hosts that are on vpn. +define command{ + command_name check-host-alive-nrpe + command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$ + } +# 'check_bzr' command definition +# I'd like this to actually interact with BZR, but I can't find any +# proper documentation on the protocol to craft send/expect/quit +# strings. +define command{ + command_name check_bzr + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 4155 +} + +# 'check_git' command definition +# I'd like this to actually interact with GIT, but I can't find any +# proper documentation on the protocol to craft send/expect/quit +# strings. +define command{ + command_name check_git + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 9418 +} + +# 'check_email_delivery' command definition +define command{ + command_name check_email_delivery + command_line $USER1$/check_email_delivery_epn -H $ARG1$ --mailto $ARG2$ --mailfrom $ARG3$ --username $ARG4$ --password $ARG5$ -w $ARG6$ -c $ARG7$ +} +# 'check_postgres_conns' command definition +#define command{ +# command_name check_postgres_conns +# command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_procs -u postgres -w $ARG1$ -c $ARG2$ -a $ARG3$" +#} + + +## dummy command nsca/passive checks + + define command{ + command_name check_dummy + command_line $USER1$/check_dummy $ARG1$ $ARG2$ + } + +# 'check_https' command definition +define command{ + command_name check_https + command_line $USER1$/check_http -H $HOSTADDRESS$ -S + }