summaryrefslogtreecommitdiffstats
path: root/modules/Monitoring/conf/shack_infrastructure.cfg
blob: 2b75a24142c7218a9cc88e6618b11cdfee77ad1d (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
#

define hostgroup {
        hostgroup_name   shack-rz
        alias            Shack RZ Infrastructure
        }
define hostextinfo{
        hostgroup_name   shack-rz
        notes            Shack RZ Infrastructure
#       notes_url        http://webserver.localhost.localdomain/hostinfo.pl?host=netware1
        icon_image       krebs/shack.png
        icon_image_alt   shack-RZ
        vrml_image       shack.png
        statusmap_image  krebs/shack.gd2
        }
#
# Shack Virtual Machine Hoster Platform
#
define host{
        use                     generic-host
        host_name               shack-vplatform
        alias                   Shack Virtualization Server
        address                 node0.shack
        parents                 shack-router
        hostgroups              shack-rz,ssh-servers
        }
define host{
        use                     generic-host
        host_name               shack-router
        alias                   Shack Cisco Router
        address                 10.42.0.3
        hostgroups              shack-rz,ssh-servers
        }

define host{
        use                     generic-host
        host_name               shack-plattenschwein
        parents                 shack-router
        alias                   Shack Plattenschwein
        address                 plattenschwein.shack
        hostgroups              shack-rz,ssh-servers
        }


#
# Shack DNS Server
#

define host{
        use                     generic-host
        host_name               shack-dns
        parents                 shack-vplatform
        alias                   Shack DNS Virtual Host
        address                 dns.shack
        hostgroups              shack-rz
        }
define service {
        host_name               shack-dns
        service_description     DNS Service
        use                     generic-service
        check_command           check_dns_shack
        }
define command {
	command_name	check_dns_shack
	command_line	/usr/lib/nagios/plugins/check_dns -H shack.shack -s '$HOSTADDRESS$'
        }

define host{
        use                     generic-host
        host_name               shack-pxe
        parents                 shack-vplatform
        alias                   Shack PXEBoot Vhost
        address                 pxeboot.shack
        hostgroups              shack-rz
        }
define host{
        use                     generic-host
        host_name               shack-printsrv
        parents                 shack-vplatform
        alias                   Shack Print Server
        address                 printer.shack
        hostgroups              shack-rz
        }

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

define host{
        use                     generic-host
        host_name               shack-shack
        parents                 shack-vplatform
        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-vplatform
        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
        }

#
# Shack gateway
#
define host{
        use                     generic-host
        host_name               shack-gw
        parents                 shack-router
        alias                   Watchguard Shack Gateway
        address                 10.42.0.1
        hostgroups              shack-rz,ssh-servers
        }
define service {
        host_name               shack-gw
        service_description     DNS Service
        use                     generic-service
        check_command           check_dns
        }