X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=67305b24f6d29effa4dd934a9ea713885e2509df;hb=17af004cb385796db60669ca2eef5e6f31415007;hp=845bb089c8ba42acd6b867bbbebe3f9797eaf0c6;hpb=4babd4e11e2d7bdee3c32814acc05eae5d295421;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 845bb08..67305b2 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -258,7 +258,7 @@ servers: heininen: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service unger: address: 82.195.75.102 parents: gw-man-da @@ -386,7 +386,7 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs + hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service contacts: bzed pergolesi: @@ -409,7 +409,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts + hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service contacts: tjrc1 smetana: address: 193.62.202.29 @@ -432,7 +432,7 @@ servers: schumann: address: 212.227.126.54 parents: gw-1und1-karlsruhe - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service wieck: address: 195.20.242.89 parents: gw-1und1-karlsruhe @@ -486,7 +486,7 @@ servers: agnesi: address: 67.233.102.241 parents: gw-agnesi - hostgroups: deadslow + hostgroups: deadslow, porterbox spontini: address: 206.12.19.14 @@ -500,14 +500,13 @@ servers: dijkstra: address: 206.12.19.218 parents: tchaikovsky - hostgroups: computers, bl460, acpid-hosts + hostgroups: computers, bl460, acpid-hosts, service luchesi: address: 206.12.19.214 parents: tchaikovsky - hostgroups: computers, bl460, acpid-hosts + hostgroups: computers, bl460, acpid-hosts, service tchaikovsky: address: 206.12.19.118 - address6: 2607:f8f0:610:4000:216:36ff:fe40:3809 hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains wolkenstein: address: 206.12.19.116 @@ -524,39 +523,39 @@ servers: duarte: address: 206.12.19.114 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains + hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service valente: address: 206.12.19.112 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts + hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts, service bellini: address: 206.12.19.7 parents: gw-ubc - hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim + hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service morricone: address: 206.12.19.9 parents: tchaikovsky - hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-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, service stabile: address: 206.12.19.13 parents: gw-ubc - hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts + hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service cimarosa: address: 206.12.19.8 parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts + hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts, service paganini: address: 206.12.19.10 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client + hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service respighi: address: 206.12.19.11 parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs + hostgroups: computers, hasbootfs, aacraid, hassrvfs, service vivaldi: address: 206.12.19.12 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts + hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -568,11 +567,11 @@ servers: fano: address: 206.12.19.110 parents: luchesi - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd finzi: address: 206.12.19.111 parents: luchesi - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd gabrielli: address: 206.12.19.17 parents: tchaikovsky @@ -588,15 +587,15 @@ servers: rossini: address: 206.12.19.19 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service salieri: address: 206.12.19.20 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service traetta: address: 206.12.19.21 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service lebrun: address: 193.198.184.10 @@ -610,12 +609,12 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs, service piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs + hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs, service contacts: holger rem: @@ -635,7 +634,7 @@ servers: goedel: address: 213.188.99.214 parents: gw-cst - hostgroups: computers, hasbootfs, ntpsuckers + hostgroups: computers, hasbootfs, ntpsuckers, buildd schein: address: 149.20.20.6 @@ -649,7 +648,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-aca - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service lafayette: address: 147.215.7.160 @@ -659,20 +658,20 @@ servers: grieg: address: 194.177.211.200 parents: gw-grnet - hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts + hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts, service rautavaara: address: 194.177.211.199 parents: gw-grnet - hostgroups: computers, acpid-hosts, megaraid + hostgroups: computers, acpid-hosts, megaraid, service fasch: address: 194.177.211.201 parents: rautavaara - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd #, mptraid holter: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid + hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid, service barber: address: 194.177.211.203 parents: gw-grnet @@ -684,7 +683,7 @@ servers: cilea: address: 194.177.211.205 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, hassrvfs + hostgroups: computers, acpid-hosts, mptraid, hassrvfs, service vitry: address: 194.177.211.206 parents: gw-grnet @@ -696,25 +695,25 @@ servers: scelsi: address: 194.177.211.208 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid + hostgroups: computers, acpid-hosts, mptraid, service orff: address: 194.177.211.209 parents: gw-grnet - hostgroups: computers, acpid-hosts, bind9-hosts, mptraid + hostgroups: computers, acpid-hosts, bind9-hosts, mptraid, service field: address: 194.177.211.210 parents: rautavaara - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd #, mptraid beethoven: address: 86.59.118.146 parents: gw-sil - hostgroups: computers, hasbootfs, aacraid, nfs-server + hostgroups: computers, hasbootfs, aacraid, nfs-server, service merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service merikanto2: address: 86.59.118.150 parents: merikanto @@ -722,12 +721,12 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service # which raid? lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service # which raid? abel: @@ -2033,6 +2032,29 @@ services: 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 - UPS - nut usbhid-ups - ups1 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C usbhid-ups -a '/lib/nut/usbhid-ups -a ups1'" + hosts: franck + - + name: process - UPS - nut upsd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsd -a '/sbin/upsd'" + hosts: franck + - + name: process - UPS - nut upsmon master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C upsmon -a '/sbin/upsmon'" + hosts: franck + - + name: process - UPS - nut upsmon worker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsmon -a '/sbin/upsmon'" + hosts: franck + depends: process - UPS - nut upsmon master + - + name: UPS - on line power + nrpe: "/usr/lib/nagios/plugins/dsa-check-ups" + hosts: franck + depends: process - UPS - nut upsd #### #-