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

Last change on this file since 283 was 264, checked in by Rick van der Zwet, 14 years ago

Monitor BitTorrent Client, hosting FreeBSD iso's.

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