projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rsyslogd on geo2
[mirror/dsa-nagios.git]
/
config
/
nagios-master.cfg
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
6307604
..
df94fb2
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-29,7
+29,7
@@
servers:
contacts: joerg, bzed
gw-HP-ftc:
address: 192.25.206.1
contacts: joerg, bzed
gw-HP-ftc:
address: 192.25.206.1
- parents: s
amosa
+ parents: s
pohr
hostgroups: routing-infrastructure
gw-brainfood:
address: 70.103.162.1
hostgroups: routing-infrastructure
gw-brainfood:
address: 70.103.162.1
@@
-72,10
+72,6
@@
servers:
address: 62.104.23.249
parents: gw-HP-ftc
hostgroups: routing-infrastructure
address: 62.104.23.249
parents: gw-HP-ftc
hostgroups: routing-infrastructure
- gw-topalis:
- address: 195.243.109.254
- parents: gw-HP-ftc
- hostgroups: routing-infrastructure
gw-sanger:
address: 193.62.202.18
parents: gw-HP-ftc
gw-sanger:
address: 193.62.202.18
parents: gw-HP-ftc
@@
-168,44
+164,48
@@
servers:
samosa:
address: 192.25.206.57
samosa:
address: 192.25.206.57
+ parents: spohr
hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet
raff:
address: 192.25.206.59
hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet
raff:
address: 192.25.206.59
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet
gluck:
address: 192.25.206.10
hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet
gluck:
address: 192.25.206.10
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet
merkel:
address: 192.25.206.16
hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet
merkel:
address: 192.25.206.16
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, general, apache1-hosts, apache2-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts, lenny, puppet
spohr:
address: 192.25.206.33
hostgroups: computers, general, apache1-hosts, apache2-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts, lenny, puppet
spohr:
address: 192.25.206.33
- parents: samosa
hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, puppet
hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, puppet
+ spohr2:
+ address: 192.25.206.38
+ parents: rietz
+ hostgroups: secondary-IPs
peri:
address: 192.25.206.15
peri:
address: 192.25.206.15
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, puppet
contacts: dannf
penalosa:
address: 192.25.206.68
hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, puppet
contacts: dannf
penalosa:
address: 192.25.206.68
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny, puppet
contacts: dannf
mundy:
address: 192.25.206.62
hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny, puppet
contacts: dannf
mundy:
address: 192.25.206.62
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, buildd, lenny, puppet
paer:
address: 192.25.206.11
hostgroups: computers, buildd, lenny, puppet
paer:
address: 192.25.206.11
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, porterbox, lenny, hasbootfs, puppet
merulo:
address: 192.25.206.58
hostgroups: computers, porterbox, lenny, hasbootfs, puppet
merulo:
address: 192.25.206.58
- parents: s
amosa
+ parents: s
pohr
hostgroups: computers, porterbox, lenny, puppet
bartok:
hostgroups: computers, porterbox, lenny, puppet
bartok:
@@
-216,7
+216,7
@@
servers:
morales:
address: 82.195.75.97
parents: gw-man-da
morales:
address: 82.195.75.97
parents: gw-man-da
- hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs
+ hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs
, hassrvfs
contacts: bzed
sperger:
address: 82.195.75.98
contacts: bzed
sperger:
address: 82.195.75.98
@@
-226,12
+226,12
@@
servers:
agricola:
address: 82.195.75.86
parents: gw-man-da
agricola:
address: 82.195.75.86
parents: gw-man-da
- hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, puppet
+ hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, puppet
, hassrvfs
contacts: bzed
arcadelt:
address: 82.195.75.87
parents: gw-man-da
contacts: bzed
arcadelt:
address: 82.195.75.87
parents: gw-man-da
- hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet
+ hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet
, hassrvfs
contacts: bzed
liszt:
address: 82.195.75.100
contacts: bzed
liszt:
address: 82.195.75.100
@@
-323,7
+323,7
@@
servers:
argento:
address: 93.94.130.160
parents: gw-dg-i.net
argento:
address: 93.94.130.160
parents: gw-dg-i.net
- hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet
+ hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet
, hassrvfs
contacts: bzed
widor:
contacts: bzed
widor:
@@
-337,11
+337,6
@@
servers:
parents: gw-freenet
hostgroups: computers, porterbox, sw-raid, lenny, puppet
parents: gw-freenet
hostgroups: computers, porterbox, sw-raid, lenny, puppet
- raptor:
- address: 195.243.109.162
- parents: gw-topalis
- hostgroups: computers, porterbox, postfix-hosts, lenny
-
albeniz:
address: 193.62.202.27
parents: gw-sanger
albeniz:
address: 193.62.202.27
parents: gw-sanger
@@
-374,12
+369,12
@@
servers:
puccini:
address: 87.106.4.56
parents: gw-1und1
puccini:
address: 87.106.4.56
parents: gw-1und1
- hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet
+ hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet
, hassrvfs
contacts: joerg
powell:
address: 87.106.64.223
parents: gw-1und1
contacts: joerg
powell:
address: 87.106.64.223
parents: gw-1und1
- hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet
+ hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet
, hassrvfs
contacts: joerg
schumann:
contacts: joerg
schumann:
@@
-393,7
+388,7
@@
servers:
chopin:
address: 195.20.242.124
parents: schumann
chopin:
address: 195.20.242.124
parents: schumann
- hostgroups: computers, ulogd-hosts, lenny, puppet, rsyslog-hosts
+ hostgroups: computers, ulogd-hosts, lenny, puppet, rsyslog-hosts
, hassrvfs
caballero:
address: 193.201.200.200
caballero:
address: 193.201.200.200
@@
-444,7
+439,7
@@
servers:
allegri:
address: 157.193.39.233
parents: gw-HP-ftc
allegri:
address: 157.193.39.233
parents: gw-HP-ftc
- hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, puppet
+ hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, puppet
, hassrvfs
contacts: luk
agnesi:
contacts: luk
agnesi:
@@
-465,6
+460,14
@@
servers:
address: 137.82.84.70
parents: gw-ubc
hostgroups: computers, bl460, rsyslog-hosts, acpid-hosts, lenny, puppet
address: 137.82.84.70
parents: gw-ubc
hostgroups: computers, bl460, rsyslog-hosts, acpid-hosts, lenny, puppet
+ brahms:
+ address: 137.82.84.74
+ parents: dijkstra
+ hostgroups: computers, lenny, puppet, buildd, hasbootfs, hassrvfs
+ geo2:
+ address: 137.82.84.71
+ parents: dijkstra
+ hostgroups: computers, service, lenny, hasbootfs, puppet, rsyslog-hosts
lebrun:
address: 193.198.184.10
lebrun:
address: 193.198.184.10
@@
-478,7
+481,7
@@
servers:
tartini:
address: 82.94.249.158
parents: gw-telegraaf
tartini:
address: 82.94.249.158
parents: gw-telegraaf
- hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs
+ hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs
, hassrvfs
piatti:
address: 193.167.161.225
piatti:
address: 193.167.161.225
@@
-499,7
+502,7
@@
servers:
zelenka:
address: 80.245.147.40
parents: gw-HP-ftc
zelenka:
address: 80.245.147.40
parents: gw-HP-ftc
- hostgroups: computers, porterbox, lenny, puppet
+ hostgroups: computers, porterbox, lenny, puppet
, hassrvfs
escher:
address: 213.188.99.215
escher:
address: 213.188.99.215
@@
-671,6
+674,9
@@
hostgroups:
hasbootfs:
alias: hosts with a /boot
private: 1
hasbootfs:
alias: hosts with a /boot
private: 1
+ hassrvfs:
+ alias: hosts with a /srv
+ private: 1
#############################
#############################
@@
-760,7
+766,7
@@
services:
name: disk usage on /srv
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
name: disk usage on /srv
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
- host
s: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka, chopin
+ host
groups: hassrvfs
-
name: disk usage on /org/scratch
servicegroups: diskspace
-
name: disk usage on /org/scratch
servicegroups: diskspace
@@
-780,17
+786,12
@@
services:
name: disk usage on /home
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
name: disk usage on /home
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
- hosts:
raptor,
voltaire, rem, ball, paer, escher
+ hosts: voltaire, rem, ball, paer, escher
-
name: disk usage on /home
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
hosts: gluck
-
name: disk usage on /home
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
hosts: gluck
- -
- name: disk usage on /chroot
- servicegroups: diskspace
- nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
- hosts: raptor
-
name: disk usage on /mnt/hdc
servicegroups: diskspace
-
name: disk usage on /mnt/hdc
servicegroups: diskspace
@@
-1008,18
+1009,18
@@
services:
# etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
hostgroups: computers
# etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
hostgroups: computers
- excludehosts:
raptor,
zelenka
+ excludehosts: zelenka
-
name: network service - ntp
-
name: network service - ntp
- check: check_ntp
+ check:
dsa_
check_ntp
hostgroups: computers
depends: process - ntpd
hostgroups: computers
depends: process - ntpd
- excludehosts:
raptor,
allegri, zelenka
+ excludehosts: allegri, zelenka
#
-
name: network service - time
check: dsa_check_time
#
-
name: network service - time
check: dsa_check_time
- hosts:
raptor,
allegri, zelenka
+ hosts: allegri, zelenka
depends: process - xinetd
###
depends: process - xinetd
###
@@
-1294,7
+1295,7
@@
services:
name: network service - smtp
check: dsa_check_smtp
hostgroups: postfix-hosts
name: network service - smtp
check: dsa_check_smtp
hostgroups: postfix-hosts
- excludehosts: verdi, kassia, allegri,
raptor,
piatti
+ excludehosts: verdi, kassia, allegri, piatti
depends: process - postfix - master
-
name: network service - smtp - port 2025
depends: process - postfix - master
-
name: network service - smtp - port 2025
@@
-1306,13
+1307,6
@@
services:
check: dsa_check_smtp_port!8080
hosts: murphy
depends: process - postfix - master
check: dsa_check_smtp_port!8080
hosts: murphy
depends: process - postfix - master
- -
- name: network service - smtp - port 2025
- remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
- runfrom: murphy
- hosts: raptor
- depends: process - postfix - master
-
-
name: network service local - smtps cert
nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
-
name: network service local - smtps cert
nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
@@
-1481,13
+1475,13
@@
services:
-
name: process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
-
name: process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
- hosts: samosa,
raptor,
allegri, gluck, zelenka
+ hosts: samosa, allegri, gluck, zelenka
hostgroups: rsyncd-hosts
-
name: unwanted process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
hostgroups: computers
hostgroups: rsyncd-hosts
-
name: unwanted process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
hostgroups: computers
- excludehosts: samosa,
raptor,
allegri, gluck, zelenka
+ excludehosts: samosa, allegri, gluck, zelenka
excludehostgroups: rsyncd-hosts
###
-
excludehostgroups: rsyncd-hosts
###
-
@@
-1519,7
+1513,7
@@
services:
name: process - nagios3
# 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 nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
name: process - nagios3
# 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 nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
- hosts: s
amosa
+ hosts: s
pohr
###
-
###
-
@@
-1574,9
+1568,22
@@
services:
-
name: network service - https cert
check: dsa_check_cert!443
-
name: network service - https cert
check: dsa_check_cert!443
- hosts: samosa, ries, klecker
+ hosts: samosa, ries, klecker
, spohr2
depends: network service - https
normal_check_interval: 60
depends: network service - https
normal_check_interval: 60
+
+ # spohr
+ -
+ name: network service - https
+ check: check_https
+ hosts: spohr2
+ depends: "spohr:process - apache2 - master"
+ normal_check_interval: 120
+ -
+ name: network service - http
+ check: check_http
+ hosts: spohr2
+ depends: "spohr:process - apache2 - master"
####
-
name: process - named
####
-
name: process - named
@@
-1709,12
+1716,6
@@
services:
hostgroups: buildd
contacts: luk
hostgroups: buildd
contacts: luk
- ###
- -
- name: process - iscsid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
- hosts: raptor
-
###
#-
# name: process - tftpd
###
#-
# name: process - tftpd