From: Peter Palfrader Date: Wed, 8 Feb 2017 10:56:06 +0000 (+0100) Subject: retry_check_interval is deprecated. Replace with retry_interval. X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=533d26705321d87f49f373c9f46e0d1f772dee2a;p=mirror%2Fdsa-nagios.git retry_check_interval is deprecated. Replace with retry_interval. --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index d855e59..0f372fc 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1421,21 +1421,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 +1636,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 +1648,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 +1656,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 +1665,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 +1674,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 +1705,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 +1726,7 @@ services: hostgroups: computers excludehostgroups: freebsd check_interval: 60 - retry_check_interval: 15 + retry_interval: 15 notification_interval: 10080 - name: installed firewall @@ -1765,7 +1765,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 +1915,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 +1924,7 @@ services: runfrom: rapoport hostgroups: computers check_interval: 60 - retry_check_interval: 15 + retry_interval: 15 excludehostgroups: alioth, broken_mq ### - @@ -2555,7 +2555,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 +2607,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 +2615,7 @@ services: hosts: global check_interval: 15 max_check_attempts: 5 - retry_check_interval: 5 + retry_interval: 5 servicegroups: mirror - @@ -2886,7 +2886,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 +2914,7 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-dchroots-current" hostgroups: porterbox check_interval: 60 - retry_check_interval: 15 + retry_interval: 15 # }}} # {{{ openstack # - @@ -3041,7 +3041,7 @@ services: hosts: handel check_interval: 60 max_check_attempts: 2 - retry_check_interval: 5 + retry_interval: 5 # }}} # }}} diff --git a/config/static/objects/generic-service.cfg b/config/static/objects/generic-service.cfg index 0a42371..cb2adbc 100644 --- a/config/static/objects/generic-service.cfg +++ b/config/static/objects/generic-service.cfg @@ -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