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 | host_name buzz.vanderzwet.net
|
---|
22 | }
|
---|
23 |
|
---|
24 | define host {
|
---|
25 | use freebsd-server
|
---|
26 | host_name riff.vanderzwet.net
|
---|
27 | }
|
---|
28 |
|
---|
29 | define host {
|
---|
30 | use freebsd-server
|
---|
31 | host_name wiki.lorentzschool.nl
|
---|
32 | address 145.102.33.45
|
---|
33 | }
|
---|
34 |
|
---|
35 | define host {
|
---|
36 | use freebsd-server
|
---|
37 | host_name wiki2.lorentzschool.nl
|
---|
38 | address 145.102.33.46
|
---|
39 | }
|
---|
40 |
|
---|
41 | define host {
|
---|
42 | use freebsd-server
|
---|
43 | check_command check_ssh
|
---|
44 | host_name dellas.wirelessleiden.nl
|
---|
45 | }
|
---|
46 | define host {
|
---|
47 | use freebsd-server
|
---|
48 | host_name siteview.wirelessleiden.nl
|
---|
49 | }
|
---|
50 |
|
---|
51 | define host {
|
---|
52 | use freebsd-server
|
---|
53 | host_name CNodeZwet.wleiden.net
|
---|
54 | parents
|
---|
55 | }
|
---|
56 |
|
---|
57 | define host {
|
---|
58 | use freebsd-server
|
---|
59 | parents CNodeZwet.wleiden.net
|
---|
60 | host_name sunny.wleiden.net
|
---|
61 | }
|
---|
62 |
|
---|
63 | define host {
|
---|
64 | use freebsd-server
|
---|
65 | host_name sunfire.wirelessleiden.nl
|
---|
66 | }
|
---|
67 |
|
---|
68 | define hostgroup {
|
---|
69 | hostgroup_name routers
|
---|
70 | alias Various external polled routers
|
---|
71 | members fritz.box,ns.xs4all.nl,CNodeZwet.wleiden.net
|
---|
72 | }
|
---|
73 |
|
---|
74 |
|
---|
75 | define hostgroup {
|
---|
76 | hostgroup_name vanderzwet.net
|
---|
77 | alias Rick van der Zwet - FreeBSD Servers
|
---|
78 | members buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net,roel.vanderzwet.net,wifisoft.vanderzwet.net
|
---|
79 | }
|
---|
80 |
|
---|
81 | define hostgroup {
|
---|
82 | hostgroup_name lorentzschool.nl
|
---|
83 | alias Lorentzschool education servers - FreeBSD Servers
|
---|
84 | members wiki.lorentzschool.nl,wiki2.lorentzschool.nl
|
---|
85 | }
|
---|
86 |
|
---|
87 | define hostgroup {
|
---|
88 | hostgroup_name wirelessleiden.nl
|
---|
89 | alias WirelessLeiden.nl Project Servers - FreeBSD Servers
|
---|
90 | members siteview.wirelessleiden.nl,dellas.wirelessleiden.nl,sunfire.wirelessleiden.nl,sunny.wleiden.net
|
---|
91 | }
|
---|
92 |
|
---|
93 |
|
---|
94 | # Define a service to "ping" the local machine
|
---|
95 | define service{
|
---|
96 | use local-service
|
---|
97 | host_name !dellas.wirelessleiden.nl
|
---|
98 | hostgroup_name *
|
---|
99 | service_description PING
|
---|
100 | check_command check_ping!100.0,20%!500.0,60%
|
---|
101 | }
|
---|
102 |
|
---|
103 | # Define a service to check SSH on the local machine.
|
---|
104 | # Disable notifications for this service by default, as not all users may have
|
---|
105 | # SSH enabled.
|
---|
106 | define service{
|
---|
107 | use local-service
|
---|
108 | hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl
|
---|
109 | service_description SSH
|
---|
110 | check_command check_ssh
|
---|
111 | notifications_enabled 1
|
---|
112 | }
|
---|
113 |
|
---|
114 | define service{
|
---|
115 | use local-service
|
---|
116 | host_name !siteview.wirelessleiden.nl
|
---|
117 | hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl
|
---|
118 | service_description HTTP
|
---|
119 | check_command check_http
|
---|
120 | notifications_enabled 1
|
---|
121 | }
|
---|
122 |
|
---|
123 | define service{
|
---|
124 | use local-service
|
---|
125 | host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net
|
---|
126 | hostgroup_name vanderzwet.net,wirelessleiden.nl
|
---|
127 | service_description SMTP
|
---|
128 | check_command check_smtp
|
---|
129 | notifications_enabled 1
|
---|
130 | }
|
---|
131 |
|
---|
132 | define service{
|
---|
133 | use local-service
|
---|
134 | host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,dellas.wirelessleiden.nl,zweot.vanderzwet.net
|
---|
135 | service_description DNS
|
---|
136 | check_command check_dns
|
---|
137 | notifications_enabled 1
|
---|
138 | }
|
---|
139 |
|
---|
140 |
|
---|
141 | #
|
---|
142 | # Localhost services only!
|
---|
143 | #
|
---|
144 |
|
---|
145 |
|
---|
146 | # Define a service to check the disk space of the root partition
|
---|
147 | # on the local machine. Warning if < 20% free, critical if
|
---|
148 | # < 10% free space on partition.
|
---|
149 | define service{
|
---|
150 | use local-service
|
---|
151 | host_name buzz.vanderzwet.net
|
---|
152 | service_description Root Partition
|
---|
153 | check_command check_local_disk!20%!10%!/
|
---|
154 | }
|
---|
155 |
|
---|
156 |
|
---|
157 |
|
---|
158 | # Define a service to check the number of currently logged in
|
---|
159 | # users on the local machine. Warning if > 20 users, critical
|
---|
160 | # if > 50 users.
|
---|
161 | define service{
|
---|
162 | use local-service
|
---|
163 | host_name buzz.vanderzwet.net
|
---|
164 | service_description Current Users
|
---|
165 | check_command check_local_users!20!50
|
---|
166 | }
|
---|
167 |
|
---|
168 |
|
---|
169 | # Define a service to check the number of currently running procs
|
---|
170 | # on the local machine. Warning if > 250 processes, critical if
|
---|
171 | # > 400 users.
|
---|
172 | define service{
|
---|
173 | use local-service
|
---|
174 | host_name buzz.vanderzwet.net
|
---|
175 | service_description Total Processes
|
---|
176 | check_command check_local_procs!250!400!RSZDT
|
---|
177 | }
|
---|
178 |
|
---|
179 |
|
---|
180 |
|
---|
181 | # Define a service to check the load on the local machine.
|
---|
182 | define service{
|
---|
183 | use local-service
|
---|
184 | host_name buzz.vanderzwet.net
|
---|
185 | service_description Current Load
|
---|
186 | check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
|
---|
187 | }
|
---|
188 |
|
---|
189 |
|
---|
190 |
|
---|
191 | # Define a service to check the swap usage the local machine.
|
---|
192 | # Critical if less than 10% of swap is free, warning if less than 20% is free
|
---|
193 | define service{
|
---|
194 | use local-service
|
---|
195 | host_name buzz.vanderzwet.net
|
---|
196 | service_description Swap Usage
|
---|
197 | check_command check_local_swap!20!10
|
---|
198 | }
|
---|
199 |
|
---|
200 |
|
---|
201 | define service {
|
---|
202 | use local-service
|
---|
203 | host_name riff.vanderzwet.net
|
---|
204 | service_description Interface usage
|
---|
205 | check_command check_snmp_int!vr0
|
---|
206 | notifications_enabled 0
|
---|
207 | }
|
---|