Verifying SNMP Event Adapter installation
Perform the following steps to verify the SNMP event adapter installation.
To verify the SNMP event adapter installation
- Verify that the files created by the SNMP Adapter Configuration Manager or the MIB2MAPcommand line interface are in the following locations:
- installationDirectory/pw/server\etc\mcsnmptrapd.dat
- installationDirectory/pw/server\etc\mcsnmptrapd.map
- installationDirectory/pw/server\etc\<cellname>\kb\classes\mcsnmptrapdmibe.baroc
- installationDirectory/pw/server\etc\<cellname>\kb\classes\ mcsnmptrapdmib.baroc
- Verify that the installationDirectory/pw/server\etc\<cell>\kb\classes\.load file has the SNMP BAROC files listed in the correct order to load mcsnmptrapdmibe before mcsnmptrapdmib.
- mcsnmptrapdmibe
- mcsnmptrapdmib
- Verify the cell KB has been recompiled and the cell restarted after the SNMP files were created and moved to the correct locations.
Verify that the SNMP adapters are not disabled in the mcxa.conf file.
For example, to enable the adapter, remove DISABLE from the disabled adapter (see the code below) and restart the SNMP Event Adapter.Snmp DISABLE
Engine = MA::ESnmpTrap
ServerName = pncell_8PFNZK1- Check whether installationDirectory/pw/server\etc\mcell.dir has an entry for all the cells referred to in the mcxa.conf file.
- For the SNMPv3 trap adapter, ensure snmptrapd.conf has been configured to include the users sending the SNMPv3 traps.
In the MCELL_HOME\etc\snmptrapd.conf file, create the following line:
createUser -e ENGINEID myuser authenticationType "my authentication pass" encryptionType "my encryption pass"where:
ENGINEID is the EngineID of the application that will send the trap.
myuser is the USM username that will send the trap.
authenticationType is the authentication type (SHA or MD5; SHA is preferred)
"my authentication pass" is the authentication pass-phrase to use to generate the secret authentication key. Enclose it in quotation marks if it contains spaces.
encryptionType is the encryption type to use (AES or DES, AES is preferred)
"my encryption pass" is the encryption pass-phrase to use to generate the secret encryption key. Enclose it in quotation marks if it contains spaces. If you do not specify an encryption pass-phrase, the encryption pass-phrase will be set to the same pass-phrase as the authentication pass-phrase.
To grant authorization to the user, create the following line:
authUser log,net myuser
- Save the snmptrapd.conf file.