[project @ peter@palfrader.org-20080404092125-hsvqrlc9qteg45sj]
authorPeter Palfrader <peter@palfrader.org>
Fri, 4 Apr 2008 09:21:25 +0000 (05:21 -0400)
committerPeter Palfrader <peter@palfrader.org>
Fri, 4 Apr 2008 09:21:25 +0000 (05:21 -0400)
Add klecker

nagios-master.cfg

index 41d08ba..5744f36 100644 (file)
@@ -45,6 +45,10 @@ servers:
     address: 128.30.0.254
     parents: gw-HP-ftc
     hostgroups: routing-infrastructure
     address: 128.30.0.254
     parents: gw-HP-ftc
     hostgroups: routing-infrastructure
+  gw-xs4all:
+    address: 194.109.137.217
+    parents: gw-HP-ftc
+    hostgroups: routing-infrastructure
 
   samosa:
     address: 192.25.206.57
 
   samosa:
     address: 192.25.206.57
@@ -75,7 +79,7 @@ servers:
   ries:
     address: 128.148.34.103
     parents: gw-osuosl
   ries:
     address: 128.148.34.103
     parents: gw-osuosl
-    hostgroups: computers, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts
+    hostgroups: computers, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
 
   rietz:
     address: 140.211.166.43
 
   rietz:
     address: 140.211.166.43
@@ -100,6 +104,11 @@ servers:
     parents: gw-mit-csail
     hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
 
     parents: gw-mit-csail
     hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
 
+  klecker:
+    address: 194.109.137.218
+    parents: gw-xs4all
+    hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
+
 #############################
 # host groups
 #
 #############################
 # host groups
 #
@@ -152,6 +161,9 @@ hostgroups:
   rsyncd-hosts:
     alias: hosts providing rsync services via xinetd
     private: 1
   rsyncd-hosts:
     alias: hosts providing rsync services via xinetd
     private: 1
+  postgres81-hosts:
+    alias: hosts running postgres81
+    private: 1
 
   secondary-IPs:
     alias: secondary IP addresses
 
   secondary-IPs:
     alias: secondary IP addresses
@@ -643,21 +655,21 @@ services:
   -
     name: process - postresql81 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'"
   -
     name: process - postresql81 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'"
-    hosts: ries
+    hostgroups: postgres81-hosts
   -
     name: process - postresql81 - writer
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
   -
     name: process - postresql81 - writer
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
-    hosts: ries
+    hostgroups: postgres81-hosts
     depends: process - postresql81 - master
   -
     name: process - postresql81 - buffer
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
     depends: process - postresql81 - master
   -
     name: process - postresql81 - buffer
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
-    hosts: ries
+    hostgroups: postgres81-hosts
     depends: process - postresql81 - master
   -
     name: process - postresql81 - collector
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
     depends: process - postresql81 - master
   -
     name: process - postresql81 - collector
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
-    hosts: ries
+    hostgroups: postgres81-hosts
     depends: process - postresql81 - master
 
  ####
     depends: process - postresql81 - master
 
  ####