From 958a7053f2e49c27c83287ff7c41f2db5633c9db Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 13 Mar 2018 09:50:33 +0100 Subject: [PATCH] fix disk checks - snapshot farm changes: . make warning threshold lower than crit threshold . add lw09 and lw10 farm checks - morgue on lw03: . make warning threshold lower than crit threshold - qnap-big and -tiny on storace: . make warning threshold lower than crit threshold . raise limits for -tiny --- config/nagios-master.cfg | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 491c581..11557d4 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1411,42 +1411,42 @@ services: - name: disk usage on /srv/farm-snapshot/farm-2017-0 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-0" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-0" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-1 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-1" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-1" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-2 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-2" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-2" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-3 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-3" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-3" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-4 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-4" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-4" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-5 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-5" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-5" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-6 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-6" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-6" hosts: sibelius - name: disk usage on /srv/farm-snapshot/farm-2017-7 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-7" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /srv/farm-snapshot/farm-2017-7" hosts: sibelius - name: disk usage on /srv/ftp-master.debian.org @@ -1456,37 +1456,47 @@ services: - name: disk usage on /storage/snapshot-farm-1 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-1" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-1" hosts: lw01 - name: disk usage on /storage/snapshot-farm-2 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-2" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-2" hosts: lw02 - name: disk usage on /storage/snapshot-farm-3 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-3" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-3" hosts: lw03 - name: disk usage on /storage/snapshot-farm-4 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-4" + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-4" hosts: lw04 + - + name: disk usage on /storage/snapshot-farm-90 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-09" + hosts: lw09 + - + name: disk usage on /storage/snapshot-farm-10 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 95 97 /storage/snapshot-farm-10" + hosts: lw10 - name: disk usage on /srv/morgue.debian.org/ servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 95 90 /srv/morgue.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/morgue.debian.org" hosts: lw03 - name: disk usage on /srv/QNAP-big/ servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 80 /srv/QNAP-big" + nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/QNAP-big" hosts: storace - name: disk usage on /srv/QNAP-tiny servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 80 /srv/QNAP-tiny" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/QNAP-tiny" hosts: storace # }}} # {{{ ### system -- 2.20.1