X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=d01a087e2aa7e971f1b7fb3591d4483091c6aedb;hb=70788ce1dc0fc03640fe113ab2a2ee3c47fc57a1;hp=17282526d188334ffb31e1ef27ee6fb9d9ccb595;hpb=32dfdcc6c3dea9f6bedc313ca2d80eef9609647c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 1728252..d01a087 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -173,15 +173,15 @@ servers: samosa: address: 192.25.206.57 parents: spohr - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet, hasvarfs, hasusrfs raff: address: 192.25.206.59 parents: spohr - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet, hasvarfs, hasusrfs gluck: address: 192.25.206.10 parents: spohr - hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet + hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet, hasvarfs, hasusrfs merkel: address: 192.25.206.16 parents: spohr @@ -214,17 +214,17 @@ servers: merulo: address: 192.25.206.58 parents: spohr - hostgroups: computers, porterbox, lenny, puppet + hostgroups: computers, porterbox, lenny, puppet, hasusrfs bartok: address: 82.195.75.91 parents: gw-man-da - hostgroups: computers, service, dl385, bind9-hosts, lenny, puppet + hostgroups: computers, service, dl385, bind9-hosts, lenny, puppet, hasvarfs contacts: joerg, bzed morales: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs + hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs, lenny, puppet, hasvarfs, hasusrfs contacts: bzed sperger: address: 82.195.75.98 @@ -303,11 +303,11 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs steffani: address: 128.31.0.36 @@ -320,7 +320,7 @@ servers: rore: address: 128.31.0.49 parents: gw-mit-csail - hostgroups: computers, service, rsyslog-hosts, lenny, puppet, dl360, acpid-hosts + hostgroups: computers, service, rsyslog-hosts, lenny, puppet, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts carver: address: 128.31.0.50 parents: gw-mit-csail @@ -334,7 +334,7 @@ servers: saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs argento: address: 93.94.130.160 @@ -351,7 +351,7 @@ servers: pergolesi: address: 62.104.23.252 parents: gw-freenet - hostgroups: computers, porterbox, sw-raid, lenny, puppet + hostgroups: computers, porterbox, sw-raid, lenny, puppet, hasusrfs albeniz: address: 193.62.202.27 @@ -379,7 +379,7 @@ servers: voltaire: address: 72.66.115.54 parents: gw-frost - hostgroups: computers, buildd, puppet, lenny + hostgroups: computers, buildd, puppet, lenny, hasvarfs contacts: sfrost puccini: @@ -390,7 +390,7 @@ servers: powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet, hassrvfs + hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet, hassrvfs, hasvarfs, hasusrfs contacts: joerg schumann: @@ -454,7 +454,7 @@ servers: ancina: address: 157.193.39.13 parents: gw-ghent - hostgroups: computers, buildd, single-cpu, lenny, puppet, hassrvfs, hasbootfs, incomingmailrelayed + hostgroups: computers, buildd, single-cpu, lenny, puppet, hassrvfs, hasbootfs, incomingmailrelayed2025 contacts: luk agnesi: @@ -496,7 +496,7 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, ulogd-hosts, lenny, puppet, hasvarfs, hasusrfs piatti: address: 193.167.161.225 @@ -522,7 +522,7 @@ servers: escher: address: 213.188.99.215 parents: gw-cst - hostgroups: computers, single-cpu, hasbootfs + hostgroups: computers, single-cpu, hasbootfs, hasvarfs goedel: address: 213.188.99.214 parents: gw-cst @@ -692,16 +692,26 @@ hostgroups: alias: hosts with smartd private: 1 hasbootfs: - alias: hosts with a /boot + alias: hosts with a /boot filesystem private: 1 hassrvfs: - alias: hosts with a /srv + alias: hosts with a /srv filesystem + private: 1 + hasvarfs: + alias: hosts with a /var filesystem + private: 1 + hasusrfs: + alias: hosts with a /usr filesystem private: 1 incomingmailrelayed: alias: incoming mail needs to go through a mail relay # i.e. no port 25 private: 1 + incomingmailrelayed2025: + alias: incoming mail needs to go through a mail relay + # i.e. no port 25 + private: 1 ############################# # servicegroups @@ -775,7 +785,7 @@ services: name: disk usage on /var servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var" - hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, tartini, morales, powell, escher + hostgroups: hasvarfs - name: disk usage on /org servicegroups: diskspace @@ -805,7 +815,7 @@ services: name: disk usage on /usr servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr" - hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, merulo, tartini, morales, powell + hostgroups: hasusrfs - name: disk usage on /home servicegroups: diskspace @@ -923,6 +933,11 @@ services: name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 620 700" hostgroups: computers + excludehosts: liszt + - + name: processes - total + nrpe: "/usr/lib/nagios/plugins/check_procs 800 1000" + hosts: liszt #### - name: swap usage - percent @@ -1032,12 +1047,12 @@ services: check: dsa_check_ntp hostgroups: computers depends: process - ntpd - excludehosts: allegri, zelenka + excludehosts: allegri, zelenka, ancina # - name: network service - time check: dsa_check_time - hosts: allegri, zelenka + hosts: allegri, zelenka, ancina depends: process - xinetd ### @@ -1305,7 +1320,7 @@ services: name: network service - smtp check: dsa_check_smtp hostgroups: computers - excludehostgroups: postfix-hosts, incomingmailrelayed + excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025 depends: process - exim - @@ -1319,6 +1334,11 @@ services: check: dsa_check_smtp_port!587 hostgroups: incomingmailrelayed depends: process - exim + - + name: network service - smtp 2025 + check: dsa_check_smtp_port!2025 + hostgroups: incomingmailrelayed2025 + depends: process - exim - name: network service - smtp - port 2025 check: dsa_check_smtp_port!2025 @@ -1503,13 +1523,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'" - hosts: samosa, allegri, gluck, zelenka + hosts: samosa, allegri, gluck, zelenka, ancina hostgroups: rsyncd-hosts - name: unwanted process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd" hostgroups: computers - excludehosts: samosa, allegri, gluck, zelenka + excludehosts: samosa, allegri, gluck, zelenka, ancina excludehostgroups: rsyncd-hosts ### -