projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ peter@palfrader.org-20090129090445-qmysoqxi5dwr6sli]
[mirror/dsa-nagios.git]
/
nagios-master.cfg
diff --git
a/nagios-master.cfg
b/nagios-master.cfg
index
9a143f2
..
71ec062
100644
(file)
--- a/
nagios-master.cfg
+++ b/
nagios-master.cfg
@@
-193,7
+193,7
@@
servers:
paer:
address: 192.25.206.11
parents: samosa
paer:
address: 192.25.206.11
parents: samosa
- hostgroups: computers, porterbox,
bind9-hosts, single-cpu
+ hostgroups: computers, porterbox,
lenny, rsyslog-hosts
merulo:
address: 192.25.206.58
parents: samosa
merulo:
address: 192.25.206.58
parents: samosa
@@
-207,7
+207,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
+ hostgroups: computers, porterbox, single-cpu
, no-samhain
contacts: bzed
sperger:
address: 82.195.75.98
contacts: bzed
sperger:
address: 82.195.75.98
@@
-432,7
+432,7
@@
servers:
ravel:
address: 137.82.84.66
parents: gw-ubc
ravel:
address: 137.82.84.66
parents: gw-ubc
- hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts
+ hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts
, ftpd-hosts
lebrun:
address: 193.198.184.10
lebrun:
address: 193.198.184.10
@@
-451,7
+451,7
@@
servers:
piatti:
address: 193.167.161.225
parents: gw-helsinki
piatti:
address: 193.167.161.225
parents: gw-helsinki
- hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts
+ hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts
, lenny
contacts: holger
rem:
contacts: holger
rem:
@@
-464,6
+464,11
@@
servers:
parents: gw-ball
hostgroups: computers, buildd, no-udev, dialup
parents: gw-ball
hostgroups: computers, buildd, no-udev, dialup
+ zelenka:
+ address: 80.245.147.40
+ parents: gw-HP-ftc
+ hostgroups: computers, porterbox, lenny
+
#############################
# host groups
#
#############################
# host groups
#
@@
-693,7
+698,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"
- hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini
+ hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini
, zelenka
-
name: disk usage on /org/scratch
servicegroups: diskspace
-
name: disk usage on /org/scratch
servicegroups: diskspace
@@
-713,7
+718,7
@@
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, lebrun, rem, ball
+ hosts: raptor, voltaire, lebrun, rem, ball
, paer
-
name: disk usage on /home
servicegroups: diskspace
-
name: disk usage on /home
servicegroups: diskspace
@@
-835,6
+840,7
@@
services:
name: process - getty
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
hostgroups: computers
name: process - getty
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
hostgroups: computers
+ excludehosts: zelenka
####
-
name: process - sshd
####
-
name: process - sshd
@@
-881,7
+887,7
@@
services:
normal_check_interval: 360
-
name: "network service - sshd - version"
normal_check_interval: 360
-
name: "network service - sshd - version"
- check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-
4
"
+ check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-
5
"
depends: network service - sshd
hostgroups: lenny
normal_check_interval: 360
depends: network service - sshd
hostgroups: lenny
normal_check_interval: 360
@@
-928,18
+934,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
+ excludehosts: raptor
, zelenka
-
name: network service - ntp
check: check_ntp
hostgroups: computers
depends: process - ntpd
-
name: network service - ntp
check: check_ntp
hostgroups: computers
depends: process - ntpd
- excludehosts: raptor, allegri
+ excludehosts: raptor, allegri
, zelenka
#
-
name: network service - time
check: dsa_check_time
#
-
name: network service - time
check: dsa_check_time
- hosts: raptor, allegri
+ hosts: raptor, allegri
, zelenka
depends: process - xinetd
###
depends: process - xinetd
###
@@
-1396,7
+1402,7
@@
services:
###
-
name: process - acpid
###
-
name: process - acpid
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid
-c /etc/acpi/events -s /var/run/acpid.socket
'"
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
hostgroups: acpid-hosts
-
name: unexpected process - acpid
hostgroups: acpid-hosts
-
name: unexpected process - acpid
@@
-1408,13
+1414,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
+ hosts: samosa, raptor, 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
+ excludehosts: samosa, raptor, allegri, gluck
, zelenka
excludehostgroups: rsyncd-hosts
###
-
excludehostgroups: rsyncd-hosts
###
-
@@
-1574,6
+1580,11
@@
services:
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'"
hostgroups: postgres83-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'"
hostgroups: postgres83-hosts
+ excludehosts: piatti
+ -
+ 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/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"
+ hosts: piatti
-
name: process - postresql83 - writer
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
-
name: process - postresql83 - writer
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
@@
-1642,6
+1653,7
@@
services:
servicegroups: buildd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
hostgroups: buildd
servicegroups: buildd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
hostgroups: buildd
+ contacts: luk
###
-
###
-
@@
-1655,10
+1667,10
@@
services:
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'"
hostgroups: tftpd-hosts
###
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'"
hostgroups: tftpd-hosts
###
- -
- name: process - dhcpd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
- hosts: paer
+
#
-
+
#
name: process - dhcpd
+
#
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
+
#
hosts: paer
###
-
name: process - monit
###
-
name: process - monit