X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=0ea302f2488a6751beae6ed54408ca294a9039f6;hb=5629148c36a1bb411653c4b252d51c57ab62f9df;hp=04db0e44ad09ebc6f021692df2dd2e8f210dd20b;hpb=db84f0a073b5a6027009de0596e0b554c0b3affe;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 04db0e4..0ea302f 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -177,7 +177,7 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, apache-https, postgres91-hosts, wheezy + hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, xinetd-hosts, apache-https, postgres91-hosts, wheezy geo3: address: 195.20.242.125 parents: schumann @@ -206,10 +206,6 @@ servers: address: 217.140.96.56 parents: gw-arm hostgroups: computers, hasbootfs, hassrvfs, porterbox, wheezy, deadslow - alain: - address: 217.140.96.58 - parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, deadslow alwyn: address: 217.140.96.59 parents: gw-arm @@ -247,7 +243,7 @@ servers: franck: address: 138.16.160.12 parents: gw-brown - hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres91-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, wheezy + hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres91-hosts, spamd, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, wheezy # }}} # {{{ gw-bytemark bm-bl1: @@ -282,6 +278,22 @@ servers: address: 5.153.231.248 parents: gw-bytemark hostgroups: computers, bm-bl, acpid-hosts, service, wheezy + bm-bl9: + address: 5.153.231.249 + parents: gw-bytemark + hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute + bm-bl10: + address: 5.153.231.250 + parents: gw-bytemark + hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute + bm-bl11: + address: 5.153.231.251 + parents: gw-bytemark + hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute + bm-bl12: + address: 5.153.231.252 + parents: gw-bytemark + hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute milanollo: address: 5.153.231.2 @@ -337,26 +349,22 @@ servers: address: 5.153.231.13 parents: ganeti-bytemark hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts - petrova: - address: 5.153.231.25 - parents: ganeti-bytemark - hostgroups: computers, kvmdomains, wheezy, apache2-hosts couper: address: 5.153.231.14 parents: ganeti-bytemark hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs rainier: - address: 5.153.231.15 + address: 5.153.231.16 parents: ganeti-bytemark hostgroups: computers, kvmdomains, wheezy, no-bacula rapoport: - address: 5.153.231.16 + address: 5.153.231.15 parents: ganeti-bytemark hostgroups: computers, kvmdomains, wheezy, no-bacula delfin: address: 5.153.231.17 parents: ganeti-bytemark - hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts + hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs wuiet: address: 5.153.231.18 parents: ganeti-bytemark @@ -387,6 +395,26 @@ servers: address: 5.153.231.24 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, wheezy, bind9-hosts, no-bacula + petrova: + address: 5.153.231.25 + parents: ganeti-bytemark + hostgroups: computers, kvmdomains, wheezy, apache2-hosts + oyens: + address: 5.153.231.26 + parents: ganeti-bytemark + hostgroups: computers, kvmdomains, wheezy, apache2-hosts, openstack-controller, apache-https + barriere: + address: 5.153.231.27 + parents: ganeti-bytemark + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, porterbox + quantz: + address: 5.153.231.28 + parents: ganeti-bytemark + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, apache2-hosts, autofs + portman: + address: 5.153.231.29 + parents: ganeti-bytemark + hostgroups: computers, service, kvmdomains, wheezy # }}} # {{{ gw-c3sl santoro: @@ -464,10 +492,6 @@ servers: address: 194.177.211.204 parents: gw-grnet hostgroups: computers, acpid-hosts, buildd, hassrvfs, mptraid, wheezy - cilea: - address: 194.177.211.205 - parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, hassrvfs, service, squeeze orff: address: 194.177.211.209 parents: gw-grnet @@ -491,33 +515,33 @@ servers: lw01: address: 185.17.185.177 parents: gw-leaseweb - hostgroups: computers, wheezy, dl180 + hostgroups: computers, service, acpid-hosts, wheezy, dl180 lw02: address: 185.17.185.178 parents: gw-leaseweb - hostgroups: computers, wheezy, dl180 + hostgroups: computers, service, acpid-hosts, wheezy, dl180 lw03: address: 185.17.185.179 parents: gw-leaseweb - hostgroups: computers, wheezy, dl180 + hostgroups: computers, service, acpid-hosts, wheezy, dl180 lw04: address: 185.17.185.180 parents: gw-leaseweb - hostgroups: computers, wheezy, dl180 + hostgroups: computers, service, acpid-hosts, wheezy, dl180 lw05: address: 185.17.185.181 parents: gw-leaseweb - hostgroups: computers, wheezy, dl120, sw-raid + hostgroups: computers, service, acpid-hosts, wheezy, dl120, sw-raid lw06: address: 185.17.185.182 parents: gw-leaseweb - hostgroups: computers, wheezy, dl120, sw-raid + hostgroups: computers, service, acpid-hosts, wheezy, dl120, sw-raid # }}} # {{{ gw-karlsruhe zemlinsky: address: 129.143.160.6 parents: gw-karlsruhe - hostgroups: computers, buildd, hassrvfs, wheezy + hostgroups: computers, buildd, wheezy contacts: pkern # }}} # {{{ gw-man-da @@ -596,10 +620,6 @@ servers: address: 82.195.75.112 parents: ganeti3 hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache-https, rsyncd-hosts, xinetd-hosts - vieuxtemps: - address: 82.195.75.113 - parents: ganeti3 - hostgroups: computers, service, kvmdomains, wheezy, varnish-hosts mailly: address: 82.195.75.114 parents: ganeti3 @@ -732,7 +752,7 @@ servers: ravel: address: 206.12.19.5 parents: sw-ubcece-kais - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, wheezy, autofs + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, xinetd-hosts, wheezy, autofs dijkstra: address: 206.12.19.218 parents: sw-ubcece-kais @@ -843,10 +863,6 @@ servers: address: 206.12.19.121 parents: sw-ubcece-kais hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs - quantz: - address: 206.12.19.122 - parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, apache2-hosts, autofs nono: address: 206.12.19.123 parents: traetta @@ -874,7 +890,7 @@ servers: gombert: address: 206.12.19.132 parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, heavy-exim, apache2-hosts + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts jenkins: address: 206.12.19.133 parents: salieri @@ -883,10 +899,6 @@ servers: address: 206.12.19.134 parents: ganeti2 hostgroups: computers, service, kvmdomains, wheezy, xinetd-hosts, nfs-client, autofs - barriere: - address: 206.12.19.135 - parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, porterbox diabelli: address: 206.12.19.136 parents: traetta @@ -956,10 +968,6 @@ servers: hostgroups: secondary-IPs # }}} # {{{ gw-ynic - hildegard: - address: 144.32.168.74 - parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, deadslow, buildd howells: address: 144.32.168.75 parents: gw-ynic @@ -1116,9 +1124,9 @@ hostgroups: jetty-hosts: alias: hosts running jetty private: 1 - varnish-hosts: - alias: hosts running varnish - private: 1 + #varnish-hosts: + # alias: hosts running varnish + # private: 1 bind9-hosts: alias: hosts running bind9 private: 1 @@ -1231,6 +1239,12 @@ hostgroups: alioth: alias: machines that just are just awkward private: 1 + openstack-compute: + alias: nodes that run OpenStack compute + private: 1 + openstack-controller: + alias: nodes that run OpenStack controller + private: 1 security_mirror: alias: hosts that are security mirrors @@ -1407,11 +1421,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/ftp-master.debian.org" hosts: franck - - - name: disk usage on /srv/pgbackup - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /srv/pgbackup" - hosts: franck - name: disk usage on /srv/pgbackup servicegroups: diskspace @@ -2138,6 +2147,13 @@ services: normal_check_interval: 120 hostgroups: dl585 ### + - + name: HW - edac status + nrpe: "/usr/lib/nagios/plugins/dsa-check-edac" + normal_check_interval: 120 + hosts: lw05, lw06 + #hostgroups: computers + #excludehosts: villa, lobos, senfl, schein - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" @@ -2368,20 +2384,20 @@ services: normal_check_interval: 60 ### - - - name: process - varnish - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" - hostgroups: varnish-hosts - - - name: process - varnish - worker - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u nobody -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" - hostgroups: varnish-hosts - depends: process - varnish - master - - - name: network service - http - check: check_http - hostgroups: varnish-hosts - depends: process - varnish - master + #- + # name: process - varnish - master + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" + # hostgroups: varnish-hosts + #- + # name: process - varnish - worker + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u nobody -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" + # hostgroups: varnish-hosts + # depends: process - varnish - master + #- + # name: network service - http + # check: check_http + # hostgroups: varnish-hosts + # depends: process - varnish - master ### @@ -2551,10 +2567,6 @@ services: name: process - mountd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'" hostgroups: nfs-server - - - name: nfs server glinka reachable - nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.76 -w 50,10% -c 200,30%" - hosts: quantz # - name: process - automount @@ -2658,7 +2670,7 @@ services: hosts: giustini - name: event log - remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=7778 $HOSTADDRESS$ public" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=8867 $HOSTADDRESS$ public" runfrom: dijkstra hosts: giustini ############ @@ -2668,5 +2680,49 @@ services: hostgroups: porterbox normal_check_interval: 60 retry_check_interval: 15 - + ############ +# - +# name: process - openstack - keystone +# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C keystone-all -a '/usr/bin/python /usr/bin/keystone-all'" +# hostgroups: openstack-controller + - + name: process - openstack - memcached + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nobody -C memcached -a '/usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1'" + hostgroups: openstack-controller + - + name: process - openstack - glance-registry + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u glance -C glance-registry -a '/usr/bin/python /usr/bin/glance-registry'" + hostgroups: openstack-controller + - + name: process - openstack - nova-api + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-api -a '/usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-api.log'" + hostgroups: openstack-controller + - + name: process - openstack - nova-compute + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-compute -a '/usr/bin/python /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-compute.log --config-file=/etc/nova/nova-compute.conf'" + hostgroups: openstack-compute + - + name: process - openstack - nova-cert + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-cert -a '/usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-cert.log'" + hostgroups: openstack-controller + - + name: process - openstack - nova-conductor + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-conductor -a '/usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-conductor.log'" + hostgroups: openstack-controller + - + name: process - openstack - nova-consoleauth + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-consoleauth.log'" + hostgroups: openstack-controller + - + name: process - openstack - nova-scheduler + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-scheduler.log'" + hostgroups: openstack-controller + - + name: process - openstack - nova-spicehtml5proxy + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-spicehtml5proxy --log-file /var/log/nova/nova-consoleproxy.log'" + hostgroups: openstack-controller + - + name: process - openstack - neutron-server + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u neutron -C neutron-server -a '/usr/bin/python2.7 /usr/bin/neutron-server --config-file=/etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/neutron-server.log'" + hostgroups: openstack-controller # vim: set ts=2 sw=2 et ai si fdm=marker: