Before configuring Messaging Server's SNMP subagent to run as a standalone SNMP agent, you must first decide which Ethernet interface and UDP port you wish for it to listen on for SNMP requests. By default, it will listen on all available Ethernet interfaces using UDP port 161. In most cases, you will want to change the port number so as to not interfere with the platform's SNMP master agent, snmpd. In some circumstances such as HA failover you will also want to change the Ethernet interface from all available interfaces -- INADDR_ANY -- to a specific interface identified by its IP address. These two concepts, Ethernet interface and UDP port, are controlled via the local.snmp.listenaddr and local.snmp.port options.
Once choices for the Ethernet interface and UPD port have been made, the local.snmp.standalone option should have its value set to one and the subagent restarted. Once restarted, it will operate as a SNMP agent independent of snmpd and any subagents.
For example, to run as a standalone agent listening on UDP port 9161 of the Ethernet interface with IP address 10.53.1.37, issue the commands shown below.
Configuring to run as a standalone agent:
% configutil -o local.snmp.port -v 9161 % configutil -o local.snmp.listenaddr -v 10.53.1.37 % configutil -o local.snmp.standalone -v 1 % stop-msg snmp % start-msg snmp % snmpwalk -v 1 -c public 10.53.1.37:9161 . SNMPv2-SMI::mib-220.127.116.11.2.1 = STRING: "/opt/SUNWmsgsr MTA on mail.siroe.com" ...