|
Last change
on this file since 710 was
704,
checked in by quentin, 18 years ago
|
|
Add sipb-ether and put the hosts behind it
|
|
File size:
3.0 KB
|
| Rev | Line | |
|---|
| [48] | 1 | |
|---|
| 2 | define host { |
|---|
| 3 | name scripts-host |
|---|
| 4 | use generic-host |
|---|
| 5 | register 0 |
|---|
| 6 | max_check_attempts 10 |
|---|
| 7 | check_period 24x7 |
|---|
| [321] | 8 | check_command check-host-alive |
|---|
| [48] | 9 | notification_interval 240 |
|---|
| 10 | notification_period 24x7 |
|---|
| 11 | notification_options d,r |
|---|
| 12 | contact_groups scripts |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| [704] | 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 | |
|---|
| [428] | 28 | # SQL |
|---|
| 29 | |
|---|
| [48] | 30 | define host { |
|---|
| [704] | 31 | use scripts-sipb-host |
|---|
| [428] | 32 | host_name sql |
|---|
| 33 | alias sql |
|---|
| 34 | address 18.181.0.52 |
|---|
| 35 | contact_groups scripts,pagers |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | define host { |
|---|
| [704] | 39 | use scripts-sipb-host |
|---|
| [48] | 40 | host_name k-s |
|---|
| 41 | alias kitchen-sink |
|---|
| 42 | address 18.181.0.56 |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| [428] | 45 | define hostextinfo { |
|---|
| 46 | host_name k-s |
|---|
| 47 | notes SQL |
|---|
| 48 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_19.html |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| [48] | 51 | define host { |
|---|
| [704] | 52 | use scripts-sipb-host |
|---|
| [428] | 53 | host_name s-b |
|---|
| 54 | alias sliced-bread |
|---|
| 55 | address 18.181.0.47 |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | define hostextinfo { |
|---|
| 59 | host_name s-b |
|---|
| 60 | notes SQL |
|---|
| 61 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_17.html |
|---|
| 62 | } |
|---|
| 63 | |
|---|
| 64 | # Scripts |
|---|
| 65 | |
|---|
| 66 | define host { |
|---|
| [704] | 67 | use scripts-sipb-host |
|---|
| [48] | 68 | host_name o-f |
|---|
| 69 | alias old-faithful |
|---|
| 70 | address 18.181.0.53 |
|---|
| [428] | 71 | # contact_groups scripts,pagers |
|---|
| [48] | 72 | } |
|---|
| 73 | |
|---|
| [428] | 74 | define hostextinfo { |
|---|
| 75 | host_name o-f |
|---|
| 76 | notes Scripts |
|---|
| 77 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_15.html |
|---|
| 78 | } |
|---|
| 79 | |
|---|
| 80 | |
|---|
| [48] | 81 | define host { |
|---|
| [704] | 82 | use scripts-sipb-host |
|---|
| [48] | 83 | host_name scripts |
|---|
| 84 | alias scripts |
|---|
| 85 | address 18.181.0.46 |
|---|
| [428] | 86 | contact_groups scripts,pagers |
|---|
| [48] | 87 | } |
|---|
| 88 | |
|---|
| 89 | define host { |
|---|
| [704] | 90 | use scripts-sipb-host |
|---|
| [48] | 91 | host_name scripts-cert |
|---|
| 92 | alias scripts-cert |
|---|
| [428] | 93 | parents scripts |
|---|
| [48] | 94 | address 18.181.0.50 |
|---|
| [428] | 95 | contact_groups scripts,pagers |
|---|
| [48] | 96 | } |
|---|
| 97 | |
|---|
| 98 | define host { |
|---|
| [704] | 99 | use scripts-sipb-host |
|---|
| [670] | 100 | host_name wildcard.scripts |
|---|
| 101 | alias wildcard.scripts |
|---|
| 102 | parents scripts |
|---|
| 103 | address wildcard.scripts.mit.edu |
|---|
| 104 | contact_groups scripts,pagers |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | define host { |
|---|
| [704] | 108 | use scripts-sipb-host |
|---|
| [48] | 109 | host_name b-m |
|---|
| 110 | alias better-mousetrap |
|---|
| 111 | address 18.181.0.57 |
|---|
| [428] | 112 | # contact_groups scripts,pagers |
|---|
| [48] | 113 | } |
|---|
| 114 | |
|---|
| [428] | 115 | define hostextinfo { |
|---|
| 116 | host_name b-m |
|---|
| 117 | notes Scripts |
|---|
| 118 | notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_22.html |
|---|
| 119 | } |
|---|
| 120 | |
|---|
| 121 | # LVS |
|---|
| 122 | |
|---|
| [670] | 123 | #define host { |
|---|
| [704] | 124 | # use scripts-sipb-host |
|---|
| [670] | 125 | # host_name n-f |
|---|
| 126 | # alias not-forward |
|---|
| 127 | # address 18.181.0.54 |
|---|
| 128 | ## contact_groups scripts,pagers |
|---|
| 129 | #} |
|---|
| 130 | |
|---|
| 131 | #define hostextinfo { |
|---|
| 132 | # host_name n-f |
|---|
| 133 | # notes LVS Server |
|---|
| 134 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_9.html |
|---|
| 135 | #} |
|---|
| 136 | |
|---|
| 137 | #define host { |
|---|
| [704] | 138 | # use scripts-sipb-host |
|---|
| [670] | 139 | # host_name n-b |
|---|
| 140 | # alias not-backward |
|---|
| 141 | # address 18.181.0.55 |
|---|
| 142 | ## contact_groups scripts,pagers |
|---|
| 143 | #} |
|---|
| 144 | |
|---|
| 145 | #define hostextinfo { |
|---|
| 146 | # host_name n-b |
|---|
| 147 | # notes LVS Server |
|---|
| 148 | # notes_url http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_5.html |
|---|
| 149 | #} |
|---|
| 150 | |
|---|
| [48] | 151 | define host { |
|---|
| [704] | 152 | use scripts-sipb-host |
|---|
| [670] | 153 | host_name r-f |
|---|
| 154 | alias rack-forward |
|---|
| 155 | address 18.181.0.117 |
|---|
| [428] | 156 | # contact_groups scripts,pagers |
|---|
| [48] | 157 | } |
|---|
| 158 | |
|---|
| 159 | define host { |
|---|
| [704] | 160 | use scripts-sipb-host |
|---|
| [670] | 161 | host_name r-b |
|---|
| 162 | alias rack-backward |
|---|
| 163 | address 18.181.0.118 |
|---|
| [428] | 164 | # contact_groups scripts,pagers |
|---|
| [48] | 165 | } |
|---|
| 166 | |
|---|
| [428] | 167 | # Test |
|---|
| 168 | |
|---|
| 169 | define host { |
|---|
| [704] | 170 | use scripts-sipb-host |
|---|
| [428] | 171 | host_name asdfasdfasdf |
|---|
| 172 | alias nagios-test |
|---|
| 173 | address 18.187.1.70 |
|---|
| 174 | register 0 |
|---|
| 175 | } |
|---|
| 176 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.