1 | define host {
|
---|
2 | use freebsd-server
|
---|
3 | host_name zweot.vanderzwet.net
|
---|
4 | address 78.46.85.230
|
---|
5 | }
|
---|
6 |
|
---|
7 | define host {
|
---|
8 | use freebsd-server
|
---|
9 | parents zweot.vanderzwet.net
|
---|
10 | host_name roel.vanderzwet.net
|
---|
11 | }
|
---|
12 |
|
---|
13 | define host {
|
---|
14 | use freebsd-server
|
---|
15 | parents zweot.vanderzwet.net
|
---|
16 | host_name wifisoft.vanderzwet.net
|
---|
17 | }
|
---|
18 |
|
---|
19 | define host {
|
---|
20 | use freebsd-server
|
---|
21 | parents zweot.vanderzwet.net
|
---|
22 | host_name pzwet.vanderzwet.net
|
---|
23 | }
|
---|
24 |
|
---|
25 | define host{
|
---|
26 | use freebsd-server
|
---|
27 | parents
|
---|
28 | host_name buzz.vanderzwet.net
|
---|
29 | }
|
---|
30 |
|
---|
31 | define host {
|
---|
32 | use freebsd-server
|
---|
33 | host_name riff.vanderzwet.net
|
---|
34 | }
|
---|
35 |
|
---|
36 | define host {
|
---|
37 | use freebsd-server
|
---|
38 | host_name alpina.lorentzschool.nl
|
---|
39 | }
|
---|
40 |
|
---|
41 | define host {
|
---|
42 | use freebsd-server
|
---|
43 | host_name broom.lorentzschool.nl
|
---|
44 | }
|
---|
45 |
|
---|
46 | define host {
|
---|
47 | use freebsd-server
|
---|
48 | check_command check_ssh
|
---|
49 | host_name tyan.wirelessleiden.nl
|
---|
50 | }
|
---|
51 | define host {
|
---|
52 | use freebsd-server
|
---|
53 | host_name siteview.wirelessleiden.nl
|
---|
54 | }
|
---|
55 |
|
---|
56 | define host {
|
---|
57 | use freebsd-server
|
---|
58 | host_name CNodeZwet.wleiden.net
|
---|
59 | parents
|
---|
60 | }
|
---|
61 |
|
---|
62 | define host {
|
---|
63 | use freebsd-server
|
---|
64 | parents CNodeZwet.wleiden.net
|
---|
65 | host_name sunny.wleiden.net
|
---|
66 | }
|
---|
67 |
|
---|
68 | define host {
|
---|
69 | use freebsd-server
|
---|
70 | host_name sunfire.wirelessleiden.nl
|
---|
71 | }
|
---|
72 |
|
---|
73 | define hostgroup {
|
---|
74 | hostgroup_name routers
|
---|
75 | alias Various external polled routers
|
---|
76 | members fritz.box,ns.xs4all.nl,CNodeZwet.wleiden.net
|
---|
77 | }
|
---|
78 |
|
---|
79 |
|
---|
80 | define 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 |
|
---|
86 | define hostgroup {
|
---|
87 | hostgroup_name lorentzschool.nl
|
---|
88 | alias Lorentzschool education servers - FreeBSD Servers
|
---|
89 | members alpina.lorentzschool.nl,broom.lorentzschool.nl
|
---|
90 | }
|
---|
91 |
|
---|
92 | define 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.
|
---|
102 | define 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 |
|
---|
110 | define service{
|
---|
111 | use local-service
|
---|
112 | host_name !siteview.wirelessleiden.nl,fritz.box,!sunfire.wirelessleiden.nl,CNodeZwet.wleiden.net
|
---|
113 | hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl
|
---|
114 | service_description HTTP
|
---|
115 | check_command check_http
|
---|
116 | notifications_enabled 1
|
---|
117 | }
|
---|
118 |
|
---|
119 | define service{
|
---|
120 | use local-service
|
---|
121 | host_name sunfire.wirelessleiden.nl
|
---|
122 | service_description HTTP /buildbot/
|
---|
123 | check_command check_http!-u /buildbot/
|
---|
124 | notifications_enabled 1
|
---|
125 | }
|
---|
126 |
|
---|
127 |
|
---|
128 | define service{
|
---|
129 | use local-service
|
---|
130 | host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net
|
---|
131 | hostgroup_name vanderzwet.net,wirelessleiden.nl
|
---|
132 | service_description SMTP
|
---|
133 | check_command check_smtp
|
---|
134 | notifications_enabled 1
|
---|
135 | }
|
---|
136 |
|
---|
137 | define service{
|
---|
138 | use local-service
|
---|
139 | host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,tyan.wirelessleiden.nl,zweot.vanderzwet.net,ns.xs4all.nl
|
---|
140 | service_description DNS
|
---|
141 | check_command check_dns
|
---|
142 | notifications_enabled 1
|
---|
143 | }
|
---|
144 |
|
---|
145 |
|
---|
146 | #
|
---|
147 | # Localhost services only!
|
---|
148 | #
|
---|
149 |
|
---|
150 |
|
---|
151 | # Define a service to check the disk space of the root partition
|
---|
152 | # on the local machine. Warning if < 20% free, critical if
|
---|
153 | # < 10% free space on partition.
|
---|
154 | define service{
|
---|
155 | use local-service
|
---|
156 | host_name buzz.vanderzwet.net
|
---|
157 | service_description Root Partition
|
---|
158 | check_command check_local_disk!20%!10%!/
|
---|
159 | }
|
---|
160 |
|
---|
161 |
|
---|
162 |
|
---|
163 | # Define a service to check the number of currently logged in
|
---|
164 | # users on the local machine. Warning if > 20 users, critical
|
---|
165 | # if > 50 users.
|
---|
166 | define service{
|
---|
167 | use local-service
|
---|
168 | host_name buzz.vanderzwet.net
|
---|
169 | service_description Current Users
|
---|
170 | check_command check_local_users!20!50
|
---|
171 | }
|
---|
172 |
|
---|
173 |
|
---|
174 | # Define a service to check the number of currently running procs
|
---|
175 | # on the local machine. Warning if > 250 processes, critical if
|
---|
176 | # > 400 users.
|
---|
177 | define service{
|
---|
178 | use local-service
|
---|
179 | host_name buzz.vanderzwet.net
|
---|
180 | service_description Total Processes
|
---|
181 | check_command check_local_procs!250!400!RSZDT
|
---|
182 | }
|
---|
183 |
|
---|
184 |
|
---|
185 |
|
---|
186 | # Define a service to check the load on the local machine.
|
---|
187 | define service{
|
---|
188 | use local-service
|
---|
189 | host_name buzz.vanderzwet.net
|
---|
190 | service_description Current Load
|
---|
191 | check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
|
---|
192 | }
|
---|
193 |
|
---|
194 |
|
---|
195 |
|
---|
196 | # Define a service to check the swap usage the local machine.
|
---|
197 | # Critical if less than 10% of swap is free, warning if less than 20% is free
|
---|
198 | define service{
|
---|
199 | use local-service
|
---|
200 | host_name buzz.vanderzwet.net
|
---|
201 | service_description Swap Usage
|
---|
202 | check_command check_local_swap!20!10
|
---|
203 | }
|
---|
204 |
|
---|
205 | define service {
|
---|
206 | use local-service
|
---|
207 | host_name siteview.wirelessleiden.nl
|
---|
208 | service_description Interface usage em0
|
---|
209 | check_command check_snmp_int!em0
|
---|
210 | notifications_enabled 0
|
---|
211 | }
|
---|
212 |
|
---|
213 | define service {
|
---|
214 | use local-service
|
---|
215 | host_name riff.vanderzwet.net
|
---|
216 | service_description Interface usage vr0
|
---|
217 | check_command check_snmp_int!vr0
|
---|
218 | notifications_enabled 0
|
---|
219 | }
|
---|
220 |
|
---|
221 | define service {
|
---|
222 | use local-service
|
---|
223 | host_name riff.vanderzwet.net
|
---|
224 | service_description Interface usage vr1
|
---|
225 | check_command check_snmp_int!vr1
|
---|
226 | notifications_enabled 0
|
---|
227 | }
|
---|
228 |
|
---|
229 | define service {
|
---|
230 | use local-service
|
---|
231 | host_name zweot.vanderzwet.net
|
---|
232 | service_description Interface usage re0
|
---|
233 | check_command check_snmp_int!re0
|
---|
234 | notifications_enabled 0
|
---|
235 | }
|
---|
236 |
|
---|
237 | define service {
|
---|
238 | use local-service
|
---|
239 | host_name tyan.wirelessleiden.nl
|
---|
240 | service_description Interface usage bge1
|
---|
241 | check_command check_snmp_int!bge1
|
---|
242 | notifications_enabled 0
|
---|
243 | }
|
---|
244 |
|
---|
245 | define service {
|
---|
246 | use local-service
|
---|
247 | host_name zweot.vanderzwet.net
|
---|
248 | service_description NTP Server
|
---|
249 | check_command check_ntp_peer
|
---|
250 | }
|
---|
251 |
|
---|
252 | define service {
|
---|
253 | use local-service
|
---|
254 | host_name pzwet.vanderzwet.net,riff.vanderzwet.net
|
---|
255 | service_description Bittorrent Client
|
---|
256 | check_command check_tcp!51413
|
---|
257 | }
|
---|
258 |
|
---|
259 | define service {
|
---|
260 | use local-service
|
---|
261 | host_name buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net
|
---|
262 | service_description ICMP under IPv6
|
---|
263 | check_command check_ping_ipv6
|
---|
264 | }
|
---|
265 |
|
---|
266 | define service {
|
---|
267 | use local-service
|
---|
268 | host_name tyan.wirelessleiden.nl
|
---|
269 | service_description ICMP under IPv6
|
---|
270 | check_command check_ping_ipv6_addr!2001:610:600:850::1
|
---|
271 | }
|
---|
272 |
|
---|
273 |
|
---|
274 |
|
---|