Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First you will want to make sure your servers NET-SNMP install is setup appropriately. Refer to these install instructions:

SNMPD, Net-SNMP and collecting stats of the NMIS server itself

Next you will need to copy the options file to the right location and restart the daemon.

...

Code Block
CISCO-CONFIG-MAN-MIB::ccmHistoryEventConfigDestination.34

NMIS9 Setup

...

NMIS 9 has included some Cisco and Generic MIBS and added the ability to view the SNMP traps in the NMIS logging tool.

First you will want to make sure your servers NET-SNMP install is setup appropriately. Refer to these install instructions:

SNMPD, Net-SNMP and collecting stats of the NMIS server itself

CentOS/RHEL 7.x

Next you will need to copy the options file to the right location and restart the daemon.

Code Block
sudo cp /usr/local/nmis9/conf-default/snmpd/snmptrapd.options /etc/sysconfig/snmptrapd
sudo cp /usr/local/nmis9/conf-default/snmpd/snmptrapd.conf /etc/snmp/snmptrapd.conf
sudo service snmptrapd restart

Verify Operation

You can test the MIB resolution with this command

...

Code Block
CISCO-CONFIG-MAN-MIB::ccmHistoryEventConfigDestination.34

Send a Test Trap

To verify operation you can send a test trap either locally or from another Linux server, this example sends an Opmantek event trap.

Code Block
 sudo snmptrap -v 2c  -c public 127.0.0.1 80000 1.3.6.1.4.1.4818 1.3.6.1.4.1.4818.1 s Event

The trap will appear in either /usr/local/nmis8/logs/trap.log orĀ /usr/local/nmis9/logs/trap.log

Add New SNMP MIBS for Trap Processing

...