Hitachi

JP1 Version 12 JP1/Extensible SNMP Agent Description, Operator's Guide and Reference


2.9.5 Notes about using the native agent adapter

This subsection provides notes about using the native agent adapter.

Organization of this subsection

(1) Restarting the native agent

If you want to use the native agent adapter in order to restart an individual native agent, you must restart the native agent so that it binds UDP port 8161 and that port is configured to listen for SNMP requests. In this case, instead of using the native agent start and stop commands, use the snmpstop command with no arguments and snmpstart command with no arguments. The snmpstop command with no arguments will stop the native agent, while the snmpstart command with no arguments will start the native agent.

(2) Operation performed when the naa.cnf configuration file is deleted

If you delete the naa.cnf configuration file and start the native agent adapter, the native agent adapter only retrieves MIB-II information from the native agent. However, we do not recommend that you use this method, even if you want to retrieve only MIB-II information from the native agent. Specify which MIB objects to retrieve in the naa.cnf configuration file.

(3) How to change the naaagt SNMP packet transmission port

If 8161/udp is already used by another program, change the naaagt SNMP packet transmission port number and SNMP reception port number to port numbers that are not used by the system that includes that program. Use the -port option to specify the naaagt SNMP packet transmission port number. Use the following method to change the native agent SNMP reception port. After the change, restart SNMP Agent using the snmpstart command with no arguments.

For AIX

See 3.4 Changing the SNMP reception port on SNMP Agent.

For Solaris

Change the following line in the file /lib/svc/method/svc-net-snmp:

/usr/sbin/snmpd udp:8161

(4) Notes about naa.cnf configuration file specifications (for Solaris)

The path names and definition specifications are different for the naa.cnf configuration file referenced by the naaagt process of the Solaris edition of SNMP Agent, and the one that is referenced by the naaagt process provided by NNM. The naa.cnf configuration file provided by NNM cannot be used as is by SNMP Agent. For details about the specification of the naa.cnf definition file of SNMP Agent, see Configuration file (naa.cnf) in Chapter 6. Definition Files.