projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bellini on heavy-exim
[mirror/dsa-nagios.git]
/
config
/
nagios-master.cfg
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
26c0d66
..
c0b2b4b
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-173,7
+173,7
@@
servers:
samosa:
address: 192.25.206.57
parents: spohr
samosa:
address: 192.25.206.57
parents: spohr
- hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client
+ hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client
, postgres84-hosts
raff:
address: 192.25.206.59
parents: spohr
raff:
address: 192.25.206.59
parents: spohr
@@
-274,7
+274,7
@@
servers:
byrd:
address: 82.195.75.101
parents: unger
byrd:
address: 82.195.75.101
parents: unger
- hostgroups: computers, service, lenny, hasbootfs, hassrvfs
+ hostgroups: computers, service, lenny, hasbootfs, hassrvfs
, postgres84-hosts
master:
address: 70.103.162.29
master:
address: 70.103.162.29
@@
-487,7
+487,7
@@
servers:
luchesi:
address: 137.82.84.78
parents: gw-ubc
luchesi:
address: 137.82.84.78
parents: gw-ubc
- hostgroups: computers, bl460, acpid-hosts, lenny
, ulogd-hosts
+ hostgroups: computers, bl460, acpid-hosts, lenny
wolkenstein:
address: 137.82.84.89
parents: dijkstra
wolkenstein:
address: 137.82.84.89
parents: dijkstra
@@
-511,7
+511,7
@@
servers:
bellini:
address: 137.82.84.79
parents: gw-ubc
bellini:
address: 137.82.84.79
parents: gw-ubc
- hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid
+ hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid
, heavy-exim
morricone:
address: 137.82.84.81
parents: gw-ubc
morricone:
address: 137.82.84.81
parents: gw-ubc
@@
-519,7
+519,7
@@
servers:
stabile:
address: 137.82.84.72
parents: gw-ubc
stabile:
address: 137.82.84.72
parents: gw-ubc
- hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts
+ hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts
, postgres84-hosts
cimarosa:
address: 137.82.84.80
parents: gw-ubc
cimarosa:
address: 137.82.84.80
parents: gw-ubc
@@
-716,6
+716,9
@@
hostgroups:
postgres83-hosts:
alias: hosts running postgres83
private: 1
postgres83-hosts:
alias: hosts running postgres83
private: 1
+ postgres84-hosts:
+ alias: hosts running postgres84
+ private: 1
mysql-hosts:
alias: hosts running mysql
private: 1
mysql-hosts:
alias: hosts running mysql
private: 1
@@
-1443,6
+1446,11
@@
services:
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
hostgroups: computers
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
hostgroups: computers
+ ####
+ -
+ name: "host SSL cert"
+ nrpe: "if [ -e /etc/ssl/certs/thishost.pem ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/certs/thishost.pem; else echo 'No thishost.pem on this host.'; fi"
+ hostgroups: computers
############ Processes/Services that only run on some computers ############
####
############ Processes/Services that only run on some computers ############
####
@@
-1744,6
+1752,10
@@
services:
# hostgroups: postgres81-hosts
# depends: process - postresql81 - master
####
# hostgroups: postgres81-hosts
# depends: process - postresql81 - master
####
+ -
+ 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
-
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 - 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'"
@@
-1782,6
+1794,11
@@
services:
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd.conf'"
hosts: merkel, master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd.conf'"
hosts: merkel, master
+ -
+ name: udd stunnel - master cert
+ nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45"
+ hosts: samosa
+
####
#-
# name: process - xenconsoled
####
#-
# name: process - xenconsoled