Sun Java System Web Server 7.0 Administrator's Guide

ProcedureTo Activate SNMP on Linux

  1. Configure SNMP Parameters.

    Set the SNMP parameters for the configuration.

    wadm> set-snmp-prop --user=admin --host=funland --port=1893 --config=test 
    enabled=true master-host=masterhost-name organization=organization-name 
    location=location-name contact=contact-name description=description-name
  2. Deploy the Configuration.

    wadm deploy-config --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 config1
  3. Start the Server Instance.

    $ ./https-test/bin/startserv
  4. Run Native Master Agent (snmpd) as root.

    To allow direct communication with snmpd , add the following line in /etc/snmp/snmpd.conf and restart snmpd.


    view systemview included .

    # cd /etc/init.d/
          # ./snmpd stop
          # ./snmpd start
  5. Start the Sub Agent.

    Remove the file https-admserv/config/logs/pid.httpagt( If present).

    $ rm ./https-admserv/config/logs/pid.httpagt

    Kill the httpagt if it is already running

    wadm> start-snmp-subagent hostname