Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Reference

Solaris Platform

For additional information, see the man page for snmpd.conf.

    To configure SNMP on the Solaris S10 platform, follow these steps:

  1. Using a text editor, add the following lines to the end of the /etc/sma/snmp/snmpd.conf file.

    rocommunity public
    proxy -c public -v 1 gf-ip-address:10161 1.3.6.1.4.1.42.2.9999.1.1.1

    Substitute the IP address for the machine on which the Enterprise Server is running for gf-ip-address. The default SNMP port is 10161; for information on how to change this port, see the Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Installation and Quick Start Guide.

  2. Restart the snmpd daemon using the following command:


    /etc/init.d/init.sma restart
  3. Verify the snmpd status using the following command:


    /etc/init.d/init.sma status
  4. To test the Enterprise Server subagent through the Solaris S10 SNMP service, use an snmpwalk command such as this one, which retrieves all Enterprise Server tables:


    snmpwalk -c public -v 1 localhost 1.3.6.1.4.1.42.2.9999.1.1.1.1.1

    On the Solaris platform, this command is located in /usr/sfw/bin/. For more information about using snmpwalk with the Enterprise Server, see the Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Installation and Quick Start Guide.

To uninstall the SNMP Proxy for the Solaris S10 platform, follow these steps:

  1. Stop the snmpd daemon using the following command:


    /etc/init.d/init.sma stop
  2. Using a text editor, remove the following lines from the end of the /etc/sma/snmp/snmpd.conf file:

    rocommunity public
    proxy -c public -v 1 gf-ip-address:10161 1.3.6.1.4.1.42.2.9999.1.1.1
  3. Restart the snmpd daemon using the following command:


    /etc/init.d/init.sma restart