summaryrefslogtreecommitdiffstats
path: root/god/Monitoring/nagios/conf/shack_infrastructure.cfg
blob: f404f3e4e874d9041c6659abd86da27fa002c3c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#

#
# Shack Virtual Machine Hoster Platform
#

#
# Virtualization and storage
#
define host{
        use                     generic-host
        host_name               shack-node0
        alias                   Shack Virtualization Server 0
        address                 10.42.0.10
        parents                 shack-serverswitch
        hostgroups              shack-rz,ssh-servers
        }
define host{
        use                     generic-host
        host_name               shack-node1
        alias                   Shack Virtualization Server 1
        address                 10.42.0.10
        parents                 shack-serverswitch
        hostgroups              shack-rz,ssh-servers
        }
define host{
        use                     generic-host
        host_name               shack-plattenschwein
        parents                 shack-serverswitch
        alias                   Shack Plattenschwein
        address                 10.42.0.12
        hostgroups              shack-rz,ssh-servers
        }
#
# Network Infrastructure
#

#
## Shack gateway (no gateway-no internet)
#
define host{
        use                     generic-host
        host_name               shack-gw
        parents                 shack-coreswitch
        alias                   Watchguard Shack Gateway
        address                 10.42.0.1
        hostgroups              shack-rz,ssh-servers
        }
#deprecated
#define host{
#        use                     generic-host
#        host_name               shack-modem
#        parents                 shack-gw
#        alias                   Shack Telecom VDSL Router
#        address                 192.168.2.1
#        hostgroups              shack-rz
#        }
define host{
        use                     generic-host
        host_name               shack-externswitch
        parents                 shack-gw
        alias                   Shack External Switch (2.OG)
        address                 10.0.10.2
        hostgroups              shack-rz
        }
#
# Serverswitch 2
#
define host{
        use                     generic-host
        host_name               shack-serverswitch2
        parents                 shack-serverswitch
        alias                   Shack switch Rack 2 (cisco 3524)
        address                 10.42.0.5
        hostgroups              shack-rz
        }

define service {
        host_name               shack-serverswitch2
        service_description     Telnet
        use                     generic-service
        check_command           check_telnet
        }

define service {
        host_name               shack-serverswitch2
        service_description     Admin HTTP Terminal
        use                     generic-service
        check_command           check_http
        }


define service {
        host_name               shack-gw
        service_description     DNS Service
        use                     generic-service
        check_command           check_dns
        }
define host{
        use                     generic-host
        host_name               shack-coreswitch
        alias                   Shack Cisco Router Coreswitch
        address                 10.42.0.3
        hostgroups              shack-rz,ssh-servers
        }
define host{
        use                     generic-host
        host_name               shack-serverswitch
        parents                 shack-coreswitch
        alias                   Shack Cisco Router Serverswitch
        address                 10.42.0.4
        hostgroups              shack-rz
        }

define host{
        use                     generic-host
        host_name               shack-wlan-ap2
        parents                 shack-coreswitch
        alias                   Shack Wlan Access Point 2
        address                 10.42.0.6
        hostgroups              wlan-ap
        }
define host{
        use                     generic-host
        host_name               shack-wlan-ap3
        parents                 shack-coreswitch
        alias                   Shack Wlan Access Point 3
        address                 10.42.0.7
        hostgroups              wlan-ap
        }
define host{
        use                     generic-host
        host_name               shack-wlan-ap4
        parents                 shack-coreswitch
        alias                   Shack Wlan Access Point 4
        address                 10.42.0.8
        hostgroups              wlan-ap
        }
define host{
        use                     generic-host
        host_name               shack-wlan-ap5
        parents                 shack-coreswitch
        alias                   Shack Wlan Access Point 5
        address                 10.42.0.9
        hostgroups              wlan-ap
        }
#
# Voip Infrastructure
#
define host{
        use                     generic-host
        host_name               shack-voip
        alias                   Shack Cisco VOIP Gateway
        address                 10.42.0.2
        parents                 shack-coreswitch
        hostgroups              shack-rz,http-servers
        }

define service{
        host_name               shack-voip
        service_description     SIP Service
        use                     generic-service
        check_command           check_sip
        }

#
# Shack DNS Server
#

define host{
        use                     generic-host
        host_name               shack-dns
        parents                 shack-node0
        alias                   Shack DNS Virtual Host
        address                 10.42.0.100
        hostgroups              shack-rz
        }
define service {
        host_name               shack-dns
        service_description     DNS Service
        use                     generic-service
        check_command           check_dns_shack
        }

define host{
        use                     generic-host
        host_name               shack-pxe
        parents                 shack-node0
        alias                   Shack PXEBoot Vhost
        address                 pxeboot.shack
        hostgroups              shack-rz
        }

define host{
        use                     generic-host
        host_name               shack-printsrv
        parents                 shack-node1
        alias                   Shack Print Server
        address                 printer.shack
        hostgroups              shack-rz
        }

define host{
        use                     generic-host
        host_name               shack-aptproxy
        parents                 shack-node0
        alias                   Shack Apt-proxy
        address                 aptproxy.shack
        hostgroups              shack-rz
        }

define host{
        use                     generic-host
        host_name               shack-shack
        parents                 shack-node1
        alias                   Shack Data Exchange
        address                 shack.shack
        hostgroups              shack-rz,ssh-servers
        }

#
# shack ldap server
#
define host{
        use                     generic-host
        host_name               shack-ldap
        parents                 shack-node0
        alias                   Shack LDAP Server
        address                 ldap.shack
        hostgroups              shack-rz
        }
define service {
        host_name               shack-ldap
        service_description     LDAP Service
        use                     generic-service
        check_command           check_ldap!shammunity
        }

#
# Random stuff (not necessary located in RZ)
#