Troubleshooting › SNMP Data Problems
SNMP Data Problems
If you receive any of the following errors, access to SNMP data may not be enabled:
- No entries in routing table
- SNMP errors returned from the stack’s IP addresses
- Listener detectors always trigger
To enable access to SNMP data
- Check that the SNMP subagent has been configured in the profile TCP data set.
- The TCP/IP subagent must be able to connect to the SNMP agent. To do this, it uses a UNIX Stream socket represented by the file name in the dpiPathNameForUnixStream MIB object.
To set the file name for the UNIX Stream socket, do one of the following:
- Use the dpiPathNameForUnixStream statement in the OSNMPD.DATA file
- Use the -s OSNMPD initialization parameter
- The UNIX stream socket must be a UNIX System Services (USS) Special File. If the file exists, ensure that:
- It has the correct file attributes
- It has permission bits set to allow both read and write
- If the file does not exist, but the file name is specified as described above, the SNMP agent will automatically create it.
- To determine the file name, issue the USS command:
osnmp get dpiPathNameForUnixStream.0
The file name is displayed—the default file name is /tmp/dpi_socket.
- To determine the attributes and permissions, issue the USS command:
ls -1 /tmp/dpi_socket
The file attributes and permissions are displayed. For example:
crw-r----- 1 OMVSKERN SYS1 6, 0 Jan 27 03:35 dpi_socket
The first character (c) indicates this is a Special File. The following nine characters show permissions. The values 6 and 0 preceding the date indicate the major and minor node type. The UNIX Stream socket must be major node type 6.
- To create the file, use the MKNOD command located in the /usr/sbin directory. For example:
cd /usr/sbin
mknod /tmp/dpi_socket c 6 0
A character special file is created; major type 6, minor type 0.
For more information, see the following:
- IBM's Communications Server IP Configuration for more information about configuring the SNMP Agent and configuring community names
- IBM's UNIX System Services Planning Manual for more information about creating special files
- IBM's UNIX System Services Command Reference for more information on how to use and interpret USS commands
Copyright © 2012 CA.
All rights reserved.
|
|