Merge branch 'master' of git+ssh://db.debian.org/git/dsa-nagios
authorMartin Zobel-Helas <zobel@debian.org>
Thu, 9 Feb 2017 11:45:52 +0000 (12:45 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Thu, 9 Feb 2017 11:45:52 +0000 (12:45 +0100)
* 'master' of git+ssh://db.debian.org/git/dsa-nagios:
  sallinen fan#1 and fan#2 are absent
  porta and kaufmann get their rsync via systemd
  retry_check_interval is deprecated.  Replace with retry_interval.
  no more xinetd on kaufmann
  add sallinen

config/nagios-master.cfg
config/static/objects/generic-service.cfg

index 734f95a..f033d74 100644 (file)
@@ -646,7 +646,7 @@ servers:
   porta:
     address: 194.177.211.207
     parents: ganeti-grnet
-    hostgroups: computers, service, hassrvfs, kvmdomains, jessie, rsyncd-hosts, xinetd-hosts, systemd-timesyncd
+    hostgroups: computers, service, hassrvfs, kvmdomains, jessie, rsyncd-systemd-hosts, xinetd-hosts, systemd-timesyncd
   melartin:
     address: 194.177.211.208
     parents: ganeti-grnet
@@ -767,7 +767,7 @@ servers:
   kaufmann:
     address: 82.195.75.107
     parents: ganeti3
-    hostgroups: computers, service, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, jessie, apache-https
+    hostgroups: computers, service, apache2-hosts, rsyncd-systemd-hosts, kvmdomains, jessie, apache-https
   stockhausen:
     address: 82.195.75.108
     parents: ganeti3
@@ -860,6 +860,10 @@ servers:
     hostgroups: computers, jessie, hassrvfs, porterbox, sw-raid
   # }}}
   # {{{ gw-sanger
+  sallinen:
+    address: 193.62.202.26
+    parents: gw-sanger
+    hostgroups: computers, service, jessie, dl380, hpnewraid
   sibelius:
     address: 193.62.202.28
     parents: gw-sanger
@@ -1286,6 +1290,9 @@ hostgroups:
   rsyncd-hosts:
     alias: hosts providing rsync services via xinetd
     private: 1
+  rsyncd-systemd-hosts:
+    alias: hosts providing rsync services via systemd
+    private: 1
   xinetd-hosts:
     alias: hosts providing services via xinetd
     private: 1
@@ -1421,21 +1428,21 @@ services:
     excludehostgroups: layer3-infrastructure, high-RTT
     check_interval: 5
     max_check_attempts: 4
-    retry_check_interval: 1
+    retry_interval: 1
   -
     name: PING
     check: "check_ping!600.0,20%!900.0,40%"
     hostgroups: high-RTT
     check_interval: 5
     max_check_attempts: 4
-    retry_check_interval: 1
+    retry_interval: 1
   -
     name: PING
     check: "check_ping!2000.0,60%!3000.0,80%"
     hostgroups: layer3-infrastructure
     check_interval: 5
     max_check_attempts: 4
-    retry_check_interval: 1
+    retry_interval: 1
   # }}}
   # {{{ ### disk usage
   -
@@ -1636,7 +1643,7 @@ services:
     name: system - filesystem check
     nrpe: "/usr/bin/sudo /usr/lib/nagios/plugins/dsa-check-filesystems"
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
     hostgroups: computers
   # }}}
   # {{{ backup
@@ -1648,7 +1655,7 @@ services:
     excludehosts: backuphost, storace
     check_interval: 60
     max_check_attempts: 2
-    retry_check_interval: 5
+    retry_interval: 5
   -
     name: backup server config
     servicegroups: backup
@@ -1656,7 +1663,7 @@ services:
     hosts: storace
     check_interval: 60
     max_check_attempts: 2
-    retry_check_interval: 5
+    retry_interval: 5
   -
     name: backup - bacula - last backup
     servicegroups: backup
@@ -1665,7 +1672,7 @@ services:
     hostgroups: computers
     excludehostgroups: buildd, porterbox, no-bacula
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
   -
     name: backup - bacula - last full backup
     servicegroups: backup
@@ -1674,7 +1681,7 @@ services:
     hostgroups: computers
     excludehostgroups: buildd, porterbox, no-bacula
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
   -
     name: process - bacula-dir
     servicegroups: backup
@@ -1705,14 +1712,14 @@ services:
     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
     hostgroups: computers
     check_interval: 60
-    retry_check_interval: 5
+    retry_interval: 5
   -
     name: apt - security updates
     servicegroups: apt
     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
     hostgroups: computers
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
   -
     name: unexpected file - apt sources.list
     servicegroups: apt
@@ -1726,7 +1733,7 @@ services:
     hostgroups: computers
     excludehostgroups: freebsd
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
     notification_interval: 10080
   -
     name: installed firewall
@@ -1765,7 +1772,7 @@ services:
     hostgroups: computers
     depends: process - samhain
     check_interval: 60
-    retry_check_interval: 5
+    retry_interval: 5
     excludehostgroups: brokensamhain
   -
     name: processes - samhain zombies
@@ -1915,7 +1922,7 @@ services:
     runfrom: rainier
     hostgroups: computers
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
     excludehostgroups: alioth, broken_mq
   -
     name: MQ connection on rapoport
@@ -1924,7 +1931,7 @@ services:
     runfrom: rapoport
     hostgroups: computers
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
     excludehostgroups: alioth, broken_mq
   ###
   -
@@ -2126,7 +2133,7 @@ services:
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm"
     check_interval: 120
     hostgroups: dl380, dl360, bl460, bm-bl
-    excludehosts: villa, lobos, storace, mirror-anu
+    excludehosts: villa, lobos, storace, mirror-anu, sallinen
   -
     name: HW - hpasmcli status
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant"
@@ -2141,7 +2148,7 @@ services:
     name: HW - hpasmcli status
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-ignore-not-present"
     check_interval: 120
-    hosts: storace
+    hosts: storace, sallinen
   -
     name: HW - hpasmcli status
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-ignore-not-present --ps-no-redundant --ignore-failed='PS1'"
@@ -2555,7 +2562,7 @@ services:
     contact_groups: +buildd
     check_interval: 5
     max_check_attempts: 24
-    retry_check_interval: 5
+    retry_interval: 5
   -
     name: processes - lvcreate
     nrpe: "/usr/lib/nagios/plugins/check_procs -m 'ELAPSED' -c 500 -C lvcreate -u root -a 'lvcreate'"
@@ -2607,7 +2614,7 @@ services:
     hosts: global
     check_interval: 15
     max_check_attempts: 5
-    retry_check_interval: 5
+    retry_interval: 5
     servicegroups: mirror
   -
     name: mirror sync - snapshot
@@ -2615,7 +2622,7 @@ services:
     hosts: global
     check_interval: 15
     max_check_attempts: 5
-    retry_check_interval: 5
+    retry_interval: 5
     servicegroups: mirror
 
   -
@@ -2886,7 +2893,7 @@ services:
     hosts: giustini
     check_interval: 5
     max_check_attempts: 4
-    retry_check_interval: 1
+    retry_interval: 1
   -
     name: Overall Unit Status
     remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3"
@@ -2914,7 +2921,7 @@ services:
     nrpe: "/usr/lib/nagios/plugins/dsa-check-dchroots-current"
     hostgroups: porterbox
     check_interval:  60
-    retry_check_interval: 15
+    retry_interval: 15
   # }}}
   # {{{ openstack
 #  -
@@ -2982,6 +2989,10 @@ services:
     hosts: draghi
     depends: process - xinetd
   ###
+  -
+    name: network service - rsync
+    check: check_tcp!873
+    hostgroups: rsyncd-systemd-hosts
   -
     name: network service - rsync
     check: check_tcp!873
@@ -3041,7 +3052,7 @@ services:
     hosts: handel
     check_interval: 60
     max_check_attempts: 2
-    retry_check_interval: 5
+    retry_interval: 5
   # }}}
 # }}}
 
index 0a42371..cb2adbc 100644 (file)
@@ -22,7 +22,7 @@ define service{
        is_volatile                     0
        check_period                    24x7
        check_interval                  15
-       retry_check_interval            2
+       retry_interval                  2
        max_check_attempts              6
        notification_period             24x7
        notification_options            w,u,c,r