1 | |
---|
2 | define host { |
---|
3 | name scripts-host |
---|
4 | use generic-host |
---|
5 | register 0 |
---|
6 | max_check_attempts 10 |
---|
7 | check_period 24x7 |
---|
8 | check_command check-host-alive |
---|
9 | notification_interval 240 |
---|
10 | notification_period 24x7 |
---|
11 | notification_options d,r |
---|
12 | contact_groups scripts |
---|
13 | } |
---|
14 | |
---|
15 | define host { |
---|
16 | name scripts-sipb-host |
---|
17 | use scripts-host |
---|
18 | register 0 |
---|
19 | parents sipb-ether |
---|
20 | } |
---|
21 | |
---|
22 | define host { |
---|
23 | use scripts-host |
---|
24 | host_name sipb-ether |
---|
25 | address 18.181.0.1 |
---|
26 | } |
---|
27 | |
---|
28 | # SQL |
---|
29 | |
---|
30 | define host { |
---|
31 | name sql-sipb-host |
---|
32 | use scripts-sipb-host |
---|
33 | register 0 |
---|
34 | contact_groups sql,scripts |
---|
35 | } |
---|
36 | |
---|
37 | define host { |
---|
38 | use sql-sipb-host |
---|
39 | host_name sql |
---|
40 | alias sql |
---|
41 | address 18.181.0.52 |
---|
42 | contact_groups sql,scripts,pagers |
---|
43 | } |
---|
44 | |
---|
45 | define host { |
---|
46 | use sql-sipb-host |
---|
47 | host_name k-s |
---|
48 | alias kitchen-sink |
---|
49 | address 18.181.0.56 |
---|
50 | } |
---|
51 | |
---|
52 | define hostextinfo { |
---|
53 | host_name k-s |
---|
54 | notes SQL |
---|
55 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_19.html |
---|
56 | } |
---|
57 | |
---|
58 | define host { |
---|
59 | use sql-sipb-host |
---|
60 | host_name s-b |
---|
61 | alias sliced-bread |
---|
62 | address 18.181.0.47 |
---|
63 | } |
---|
64 | |
---|
65 | define hostextinfo { |
---|
66 | host_name s-b |
---|
67 | notes SQL |
---|
68 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_17.html |
---|
69 | } |
---|
70 | |
---|
71 | # Scripts |
---|
72 | |
---|
73 | define host { |
---|
74 | use scripts-sipb-host |
---|
75 | host_name o-f |
---|
76 | alias old-faithful |
---|
77 | address 18.181.0.53 |
---|
78 | # contact_groups scripts,pagers |
---|
79 | } |
---|
80 | |
---|
81 | define hostextinfo { |
---|
82 | host_name o-f |
---|
83 | notes Scripts |
---|
84 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_15.html |
---|
85 | } |
---|
86 | |
---|
87 | |
---|
88 | define host { |
---|
89 | use scripts-sipb-host |
---|
90 | host_name scripts |
---|
91 | alias scripts |
---|
92 | address 18.181.0.46 |
---|
93 | contact_groups scripts,pagers |
---|
94 | } |
---|
95 | |
---|
96 | define host { |
---|
97 | use scripts-sipb-host |
---|
98 | host_name scripts-cert |
---|
99 | alias scripts-cert |
---|
100 | parents scripts |
---|
101 | address 18.181.0.50 |
---|
102 | contact_groups scripts,pagers |
---|
103 | } |
---|
104 | |
---|
105 | define host { |
---|
106 | use scripts-sipb-host |
---|
107 | host_name wildcard.scripts |
---|
108 | alias wildcard.scripts |
---|
109 | parents scripts |
---|
110 | address wildcard.scripts.mit.edu |
---|
111 | contact_groups scripts,pagers |
---|
112 | } |
---|
113 | |
---|
114 | define host { |
---|
115 | use scripts-sipb-host |
---|
116 | host_name b-m |
---|
117 | alias better-mousetrap |
---|
118 | address 18.181.0.57 |
---|
119 | # contact_groups scripts,pagers |
---|
120 | } |
---|
121 | |
---|
122 | define hostextinfo { |
---|
123 | host_name b-m |
---|
124 | notes Scripts |
---|
125 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_22.html |
---|
126 | } |
---|
127 | |
---|
128 | define host { |
---|
129 | use scripts-sipb-host |
---|
130 | host_name b-k |
---|
131 | alias bees-knees |
---|
132 | address 18.181.0.167 |
---|
133 | } |
---|
134 | |
---|
135 | # LVS |
---|
136 | |
---|
137 | #define host { |
---|
138 | # use scripts-sipb-host |
---|
139 | # host_name n-f |
---|
140 | # alias not-forward |
---|
141 | # address 18.181.0.54 |
---|
142 | ## contact_groups scripts,pagers |
---|
143 | #} |
---|
144 | |
---|
145 | #define hostextinfo { |
---|
146 | # host_name n-f |
---|
147 | # notes LVS Server |
---|
148 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_9.html |
---|
149 | #} |
---|
150 | |
---|
151 | #define host { |
---|
152 | # use scripts-sipb-host |
---|
153 | # host_name n-b |
---|
154 | # alias not-backward |
---|
155 | # address 18.181.0.55 |
---|
156 | ## contact_groups scripts,pagers |
---|
157 | #} |
---|
158 | |
---|
159 | #define hostextinfo { |
---|
160 | # host_name n-b |
---|
161 | # notes LVS Server |
---|
162 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_5.html |
---|
163 | #} |
---|
164 | |
---|
165 | define host { |
---|
166 | use scripts-sipb-host |
---|
167 | host_name r-f |
---|
168 | alias rack-forward |
---|
169 | address 18.181.0.117 |
---|
170 | # contact_groups scripts,pagers |
---|
171 | } |
---|
172 | |
---|
173 | define host { |
---|
174 | use scripts-sipb-host |
---|
175 | host_name r-b |
---|
176 | alias rack-backward |
---|
177 | address 18.181.0.118 |
---|
178 | # contact_groups scripts,pagers |
---|
179 | } |
---|
180 | |
---|
181 | # Test |
---|
182 | |
---|
183 | define host { |
---|
184 | use scripts-sipb-host |
---|
185 | host_name asdfasdfasdf |
---|
186 | alias nagios-test |
---|
187 | address 18.187.1.70 |
---|
188 | register 0 |
---|
189 | } |
---|
190 | |
---|