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

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

Migraded all http services to a specific set of reqs.

File size: 9.6 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 sunfire.wirelessleiden.nl,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}
227define service{
228 use local-service
229 host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net,!sunfire.wirelessleiden.nl
230 hostgroup_name vanderzwet.net,wirelessleiden.nl
231 service_description SMTP
232 check_command check_smtp
233 notifications_enabled 1
234 }
235define service{
236 use local-service
237 host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,tyan.wirelessleiden.nl,zweot.vanderzwet.net,ns.xs4all.nl
238 service_description DNS
239 check_command check_dns
240 notifications_enabled 1
241 }
242
243
244#
245# Localhost services only!
246#
247
248
249# Define a service to check the disk space of the root partition
250# on the local machine. Warning if < 20% free, critical if
251# < 10% free space on partition.
252define service{
253 use local-service
254 host_name buzz.vanderzwet.net
255 service_description Root Partition
256 check_command check_local_disk!20%!10%!/
257 }
258
259
260
261# Define a service to check the number of currently logged in
262# users on the local machine. Warning if > 20 users, critical
263# if > 50 users.
264define service{
265 use local-service
266 host_name buzz.vanderzwet.net
267 service_description Current Users
268 check_command check_local_users!20!50
269 }
270
271
272# Define a service to check the number of currently running procs
273# on the local machine. Warning if > 250 processes, critical if
274# > 400 users.
275define service{
276 use local-service
277 host_name buzz.vanderzwet.net
278 service_description Total Processes
279 check_command check_local_procs!250!400!RSZDT
280 }
281
282
283
284# Define a service to check the load on the local machine.
285define service{
286 use local-service
287 host_name buzz.vanderzwet.net
288 service_description Current Load
289 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
290 }
291
292
293
294# Define a service to check the swap usage the local machine.
295# Critical if less than 10% of swap is free, warning if less than 20% is free
296define service{
297 use local-service
298 host_name buzz.vanderzwet.net
299 service_description Swap Usage
300 check_command check_local_swap!20!10
301 }
302
303define service {
304 use local-service
305 host_name siteview.wirelessleiden.nl
306 service_description Interface usage em0
307 check_command check_snmp_int!em0
308}
309
310define service {
311 use local-service
312 host_name riff.vanderzwet.net
313 service_description Interface usage vr0
314 check_command check_snmp_int!vr0
315}
316
317define service {
318 use local-service
319 host_name riff.vanderzwet.net
320 service_description Interface usage vr1
321 check_command check_snmp_int!vr1
322}
323
324define service {
325 use local-service
326 host_name zweot.vanderzwet.net
327 service_description Interface usage re0
328 check_command check_snmp_int!re0
329}
330
331define service {
332 use local-service
333 host_name tyan.wirelessleiden.nl
334 service_description Interface usage bge1
335 check_command check_snmp_int!bge1
336}
337
338define service {
339 use local-service
340 host_name zweot.vanderzwet.net
341 service_description NTP Server
342 check_command check_ntp_peer
343}
344
345define service {
346 use local-service
347 host_name pzwet.vanderzwet.net
348 service_description Bittorrent Client
349 check_command check_tcp!51413
350}
351
352define service {
353 use local-service
354 host_name buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net
355 service_description ICMP under IPv6
356 check_command check_ping_ipv6
357}
358
359define service {
360 use local-service
361 host_name tyan.wirelessleiden.nl
362 service_description ICMP under IPv6
363 check_command check_ping_ipv6_addr!2001:610:600:850::1
364}
365
366define servicegroup {
367 servicegroup_name wlservices
368 alias Wireless Leiden Services
369}
370
371
Note: See TracBrowser for help on using the repository browser.