source: nagios/objects/vanderzwet.net.cfg@ 361

Last change on this file since 361 was 357, checked in by Rick van der Zwet, 13 years ago

Not so often and make sure to track dependencies more properly.

File size: 10.1 KB
Line 
1define host {
2 use freebsd-server
3 host_name zweot.vanderzwet.net
4 address 78.46.85.230
5}
6
7define host {
8 use freebsd-server
9 parents zweot.vanderzwet.net
10 host_name roel.vanderzwet.net
11}
12
13define host {
14 use freebsd-server
15 parents zweot.vanderzwet.net
16 host_name wifisoft.vanderzwet.net
17}
18
19define host {
20 use freebsd-server
21 parents zweot.vanderzwet.net
22 host_name pzwet.vanderzwet.net
23}
24
25define host{
26 use freebsd-server
27 parents
28 host_name buzz.vanderzwet.net
29}
30
31define host {
32 use freebsd-server
33 host_name riff.vanderzwet.net
34}
35
36define host {
37 use freebsd-server
38 host_name alpina.lorentzschool.nl
39}
40
41define host {
42 use freebsd-server
43 host_name broom.lorentzschool.nl
44}
45
46define host {
47 use freebsd-server
48 check_command check_ssh
49 host_name tyan.wirelessleiden.nl
50}
51define host {
52 use freebsd-server
53 host_name siteview.wirelessleiden.nl
54}
55
56define host {
57 use freebsd-server
58 host_name CNodeZwet.wleiden.net
59 parents
60}
61
62define host {
63 use freebsd-server
64 parents CNodeZwet.wleiden.net
65 host_name sunny.wleiden.net
66}
67
68define host {
69 use freebsd-server
70 host_name sunfire.wirelessleiden.nl
71}
72
73define hostgroup {
74 hostgroup_name routers
75 alias Various external polled routers
76 members fritz.box,ns.xs4all.nl,CNodeZwet.wleiden.net
77}
78
79
80define hostgroup {
81 hostgroup_name vanderzwet.net
82 alias Rick van der Zwet - FreeBSD Servers
83 members buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net,roel.vanderzwet.net,wifisoft.vanderzwet.net,pzwet.vanderzwet.net
84 }
85
86define hostgroup {
87 hostgroup_name lorentzschool.nl
88 alias Lorentzschool education servers - FreeBSD Servers
89 members alpina.lorentzschool.nl,broom.lorentzschool.nl
90 }
91
92define hostgroup {
93 hostgroup_name wirelessleiden.nl
94 alias WirelessLeiden.nl Project Servers - FreeBSD Servers
95 members siteview.wirelessleiden.nl,tyan.wirelessleiden.nl,sunfire.wirelessleiden.nl,sunny.wleiden.net
96}
97
98
99# Define a service to check SSH on the local machine.
100# Disable notifications for this service by default, as not all users may have
101# SSH enabled.
102define service{
103 use local-service
104 hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl
105 service_description SSH
106 check_command check_ssh
107 notifications_enabled 1
108 }
109
110define service{
111 use local-service
112 host_name fritz.box,CNodeZwet.wleiden.net,pzwet.vanderzwet.net
113 service_description HTTP
114 check_command check_http
115 notifications_enabled 1
116 }
117
118define service {
119 use local-service
120 host_name broom.lorentzschool.nl
121 service_description HTTP - MediaWiki
122 check_command check_http! -H wiki.lorentzschool.nl -s 'Hoofdpagina'
123 notifications_enabled 1
124}
125
126define service {
127 use local-service
128 host_name roel.vanderzwet.net
129 service_description HTTP - Drupal
130 check_command check_http! -H gera.be -s 'Duurzaam'
131 notifications_enabled 1
132}
133
134define service {
135 use local-service
136 host_name tyan.wirelessleiden.nl
137 service_description HTTP - Drupal
138 check_command check_http! -H www.wirelessleiden.nl -s 'Voorpagina'
139 notifications_enabled 1
140}
141define service {
142 use local-service
143 host_name tyan.wirelessleiden.nl
144 service_description HTTP - SVN
145 check_command check_http! -H svn.wirelessleiden.nl -u /svn -s 'Revision'
146 notifications_enabled 1
147}
148
149define service {
150 use local-service
151 host_name zweot.vanderzwet.net
152 service_description HTTP - Trac
153 check_command check_http! -H rickvanderzwet.nl -s 'Intro'
154 notifications_enabled 1
155}
156define service {
157 use local-service
158 host_name zweot.vanderzwet.net
159 service_description HTTP - SVN
160 check_command check_http! -H rickvanderzwet.nl -u /svn/personal -s 'svn version'
161 notifications_enabled 1
162}
163
164
165define service {
166 use local-service
167 host_name wifisoft.vanderzwet.net
168 service_description HTTP - Trac
169 check_command check_http! -H wifisoft.org -s 'About'
170 notifications_enabled 1
171}
172define service {
173 use local-service
174 host_name wifisoft.vanderzwet.net
175 service_description HTTP - Drupal
176 check_command check_http! -H opencommunitycamp.org -s 'Program'
177 notifications_enabled 1
178}
179
180
181define service {
182 use local-service
183 host_name tyan.wirelessleiden.nl
184 service_description HTTP - Trac
185 check_command check_http! -H wirelessleiden.nl -u /projects -s 'SaveEnergy'
186 notifications_enabled 1
187}
188define service {
189 use local-service
190 host_name tyan.wirelessleiden.nl
191 service_description HTTP - MoinMoin
192 check_command check_http! -H wiki.wirelessleiden.nl -s 'Uitsluiting'
193 notifications_enabled 1
194}
195define service {
196 use local-service
197 host_name tyan.wirelessleiden.nl
198 service_description HTTP - Mailman
199 check_command check_http! -H lijst.wirelessleiden.nl -s 'Vrijwilligers'
200 notifications_enabled 1
201}
202
203
204define service{
205 use local-service
206 host_name sunfire.wirelessleiden.nl
207 service_description HTTP - /buildbot/
208 check_command check_http!-u /buildbot/
209 notifications_enabled 1
210}
211define service
212 use local-service
213 host_name sunfire.wirelessleiden.nl
214 service_description HTTP - WLHeatmap
215 check_command check_http! -H maps.wirelessleiden.nl -s 'Stichting Wireless Leiden'
216 notifications_enabled 1
217}
218
219define service {
220 use local-service
221 host_name riff.vanderzwet.net,buzz.vanderzwet.net,sunny.wleiden.net
222 service_description HTTP - WL Services Proxy
223 servicegroups wlservices
224 check_command check_http! -u /wleiden/ -s 'Wireless Leiden Services'
225 notifications_enabled 1
226}
227
228define servicedependency {
229 host_name riff.vanderzwet.net,buzz.vanderzwet.net,sunny.wleiden.net
230 service_description HTTP - WL Services Proxy
231 dependent_host_name CNodeZwet.wleiden.net
232 dependent_service_description HTTP
233 execution_failure_criteria w,c,u
234 notification_failure_criteria w,c,u
235}
236
237
238define service {
239 use local-service
240 host_name sunfire.wirelessleiden.nl
241 service_description HTTP - WL Services Proxy
242 servicegroups wlservices
243 check_command check_http! -u /wleiden/ -s 'Wireless Leiden Services'
244 notifications_enabled 1
245}
246define service{
247 use local-service
248 host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net,!sunfire.wirelessleiden.nl
249 hostgroup_name vanderzwet.net,wirelessleiden.nl
250 service_description SMTP
251 check_command check_smtp
252 notifications_enabled 1
253 }
254define service{
255 use local-service
256 host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,tyan.wirelessleiden.nl,zweot.vanderzwet.net,ns.xs4all.nl
257 service_description DNS
258 check_command check_dns
259 notifications_enabled 1
260 }
261
262
263#
264# Localhost services only!
265#
266
267
268# Define a service to check the disk space of the root partition
269# on the local machine. Warning if < 20% free, critical if
270# < 10% free space on partition.
271define service{
272 use local-service
273 host_name buzz.vanderzwet.net
274 service_description Root Partition
275 check_command check_local_disk!20%!10%!/
276 }
277
278
279
280# Define a service to check the number of currently logged in
281# users on the local machine. Warning if > 20 users, critical
282# if > 50 users.
283define service{
284 use local-service
285 host_name buzz.vanderzwet.net
286 service_description Current Users
287 check_command check_local_users!20!50
288 }
289
290
291# Define a service to check the number of currently running procs
292# on the local machine. Warning if > 250 processes, critical if
293# > 400 users.
294define service{
295 use local-service
296 host_name buzz.vanderzwet.net
297 service_description Total Processes
298 check_command check_local_procs!250!400!RSZDT
299 }
300
301
302
303# Define a service to check the load on the local machine.
304define service{
305 use local-service
306 host_name buzz.vanderzwet.net
307 service_description Current Load
308 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
309 }
310
311
312
313# Define a service to check the swap usage the local machine.
314# Critical if less than 10% of swap is free, warning if less than 20% is free
315define service{
316 use local-service
317 host_name buzz.vanderzwet.net
318 service_description Swap Usage
319 check_command check_local_swap!20!10
320 }
321
322define service {
323 use local-service
324 host_name siteview.wirelessleiden.nl
325 service_description Interface usage em0
326 check_command check_snmp_int!em0
327}
328
329define service {
330 use local-service
331 host_name riff.vanderzwet.net
332 service_description Interface usage vr0
333 check_command check_snmp_int!vr0
334}
335
336define service {
337 use local-service
338 host_name riff.vanderzwet.net
339 service_description Interface usage vr1
340 check_command check_snmp_int!vr1
341}
342
343define service {
344 use local-service
345 host_name zweot.vanderzwet.net
346 service_description Interface usage re0
347 check_command check_snmp_int!re0
348}
349
350define service {
351 use local-service
352 host_name tyan.wirelessleiden.nl
353 service_description Interface usage bge1
354 check_command check_snmp_int!bge1
355}
356
357define service {
358 use local-service
359 host_name zweot.vanderzwet.net
360 service_description NTP Server
361 check_command check_ntp_peer
362}
363
364define service {
365 use local-service
366 host_name pzwet.vanderzwet.net
367 service_description Bittorrent Client
368 check_command check_tcp!51413
369}
370
371define service {
372 use local-service
373 host_name buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net
374 service_description ICMP under IPv6
375 check_command check_ping_ipv6
376}
377
378define service {
379 use local-service
380 host_name tyan.wirelessleiden.nl
381 service_description ICMP under IPv6
382 check_command check_ping_ipv6_addr!2001:610:600:850::1
383}
384
385define servicegroup {
386 servicegroup_name wlservices
387 alias Wireless Leiden Services
388}
389
390
Note: See TracBrowser for help on using the repository browser.