X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=e27d312259208aca7cebc7b0bd4dae7411bfb2bb;hb=8174576c2ce2f8c339ff8104ee0d7e1bcfcb86bf;hp=3862d22f5dd883d0b473727e55de795b3cd03953;hpb=d1f53c854867b88f80f07b5a7a8555460216466b;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 3862d22..e27d312 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -435,7 +435,7 @@ servers: oyens: address: 5.153.231.26 parents: ganeti-bytemark - hostgroups: computers, kvmdomains, jessie, openstack-controller, broken_mq #, apache2-hosts, apache-https + hostgroups: computers, kvmdomains, jessie, openstack-controller, broken_mq, apache2-hosts # apache-https barriere: address: 5.153.231.27 parents: ganeti-bytemark @@ -564,6 +564,10 @@ servers: address: 128.31.0.66 parents: ganeti-csail hostgroups: computers, service, kvmdomains, jessie, apache2-hosts + soriano: + address: 128.31.0.67 + parents: ganeti-csail + hostgroups: computers, service, kvmdomains, hassrvfs, jessie, apache2-hosts # }}} # {{{ gw-dgi storace: @@ -677,7 +681,7 @@ servers: bendel: address: 82.195.75.100 parents: ganeti3 - hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, wheezy, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts, hasvarlogfs + hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, jessie, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts, hasvarlogfs master: address: 82.195.75.110 parents: ganeti3 @@ -719,7 +723,7 @@ servers: handel: address: 82.195.75.104 parents: ganeti3 - hostgroups: computers, service, kvmdomains, apache2-hosts, jessie, apache-https + hostgroups: computers, service, kvmdomains, apache2-hosts, jessie kaufmann: address: 82.195.75.107 parents: ganeti3 @@ -780,6 +784,18 @@ servers: address: 140.211.166.26 parents: byrd hostgroups: computers, service, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres94-hosts, jessie, hasvarlogfs, apache-https, spamd + pieta: + address: 140.211.166.195 + parents: gw-osuosl + hostgroups: computers, jessie, service + ppc64el-osuosl-01: + address: 140.211.166.196 + parents: pieta + hostgroups: computers, hassrvfs, buildd, jessie + powerpc-osuosl-01: + address: 140.211.166.197 + parents: pieta + hostgroups: computers, hassrvfs, buildd, jessie # malo TODO mayer: address: 140.211.166.78 @@ -793,10 +809,6 @@ servers: address: 140.211.166.46 parents: gw-osuosl hostgroups: computers, porterbox, hasusrfs, wheezy - parry: - address: 140.211.15.153 - parents: gw-osuosl - hostgroups: computers, jessie, buildd, hassrvfs, sw-raid partch: address: 140.211.15.152 parents: gw-osuosl @@ -852,7 +864,7 @@ servers: eberlin: address: 86.59.118.155 parents: gw-sil - hostgroups: computers, buildd, wheezy, sw-raid + hostgroups: computers, buildd, jessie, sw-raid # }}} # {{{ gw-ubcece sw-ubcece: @@ -1547,11 +1559,11 @@ services: name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 620 700" hostgroups: computers - excludehosts: prokofiev + excludehosts: prokofiev, pieta - name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 1500 1700" - hosts: prokofiev + hosts: prokofiev, pieta - name: swap usage - percent nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%" @@ -2334,7 +2346,7 @@ services: name: network service - http check: check_http hostgroups: apache2-hosts - excludehosts: klecker + excludehosts: klecker, oyens depends: process - apache2 - master - name: network service - http @@ -2354,14 +2366,14 @@ services: name: network service - https check: check_https hostgroups: apache-https - excludehosts: handel,menotti + excludehosts: menotti excludehostgroups: broken_https_default_vhost depends: "process - apache2 - master" normal_check_interval: 120 - name: network service - https check: dsa_check_https_want_auth - hosts: handel,menotti + hosts: menotti depends: "process - apache2 - master" normal_check_interval: 120 - @@ -2608,46 +2620,46 @@ services: retry_check_interval: 15 # }}} # {{{ openstack - - - 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 128 -p 11211 -u nobody -l 0.0.0.0'" - 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 - memcached +# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nobody -C memcached -a '/usr/bin/memcached -m 128 -p 11211 -u nobody -l 0.0.0.0'" +# 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 +# - +# 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 # }}} # {{{ misc - @@ -2697,7 +2709,7 @@ services: ### - name: process - icinga - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:60 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" hosts: tchaikovsky ### - @@ -2724,7 +2736,7 @@ services: #### - name: puppetmaster cert - nrpe: "/usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem" + nrpe: "sudo -u puppet /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem" hosts: handel normal_check_interval: 60 max_check_attempts: 2