| [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 |  | 
|---|
 | 128 | # LVS | 
|---|
 | 129 |  | 
|---|
| [670] | 130 | #define host { | 
|---|
| [704] | 131 | #       use     scripts-sipb-host | 
|---|
| [670] | 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 { | 
|---|
| [704] | 145 | #       use     scripts-sipb-host | 
|---|
| [670] | 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 |  | 
|---|
| [48] | 158 | define host { | 
|---|
| [704] | 159 |         use     scripts-sipb-host | 
|---|
| [670] | 160 |         host_name       r-f | 
|---|
 | 161 |         alias           rack-forward | 
|---|
 | 162 |         address         18.181.0.117 | 
|---|
| [428] | 163 | #       contact_groups  scripts,pagers | 
|---|
| [48] | 164 | } | 
|---|
 | 165 |  | 
|---|
 | 166 | define host { | 
|---|
| [704] | 167 |         use     scripts-sipb-host | 
|---|
| [670] | 168 |         host_name       r-b | 
|---|
 | 169 |         alias           rack-backward | 
|---|
 | 170 |         address         18.181.0.118 | 
|---|
| [428] | 171 | #       contact_groups  scripts,pagers | 
|---|
| [48] | 172 | } | 
|---|
 | 173 |  | 
|---|
| [428] | 174 | # Test | 
|---|
 | 175 |  | 
|---|
 | 176 | define host { | 
|---|
| [704] | 177 |         use     scripts-sipb-host | 
|---|
| [428] | 178 |         host_name       asdfasdfasdf | 
|---|
 | 179 |         alias           nagios-test | 
|---|
 | 180 |         address         18.187.1.70 | 
|---|
 | 181 |         register        0 | 
|---|
 | 182 | } | 
|---|
 | 183 |  | 
|---|