Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Reference

Windows Platform

    To set up limited security for SNMP by creating a community string, follow these steps:

  1. Right click on My Computer and select Manage.

  2. In the Computer Management window, open Services in the Services and Applications section.

  3. On the right hand side, right click on SNMP Service and select Properties.

  4. Go to the Security index and add mfwk as a READ-ONLY community in the Accepted Community Names area.

  5. Click on OK.

  6. Create a proxy configuration file, for example GlassFish_proxy.reg, and enter the following lines:

    Windows Registry Editor Version 5.00

    Substitute the IP address for the machine on which the Enterprise Server is running for gf-ip-address. Substitute the port for the Enterprise Server for gf-port.

  7. Execute the following command:

    regedit /s GlassFish_proxy.reg

    You can edit this configuration later using the regedit command.

  8. Restart the Windows SNMP service in one of the following ways:

    • From the Computer Management window, right click on SNMP Service and select Restart.

    • Execute the following commands:

      net stop snmp
      net start snmp
    • To test the Enterprise Server subagent through the Windows SNMP service, use an snmpwalk command such as this one, which retrieves all Enterprise Server tables:

      snmpwalk.exe -v1 -c mfwk localhost