source: nagios/objects/vanderzwet.net.cfg

Last change on this file was 382, checked in by Rick van der Zwet, 12 years ago

Wifisoft jail migrated.

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