...
Once the slaves have been setup, you can can configure the master with each of its slaves. This is done by editing the file /usr/local/nmis8/conf/Servers.nmis, and adding a section for each server.
A default entry looks like this:
Code Block |
---|
'nmis2' => {
'community' => 'secret',
'secure' => 'false',
'name' => 'NMIS2',
'config' => 'Config.nmis',
'port' => '80',
'host' => '10.3.2.1'
} |
Edit the entry to look like this, in this example the hostname of the slave is "vali":
Code Block | ||
---|---|---|
| ||
'vali' => {
'community' => 'YOURNAMEHERE',
'secure' => 'false',
'name' => 'vali',
'config' => 'Config.nmis',
'port' => '80',
'host' => 'vali'
}, |
Multiple entries would look like this, note the comma between entries.
Code Block | ||
---|---|---|
| ||
'nmis2' => {
'community' => 'secret',
'secure' => 'false',
'name' => 'NMIS2',
'config' => 'Config.nmis',
'port' => '80',
'host' => '10.3.2.1'
},
'nmis3' => {
'community' => 'secret',
'secure' => 'false',
'name' => 'NMIS3',
'config' => 'Config.nmis',
'port' => '80',
'host' => '10.4.5.6'
}
|
Access opMaps Web Page
The default URL to access opMaps is http://nmis.domain.com/cgi-omk/opMaps
...