handel is on stretch
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index c4d0145..0d4803b 100644 (file)
@@ -780,7 +780,7 @@ servers:
   handel:
     address: 82.195.75.104
     parents: ganeti3
-    hostgroups: computers, service, kvmdomains, apache2-hosts, jessie
+    hostgroups: computers, service, kvmdomains, apache2-hosts, stretch
   kaufmann:
     address: 82.195.75.107
     parents: ganeti3
@@ -979,10 +979,6 @@ servers:
 #    address: 206.12.19.120
 #    parents: sw-ubcece-kais
 #    hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa
-  glinka:
-    address: 206.12.19.126
-    parents: ganeti2
-    hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, nfs-client, autofs, xinetd-hosts
   # }}}
   # {{{ ubc-gateway
   ubc-enc2bl01:
@@ -1635,6 +1631,14 @@ services:
     name: swap usage - mb
     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
     hostgroups: computers
+  -
+    name: free memory - mb
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-memory -m mb"
+    hostgroups: computers
+  -
+    name: free memory - percent
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-memory -m pct"
+    hostgroups: computers
   -
     name: process - getty
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
@@ -1721,6 +1725,12 @@ services:
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'"
     hostgroups: freebsd
 
+  -
+    name: network backup status - draghi
+    servicegroups: backup
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile -a 2h /home/debbackup/nagios-status"
+    hosts: draghi
+
   ####
   -
     name: process - acc.umu.se backup
@@ -1750,8 +1760,7 @@ services:
   -
     name: upgraded libraries
     servicegroups: security
-    nrpe: "sudo /usr/local/sbin/dsa-check-libs"
-    #nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-libs"
+    nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-libs"
     hostgroups: computers
     excludehostgroups: freebsd
     check_interval:  60
@@ -1916,6 +1925,15 @@ services:
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
     hostgroups: computers
   ###
+  -
+    name: process - irqbalance
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
+    #hosts: casulana
+    hostgroups: computers
+    #excludehostgroups: single-cpu, freebsd
+    excludehostgroups: freebsd
+    excludehosts: harris, smetana
+  ###
   -
     name: process - cron
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C cron -a /usr/sbin/cron"
@@ -3090,6 +3108,12 @@ services:
     check_interval: 60
     max_check_attempts: 2
     retry_interval: 5
+  -
+    name: puppet - agent check
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/puppet-agent"
+    hostgroups: computers
+    check_interval:  60
+    retry_interval: 15
   # }}}
 # }}}