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 | # LVS |
---|
129 | |
---|
130 | #define host { |
---|
131 | # use scripts-sipb-host |
---|
132 | # host_name n-f |
---|
133 | # alias not-forward |
---|
134 | # address 18.181.0.54 |
---|
135 | ## contact_groups scripts,pagers |
---|
136 | #} |
---|
137 | |
---|
138 | #define hostextinfo { |
---|
139 | # host_name n-f |
---|
140 | # notes LVS Server |
---|
141 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_9.html |
---|
142 | #} |
---|
143 | |
---|
144 | #define host { |
---|
145 | # use scripts-sipb-host |
---|
146 | # host_name n-b |
---|
147 | # alias not-backward |
---|
148 | # address 18.181.0.55 |
---|
149 | ## contact_groups scripts,pagers |
---|
150 | #} |
---|
151 | |
---|
152 | #define hostextinfo { |
---|
153 | # host_name n-b |
---|
154 | # notes LVS Server |
---|
155 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_5.html |
---|
156 | #} |
---|
157 | |
---|
158 | define host { |
---|
159 | use scripts-sipb-host |
---|
160 | host_name r-f |
---|
161 | alias rack-forward |
---|
162 | address 18.181.0.117 |
---|
163 | # contact_groups scripts,pagers |
---|
164 | } |
---|
165 | |
---|
166 | define host { |
---|
167 | use scripts-sipb-host |
---|
168 | host_name r-b |
---|
169 | alias rack-backward |
---|
170 | address 18.181.0.118 |
---|
171 | # contact_groups scripts,pagers |
---|
172 | } |
---|
173 | |
---|
174 | # Test |
---|
175 | |
---|
176 | define host { |
---|
177 | use scripts-sipb-host |
---|
178 | host_name asdfasdfasdf |
---|
179 | alias nagios-test |
---|
180 | address 18.187.1.70 |
---|
181 | register 0 |
---|
182 | } |
---|
183 | |
---|