source: noc/nagios/hosts.cfg @ 1065

Last change on this file since 1065 was 1065, checked in by quentin, 15 years ago
Update Nagios links to mrtg
File size: 3.0 KB
RevLine 
[48]1
2define 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]15define host {
16        name    scripts-sipb-host
17        use     scripts-host
18        register        0
19        parents         sipb-ether
20}
21
22define host {
23       use  scripts-host
24       host_name        sipb-ether
25       address          18.181.0.1
26}
27
[428]28# SQL
29
[48]30define host {
[735]31        name sql-sipb-host
32        use scripts-sipb-host
33        register 0
34        contact_groups sql,scripts
35}
36
37define 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
45define host {
[735]46        use     sql-sipb-host
[48]47        host_name       k-s
48        alias           kitchen-sink
49        address         18.181.0.56
[428]50        notes           SQL
[1065]51        notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/kitchen-sink.html
[428]52}
53
[48]54define host {
[735]55        use     sql-sipb-host
[428]56        host_name       s-b
57        alias           sliced-bread
58        address         18.181.0.47
59        notes           SQL
[1065]60        notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/sliced-bread.html
[428]61}
62
63# Scripts
64
65define host {
[704]66        use     scripts-sipb-host
[48]67        host_name       o-f
68        alias           old-faithful
69        address         18.181.0.53
[428]70#       contact_groups  scripts,pagers
71        notes           Scripts
[1065]72        notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/old-faithful.html
[428]73}
74
[48]75define host {
[704]76        use     scripts-sipb-host
[48]77        host_name       scripts
78        alias           scripts
79        address         18.181.0.46
[428]80        contact_groups  scripts,pagers
[48]81}
82
83define host {
[704]84        use     scripts-sipb-host
[48]85        host_name       scripts-cert
86        alias           scripts-cert
[428]87        parents         scripts
[48]88        address         18.181.0.50
[428]89        contact_groups  scripts,pagers
[48]90}
91
92define host {
[704]93        use     scripts-sipb-host
[670]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
101define host {
[704]102        use     scripts-sipb-host
[48]103        host_name       b-m
104        alias           better-mousetrap
105        address         18.181.0.57
[428]106#       contact_groups  scripts,pagers
107        notes           Scripts
[1065]108        notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/better-mousetrap.html
[428]109}
110
[897]111define host {
112        use     scripts-sipb-host
113        host_name       b-k
114        alias           bees-knees
115        address         18.181.0.167
116}
117
[428]118# LVS
119
[670]120#define host {
[704]121#       use     scripts-sipb-host
[670]122#       host_name       n-f
123#       alias           not-forward
124#       address         18.181.0.54
125##      contact_groups  scripts,pagers
126#}
127
128#define hostextinfo {
129#       host_name       n-f
130#       notes           LVS Server
131#       notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_9.html
132#}
133
134#define host {
[704]135#       use     scripts-sipb-host
[670]136#       host_name       n-b
137#       alias           not-backward
138#       address         18.181.0.55
139##      contact_groups  scripts,pagers
140#}
141
142#define hostextinfo {
143#       host_name       n-b
144#       notes           LVS Server
145#       notes_url       http://stuff.mit.edu/afs/sipb/project/mrtg/data/18.181.0.3_5.html
146#}
147
[48]148define host {
[704]149        use     scripts-sipb-host
[670]150        host_name       r-f
151        alias           rack-forward
152        address         18.181.0.117
[428]153#       contact_groups  scripts,pagers
[48]154}
155
156define host {
[704]157        use     scripts-sipb-host
[670]158        host_name       r-b
159        alias           rack-backward
160        address         18.181.0.118
[428]161#       contact_groups  scripts,pagers
[48]162}
163
[428]164# Test
165
166define host {
[704]167        use     scripts-sipb-host
[428]168        host_name       asdfasdfasdf
169        alias           nagios-test
170        address         18.187.1.70
171        register        0
172}
173
Note: See TracBrowser for help on using the repository browser.