[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 { |
---|
[735] | 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 |
---|
[428] | 39 | host_name sql |
---|
| 40 | alias sql |
---|
| 41 | address 18.181.0.52 |
---|
[735] | 42 | contact_groups sql,scripts,pagers |
---|
[428] | 43 | } |
---|
| 44 | |
---|
| 45 | define host { |
---|
[735] | 46 | use sql-sipb-host |
---|
[48] | 47 | host_name k-s |
---|
| 48 | alias kitchen-sink |
---|
| 49 | address 18.181.0.56 |
---|
| 50 | } |
---|
| 51 | |
---|
[428] | 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 | |
---|
[48] | 58 | define host { |
---|
[735] | 59 | use sql-sipb-host |
---|
[428] | 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 { |
---|
[704] | 74 | use scripts-sipb-host |
---|
[48] | 75 | host_name o-f |
---|
| 76 | alias old-faithful |
---|
| 77 | address 18.181.0.53 |
---|
[428] | 78 | # contact_groups scripts,pagers |
---|
[48] | 79 | } |
---|
| 80 | |
---|
[428] | 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 | |
---|
[48] | 88 | define host { |
---|
[704] | 89 | use scripts-sipb-host |
---|
[48] | 90 | host_name scripts |
---|
| 91 | alias scripts |
---|
| 92 | address 18.181.0.46 |
---|
[428] | 93 | contact_groups scripts,pagers |
---|
[48] | 94 | } |
---|
| 95 | |
---|
| 96 | define host { |
---|
[704] | 97 | use scripts-sipb-host |
---|
[48] | 98 | host_name scripts-cert |
---|
| 99 | alias scripts-cert |
---|
[428] | 100 | parents scripts |
---|
[48] | 101 | address 18.181.0.50 |
---|
[428] | 102 | contact_groups scripts,pagers |
---|
[48] | 103 | } |
---|
| 104 | |
---|
| 105 | define host { |
---|
[704] | 106 | use scripts-sipb-host |
---|
[670] | 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 { |
---|
[704] | 115 | use scripts-sipb-host |
---|
[48] | 116 | host_name b-m |
---|
| 117 | alias better-mousetrap |
---|
| 118 | address 18.181.0.57 |
---|
[428] | 119 | # contact_groups scripts,pagers |
---|
[48] | 120 | } |
---|
| 121 | |
---|
[428] | 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 | |
---|
[897] | 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 | |
---|
[428] | 135 | # LVS |
---|
| 136 | |
---|
[670] | 137 | #define host { |
---|
[704] | 138 | # use scripts-sipb-host |
---|
[670] | 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 { |
---|
[704] | 152 | # use scripts-sipb-host |
---|
[670] | 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 | |
---|
[48] | 165 | define host { |
---|
[704] | 166 | use scripts-sipb-host |
---|
[670] | 167 | host_name r-f |
---|
| 168 | alias rack-forward |
---|
| 169 | address 18.181.0.117 |
---|
[428] | 170 | # contact_groups scripts,pagers |
---|
[48] | 171 | } |
---|
| 172 | |
---|
| 173 | define host { |
---|
[704] | 174 | use scripts-sipb-host |
---|
[670] | 175 | host_name r-b |
---|
| 176 | alias rack-backward |
---|
| 177 | address 18.181.0.118 |
---|
[428] | 178 | # contact_groups scripts,pagers |
---|
[48] | 179 | } |
---|
| 180 | |
---|
[428] | 181 | # Test |
---|
| 182 | |
---|
| 183 | define host { |
---|
[704] | 184 | use scripts-sipb-host |
---|
[428] | 185 | host_name asdfasdfasdf |
---|
| 186 | alias nagios-test |
---|
| 187 | address 18.187.1.70 |
---|
| 188 | register 0 |
---|
| 189 | } |
---|
| 190 | |
---|