| 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 |         notes           SQL | 
|---|
| 51 |         notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/kitchen-sink.html | 
|---|
| 52 | } | 
|---|
| 53 |  | 
|---|
| 54 | define host { | 
|---|
| 55 |         use     sql-sipb-host | 
|---|
| 56 |         host_name       s-b | 
|---|
| 57 |         alias           sliced-bread | 
|---|
| 58 |         address         18.181.0.47 | 
|---|
| 59 |         notes           SQL | 
|---|
| 60 |         notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/sliced-bread.html | 
|---|
| 61 | } | 
|---|
| 62 |  | 
|---|
| 63 | # Scripts | 
|---|
| 64 |  | 
|---|
| 65 | define host { | 
|---|
| 66 |         use     scripts-sipb-host | 
|---|
| 67 |         host_name       o-f | 
|---|
| 68 |         alias           old-faithful | 
|---|
| 69 |         address         18.181.0.53 | 
|---|
| 70 | #       contact_groups  scripts,pagers | 
|---|
| 71 |         notes           Scripts | 
|---|
| 72 |         notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/old-faithful.html | 
|---|
| 73 | } | 
|---|
| 74 |  | 
|---|
| 75 | define host { | 
|---|
| 76 |         use     scripts-sipb-host | 
|---|
| 77 |         host_name       scripts | 
|---|
| 78 |         alias           scripts | 
|---|
| 79 |         address         18.181.0.46 | 
|---|
| 80 |         contact_groups  scripts,pagers | 
|---|
| 81 | } | 
|---|
| 82 |  | 
|---|
| 83 | define host { | 
|---|
| 84 |         use     scripts-sipb-host | 
|---|
| 85 |         host_name       scripts-cert | 
|---|
| 86 |         alias           scripts-cert | 
|---|
| 87 |         parents         scripts | 
|---|
| 88 |         address         18.181.0.50 | 
|---|
| 89 |         contact_groups  scripts,pagers | 
|---|
| 90 | } | 
|---|
| 91 |  | 
|---|
| 92 | define host { | 
|---|
| 93 |         use     scripts-sipb-host | 
|---|
| 94 |         host_name       wildcard.scripts | 
|---|
| 95 |         alias           wildcard.scripts | 
|---|
| 96 |         parents         scripts | 
|---|
| 97 |         address         wildcard.scripts.mit.edu | 
|---|
| 98 |         contact_groups  scripts,pagers | 
|---|
| 99 | } | 
|---|
| 100 |  | 
|---|
| 101 | define host { | 
|---|
| 102 |         use     scripts-sipb-host | 
|---|
| 103 |         host_name       b-m | 
|---|
| 104 |         alias           better-mousetrap | 
|---|
| 105 |         address         18.181.0.57 | 
|---|
| 106 | #       contact_groups  scripts,pagers | 
|---|
| 107 |         notes           Scripts | 
|---|
| 108 |         notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/better-mousetrap.html | 
|---|
| 109 | } | 
|---|
| 110 |  | 
|---|
| 111 | define host { | 
|---|
| 112 |         use     scripts-sipb-host | 
|---|
| 113 |         host_name       b-k | 
|---|
| 114 |         alias           bees-knees | 
|---|
| 115 |         address         18.181.0.167 | 
|---|
| 116 | } | 
|---|
| 117 |  | 
|---|
| 118 | define host { | 
|---|
| 119 |         use     scripts-sipb-host | 
|---|
| 120 |         host_name       c-w | 
|---|
| 121 |         alias           cats-whiskers | 
|---|
| 122 |         address         18.181.0.228 | 
|---|
| 123 | } | 
|---|
| 124 |  | 
|---|
| 125 | define host { | 
|---|
| 126 |         use     scripts-sipb-host | 
|---|
| 127 |         host_name       p-b | 
|---|
| 128 |         alias           pancake-bunny | 
|---|
| 129 |         address         18.181.0.237 | 
|---|
| 130 | } | 
|---|
| 131 |  | 
|---|
| 132 | define host { | 
|---|
| 133 |         use     scripts-sipb-host | 
|---|
| 134 |         host_name       b-b | 
|---|
| 135 |         alias           busy-beaver | 
|---|
| 136 |         address         18.181.0.234 | 
|---|
| 137 | } | 
|---|
| 138 |  | 
|---|
| 139 | define host { | 
|---|
| 140 |         use     scripts-sipb-host | 
|---|
| 141 |         host_name       r-m | 
|---|
| 142 |         alias           real-mccoy | 
|---|
| 143 |         address         18.181.0.235 | 
|---|
| 144 | } | 
|---|
| 145 |  | 
|---|
| 146 | # LVS | 
|---|
| 147 |  | 
|---|
| 148 | #define host { | 
|---|
| 149 | #       use     scripts-sipb-host | 
|---|
| 150 | #       host_name       n-f | 
|---|
| 151 | #       alias           not-forward | 
|---|
| 152 | #       address         18.181.0.54 | 
|---|
| 153 | ##      contact_groups  scripts,pagers | 
|---|
| 154 | #} | 
|---|
| 155 |  | 
|---|
| 156 | #define hostextinfo { | 
|---|
| 157 | #       host_name       n-f | 
|---|
| 158 | #       notes           LVS Server | 
|---|
| 159 | #       notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_9.html | 
|---|
| 160 | #} | 
|---|
| 161 |  | 
|---|
| 162 | #define host { | 
|---|
| 163 | #       use     scripts-sipb-host | 
|---|
| 164 | #       host_name       n-b | 
|---|
| 165 | #       alias           not-backward | 
|---|
| 166 | #       address         18.181.0.55 | 
|---|
| 167 | ##      contact_groups  scripts,pagers | 
|---|
| 168 | #} | 
|---|
| 169 |  | 
|---|
| 170 | #define hostextinfo { | 
|---|
| 171 | #       host_name       n-b | 
|---|
| 172 | #       notes           LVS Server | 
|---|
| 173 | #       notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_5.html | 
|---|
| 174 | #} | 
|---|
| 175 |  | 
|---|
| 176 | define host { | 
|---|
| 177 |         use     scripts-sipb-host | 
|---|
| 178 |         host_name       r-f | 
|---|
| 179 |         alias           rack-forward | 
|---|
| 180 |         address         18.181.0.117 | 
|---|
| 181 | #       contact_groups  scripts,pagers | 
|---|
| 182 | } | 
|---|
| 183 |  | 
|---|
| 184 | define host { | 
|---|
| 185 |         use     scripts-sipb-host | 
|---|
| 186 |         host_name       r-b | 
|---|
| 187 |         alias           rack-backward | 
|---|
| 188 |         address         18.181.0.118 | 
|---|
| 189 | #       contact_groups  scripts,pagers | 
|---|
| 190 | } | 
|---|
| 191 |  | 
|---|
| 192 | # Test | 
|---|
| 193 |  | 
|---|
| 194 | define host { | 
|---|
| 195 |         use     scripts-sipb-host | 
|---|
| 196 |         host_name       asdfasdfasdf | 
|---|
| 197 |         alias           nagios-test | 
|---|
| 198 |         address         18.187.1.70 | 
|---|
| 199 |         register        0 | 
|---|
| 200 | } | 
|---|
| 201 |  | 
|---|