ries:
address: 128.148.34.103
parents: gw-brown.edu
- hostgroups: computers, service, apache2-hosts, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts
+ hostgroups: computers, service, apache2-hosts, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, xinetd-hosts
+
+ franck:
+ address: 128.148.34.3
+ parents: gw-brown.edu
+ hostgroups: computers, service, apache2-hosts, bind9-hosts, dl380, rsyncd-hosts, postgres84-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, ulogd-hosts
mayer:
address: 140.211.166.78
morricone:
address: 206.12.19.9
parents: tchaikovsky
- hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts
+ hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts
stabile:
address: 206.12.19.13
parents: gw-ubc
servicegroups: raid
nrpe: "sudo /usr/bin/arrayprobe"
hostgroups: dl385, dl380, dl360, bl460
+ excludehosts: franck
+ -
+ name: RAID - arrayprobe
+ servicegroups: raid
+ nrpe: "sudo /usr/bin/arrayprobe -f /dev/cciss/c1d0"
+ hosts: franck
-
name: HW - hpacucli status
servicegroups: raid
-
name: network service - https
check: check_https
- hosts: ries, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg
+ hosts: ries, franck, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg
depends: "process - apache2 - master"
normal_check_interval: 120
-
# merkel2 nm.debian.org
# liszt lists.debian.org
# grieg buildd.debian.org
- hosts: ries, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg
+ hosts: ries, franck, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg
depends: network service - https
normal_check_interval: 60
name: process - postresql84 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
hostgroups: postgres84-hosts
+ excludehosts: franck
-
name: process - postresql83 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"
-
name: process - postresql84 - dak master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak -c config_file=/etc/postgresql/8.4/dak/postgresql.conf'"
- hosts: ries
+ hosts: franck, ries
-
name: process - postresql84 - dak-dev master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak-dev -c config_file=/etc/postgresql/8.4/dak-dev/postgresql.conf'"
- hosts: ries
+ hosts: franck, ries
# backups
-
name: postgresql backups
$type = 'SCSI';
} elsif ($drive =~ /^[0-9]+[EI]:[0-9]+:[0-9]+$/) { # SAS
$type = 'SAS';
+ } elsif ($drive =~ /^[0-9]+[C]:[0-9]+:[0-9]+$/) { # New 6GBPS SAS
+ $type = 'SAS+';
} else {
# I'm not going to run pass arguments of unknown form to the shell..
warn ("Unknown diskdrive ID $drive\n");
} elsif ($type eq 'SAS') {
$key = 'PHY Transfer Rate';
if ($value{'PHY Count'} eq '2') {
- $expected = '3.0GBPS, Unknown';
+ if (defined($value{'Redundant Path(s)'})) {
+ $expected = '3.0GBPS, 3.0GBPS';
+ } else {
+ $expected = '3.0GBPS, Unknown';
+ }
} else {
$expected = '3.0GBPS';
}
+ } elsif ($type eq 'SAS+') {
+ $key = 'PHY Transfer Rate';
+ if ($value{'PHY Count'} eq '2') {
+ $expected = '6.0GBPS, Unknown';
+ } else {
+ $expected = '6.0GBPS';
+ }
} else {
warn "Should not be here. Do not know what to do with type '$type'\n";
next;