Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Reference

Changing the SNMP Port Number Using the GlassFish Administration Console

You can use the GlassFish Administration Console to change the server or cluster property snmp-adapter-port. You select the node for the appropriate server and/or cluster and provide a value for the snmp-adapter-port property. You may need to define the property if it is not already defined.

These tasks assume that you are already logged in to the Administration Console, as described in Admin Console in Sun GlassFish Enterprise Server 2.1 Administration Guide.

ProcedureTo Set the Port for a Stand-Alone Instance

  1. In the navigation tree, expand the Stand-Alone Instances node.

  2. Select the node for the instance whose SNMP port number you want to change (for example, standalone-instance1).

  3. On the page for the server instance, click the Properties tab.

  4. Click the Instance Properties tab.

  5. If the snmp-adapter-port property is in the Additional Properties list, specify the appropriate port number in the Value field, then go to step 7.

  6. If the snmp-adapter-port property is not in the Additional Properties list, perform these steps:

    1. Click Add Property.

    2. In the Name field, specify snmp-adapter-port.

    3. In the Value field, specify an appropriate port value.

  7. Click Save.

  8. Stop and restart the server.

ProcedureTo Set the Port for a Clustered Instance

  1. In the navigation tree, expand the Clusters node.

  2. Expand the node for the cluster whose cluster instance properties you want to change (for example, cluster1).

  3. Expand the node for the cluster instance whose SNMP port number you want to change (for example, clustered-instance1.

  4. On the page for the cluster instance, click the Properties tab.

  5. Click the Instance Properties tab.

  6. If the snmp-adapter-port property is in the Additional Properties list, specify the appropriate port number in the Value field, then go to step 8.

  7. If the snmp-adapter-port property is not in the Additional Properties list, perform these steps:

    1. Click Add Property.

    2. In the Name field, specify snmp-adapter-port.

    3. In the Value field, specify an appropriate port value.

  8. Click Save.

  9. Stop and restart the server.

ProcedureTo Set the Port for a Cluster

  1. In the navigation tree, expand the Clusters node.

  2. Expand the node for the cluster whose SNMP port number you want to change (for example, cluster1.

  3. On the page for the cluster, select the Properties tab.

  4. Select the Cluster Properties tab.

  5. If the snmp-adapter-port property is in the Additional Properties list, specify the appropriate port number in the Value field, then go to step 7.

  6. If the snmp-adapter-port property is not in the Additional Properties list, perform these steps:

    1. Click Add Property.

    2. In the Name field, specify snmp-adapter-port.

    3. In the Value field, specify an appropriate port value.

  7. Click Save.

  8. Stop and restart the server.