Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Reference

Changing the SNMP Port Number Using the Command Line or Deployment Descriptor

The default SNMP port number is 10161. If you want to monitor multiple individual server instances that exist on the same machine, the default port values may not work. You may need to change the SNMP port for these instances to avoid a port conflict.

You can override the default port value in several different ways, which are listed in order of precedence from highest to lowest:

See Configuring the Ports for some examples.