Technical data

Configuring SNMP
13.6 Solving SNMP Problems
13.6.5.2.2 Verifying Community Information To display the community strings
for the OpenVMS host, enter the following command:
TCPIP> SHOW CONFIGURATION SNMP /FULL
Also, check the community configuration in the TCPIP$VMS_SNMP_CONF.DAT
file, as described in Table 13–4.
Make sure that the community string used in the messages matches a valid
community of the appropriate type on the server. Check also that the MIB
variable is defined with write access and implemented as such in the subagent.
Note that in OpenVMS standard MIBS, the
Set
command is not implemented for
some variables defined as writable in the MIB II and Host Resources MIB.
For example, the community must be configured as /TYPE=(READ,WRITE) to
process
set
requests.
If SNMP is not responding to
set
commands or to other requests:
One of conditions listed above has not been met.
The commmunity name is invalid. Check to make sure uppercase or
lowercase letters are specified correctly. Community names are case sensitive.
SNMP is not running on the system.
There are network, delay, or timeout problems.
The community address was specified incorrectly.
Communities with write access are not defined on the server.
The ‘‘public’’ community configuration was not specified as /TYPE=READ with
address 0.0.0.0.
The SNMP configuration is correct, but SNMP was not restarted after
changes were made.
13.6.5.3 Enabling SNMP Version 1 Traps
By default, SNMP sends Version 2 traps, which can be configured using either
the TCPIP$CONFIG.COM procedure or the SET CONFIGURATION SNMP
command. You can modify SNMP to send Version 1 traps by default, using the
trap
option described in Table 13–4.
You can implement individual SNMP Version 1 traps even if Version 2 traps are
set by default. Add a line for each trap destination to the TCPIP$VMS_SNMP_
CONF.DAT file using the following format of the
trap
option:
trap v1 community IP-address[:port]
When SNMP Version 1 traps are set by default, you can send SNMP Version 2
traps by adding a line to the TCPIP$VMS_SNMP_CONF.DAT file for each Version
2 trap destination using the following format of the
trap
option:
trap v2c community IP-address[:port]
In these formats:
community specifies the community name.
IP-address specifies the IP address of host that is listening for traps.
port specifies the port number. The default port number is 162.
13–26 Configuring SNMP