Last change
on this file since 345 was
321,
checked in by quentin, 17 years ago
|
Add a check command for hosts so that their status is properly logged in
nagios.
|
File size:
1.1 KB
|
Line | |
---|
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 | use scripts-host |
---|
17 | host_name k-s |
---|
18 | alias kitchen-sink |
---|
19 | address 18.181.0.56 |
---|
20 | } |
---|
21 | |
---|
22 | define host { |
---|
23 | use scripts-host |
---|
24 | host_name o-f |
---|
25 | alias old-faithful |
---|
26 | address 18.181.0.53 |
---|
27 | } |
---|
28 | |
---|
29 | define host { |
---|
30 | use scripts-host |
---|
31 | host_name scripts |
---|
32 | alias scripts |
---|
33 | address 18.181.0.46 |
---|
34 | } |
---|
35 | |
---|
36 | define host { |
---|
37 | use scripts-host |
---|
38 | host_name sql |
---|
39 | alias sql |
---|
40 | address 18.181.0.52 |
---|
41 | } |
---|
42 | |
---|
43 | define host { |
---|
44 | use scripts-host |
---|
45 | host_name scripts-cert |
---|
46 | alias scripts-cert |
---|
47 | address 18.181.0.50 |
---|
48 | } |
---|
49 | |
---|
50 | define host { |
---|
51 | use scripts-host |
---|
52 | host_name s-b |
---|
53 | alias sliced-bread |
---|
54 | address 18.181.0.47 |
---|
55 | } |
---|
56 | |
---|
57 | define host { |
---|
58 | use scripts-host |
---|
59 | host_name b-m |
---|
60 | alias better-mousetrap |
---|
61 | address 18.181.0.57 |
---|
62 | } |
---|
63 | |
---|
64 | define host { |
---|
65 | use scripts-host |
---|
66 | host_name n-f |
---|
67 | alias not-forward |
---|
68 | address 18.181.0.54 |
---|
69 | } |
---|
70 | |
---|
71 | define host { |
---|
72 | use scripts-host |
---|
73 | host_name n-b |
---|
74 | alias not-backward |
---|
75 | address 18.181.0.55 |
---|
76 | } |
---|
77 | |
---|
Note: See
TracBrowser
for help on using the repository browser.