problem to convert mib with snmpttconvertmib
Posted: Fri Mar 21, 2014 10:06 am
Hello. I have Nagios core 3.5.1 on CentOS 6.5. I installed snmptt to receive snmp trap. Now I need convert MIB database with command snmpttconvertmib. But i have a question. The MIB of APC Smart UPS has 700 traps with different levels of importance (severity).
Now look:
If I use snmpttconvertmib as shown above, all snmp trap in MIB will receive level 1 ("warning"). How can I convert the MIB base to different levels of importance (severity) for different traps.
P.S. Sorry for dirty English. I'm from Russia:)
Now look:
Code: Select all
snmpttconvertmib --in=/etc/snmp/mibs/APC-MIB.mib --out=/etc/snmp/conf/APC-MIB.conf --exec='/usr/local/nagios/libexec/eventhandlers/submit_check_result $r TRAP 1'
P.S. Sorry for dirty English. I'm from Russia:)