Configuring the SNMP version for sending SNMP traps
The default SNMP version through which SNMP traps are sent in OpsCenter is SNMPv2c. However, this SNMP version can be changed by modifying a configuration file.
The following procedure explains how to configure the default SNMP version on Windows and UNIX.
To configure the SNMP version for sending SNMP traps on Windows
- On the OpsCenter server host, stop all the OpsCenter services.
INSTALL_PATH\server\bin\opsadmin.bat stop
- Navigate to
INSTALL_PATH\OpsCenter\server\config directoryand open thenm.conffile.The file shows the following entry:
nm.trapVersion=v2c
Modify the value of nm.trapVersion from v2c to v1 (for SNMPv1) or v3 (for SNMPv3).
- Save the
nm.conffile after making the changes. - Restart all OpsCenter services:
INSTALL_PATH\OpsCenter\server\bin\opsadmin.bat start
To configure the SNMP version for sending SNMP traps on UNIX
- On the OpsCenter server host, stop all the OpsCenter services:
<INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh stop
- Navigate to the OpsCenter configuration directory:
cd <INSTALL_PATH>/SYMCOpsCenterServer/config
- Open the
nm.conffile. The file shows the following entry:nm.trapVersion="v2c"
Modify the value of nm.trapVersion from v2c to v1 (for SNMPv1) or v3 (for SNMPv3).
- Save the
nm.conffile after making the changes. - Restart all OpsCenter services:
<INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh start