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

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

Made sure all machines/interfaces are monitored.

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