add stockhausen and new jetty-hosts processes
authorMartin Zobel-Helas <zobel@debian.org>
Sat, 28 Dec 2013 18:22:55 +0000 (19:22 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Sat, 28 Dec 2013 18:23:38 +0000 (19:23 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
config/nagios-master.cfg

index c506b14..e49cc26 100644 (file)
@@ -490,6 +490,10 @@ servers:
     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
+  stockhausen:
+    address: 82.195.75.108
+    parents: ganeti3
+    hostgroups: computers, service, kvmdomains, wheezy, acpid-hosts. jetty-hosts
   master:
     address: 82.195.75.110
     parents: ganeti3
@@ -1047,6 +1051,9 @@ hostgroups:
   apache2-hosts:
     alias: hosts running apache2
     private: 1
+  jetty-hosts:
+    alias: hosts running jetty
+    private: 1
   varnish-hosts:
     alias: hosts running varnish
     private: 1
@@ -2185,6 +2192,16 @@ services:
     # there is always one extra process per check currently running..
     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'"
     hosts: tchaikovsky
+ ###
+  -
+    name: process - jetty - master
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a jsvc.exec"
+    hostgroups: jetty-hosts
+  -
+    name: process - jetty - worker
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u jetty -a jsvc.exec -user jetty"
+    hostgroups: jetty-hosts
+    depends: process - jetty - master
 
  ###
   -