...
Change Config.nmis to tell NMIS to use htpasswd
Code Block %hash = ( --SNIP-- 'authentication' => { --SNIP-- 'auth_method_1' => 'htpasswd', # <= change this FROM apache TO htpasswd
Backup old apache configGenerate new apache configuration (if you have customised yours edit it and remove the auth portions instead of generating a new one)
Code Block #backup old config cd /etc/httpd/conf.d/ cp 00nmis.conf 00nmis.conf.pre-8.3.24G.bak
Create new config to replace old config and restart apache
Code Block /usr/local/nmis8/bin/nmis.pl type=apache > /etc/httpd/conf.d/00nmis.conf service httpd restart
Setup SNMP Trap Daemon
NMIS 8.4.1 has included some Cisco and Generic MIBS and added the ability to view the SNMP traps in the NMIS logging tool.
You will need to copy the options file to the right location and restart the daemon.
Code Block |
---|
cp /usr/local/nmis8/install/snmptrapd.options /etc/sysconfig/snmptrapd
service snmptrapd restart |
You can test the MIB resolution with this command
Code Block |
---|
snmptranslate -m ALL -M /usr/local/nmis8/mibs/traps 1.3.6.1.4.1.9.9.43.1.1.6.1.5.34 |
Which should result in:
Code Block |
---|
CISCO-CONFIG-MAN-MIB::ccmHistoryEventConfigDestination.34 |
Fix Data Type for Some Counters
...