| 
                Last change
                  on this file since 716 was
                  704,
                  checked in by quentin, 18 years ago
           | 
        
        
          | 
            Add sipb-ether and put the hosts behind it
           | 
        
        | 
            File size:
            3.0 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 |         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 |         use     scripts-sipb-host | 
|---|
| 32 |         host_name       sql | 
|---|
| 33 |         alias           sql | 
|---|
| 34 |         address         18.181.0.52 | 
|---|
| 35 |         contact_groups  scripts,pagers | 
|---|
| 36 | } | 
|---|
| 37 |  | 
|---|
| 38 | define host { | 
|---|
| 39 |         use     scripts-sipb-host | 
|---|
| 40 |         host_name       k-s | 
|---|
| 41 |         alias           kitchen-sink | 
|---|
| 42 |         address         18.181.0.56 | 
|---|
| 43 | } | 
|---|
| 44 |  | 
|---|
| 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 |  | 
|---|
| 51 | define host { | 
|---|
| 52 |         use     scripts-sipb-host | 
|---|
| 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 { | 
|---|
| 67 |         use     scripts-sipb-host | 
|---|
| 68 |         host_name       o-f | 
|---|
| 69 |         alias           old-faithful | 
|---|
| 70 |         address         18.181.0.53 | 
|---|
| 71 | #       contact_groups  scripts,pagers | 
|---|
| 72 | } | 
|---|
| 73 |  | 
|---|
| 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 |  | 
|---|
| 81 | define host { | 
|---|
| 82 |         use     scripts-sipb-host | 
|---|
| 83 |         host_name       scripts | 
|---|
| 84 |         alias           scripts | 
|---|
| 85 |         address         18.181.0.46 | 
|---|
| 86 |         contact_groups  scripts,pagers | 
|---|
| 87 | } | 
|---|
| 88 |  | 
|---|
| 89 | define host { | 
|---|
| 90 |         use     scripts-sipb-host | 
|---|
| 91 |         host_name       scripts-cert | 
|---|
| 92 |         alias           scripts-cert | 
|---|
| 93 |         parents         scripts | 
|---|
| 94 |         address         18.181.0.50 | 
|---|
| 95 |         contact_groups  scripts,pagers | 
|---|
| 96 | } | 
|---|
| 97 |  | 
|---|
| 98 | define host { | 
|---|
| 99 |         use     scripts-sipb-host | 
|---|
| 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 { | 
|---|
| 108 |         use     scripts-sipb-host | 
|---|
| 109 |         host_name       b-m | 
|---|
| 110 |         alias           better-mousetrap | 
|---|
| 111 |         address         18.181.0.57 | 
|---|
| 112 | #       contact_groups  scripts,pagers | 
|---|
| 113 | } | 
|---|
| 114 |  | 
|---|
| 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 |  | 
|---|
| 123 | #define host { | 
|---|
| 124 | #       use     scripts-sipb-host | 
|---|
| 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 { | 
|---|
| 138 | #       use     scripts-sipb-host | 
|---|
| 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 |  | 
|---|
| 151 | define host { | 
|---|
| 152 |         use     scripts-sipb-host | 
|---|
| 153 |         host_name       r-f | 
|---|
| 154 |         alias           rack-forward | 
|---|
| 155 |         address         18.181.0.117 | 
|---|
| 156 | #       contact_groups  scripts,pagers | 
|---|
| 157 | } | 
|---|
| 158 |  | 
|---|
| 159 | define host { | 
|---|
| 160 |         use     scripts-sipb-host | 
|---|
| 161 |         host_name       r-b | 
|---|
| 162 |         alias           rack-backward | 
|---|
| 163 |         address         18.181.0.118 | 
|---|
| 164 | #       contact_groups  scripts,pagers | 
|---|
| 165 | } | 
|---|
| 166 |  | 
|---|
| 167 | # Test | 
|---|
| 168 |  | 
|---|
| 169 | define host { | 
|---|
| 170 |         use     scripts-sipb-host | 
|---|
| 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.