Sun Java System Web Server 7.0 Update 3 Administrator's Guide

ProcedureTo Activate SNMP on Windows

  1. Configure SNMP Parameters.

    Set the SNMP parameters for the configuration.


    wadm> enable-snmp --user=admin --password-file=../admin.passwd 
    --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null 
    --config=config1 --loconfig1ion=india --master-host=hostname 
    --description=cli-snmp --organization=sun --contact=internal
  2. Add the install-root/ lib directory to the System Path environment variable.

  3. Restart the machine.

  4. Start the Web Server instance using Windows Services option.

  5. Start SNMP Service.


    Note –

    You cannot start the SNMP master agent through the administration interfaces when the Administration Server is installed as a non-root user. To allow a non-root Administration Server user to start master agent through administration interfaces, the non-root user must be given the privileges to bind to the privileged ports using RBAC, which the SNMP master agent runs on. The default SMUX port is 199 and default SNMP port is 161.

    Another workaround is to manually start the master agent as root using the following command:magt CONFIG INIT The magt command is located under server-root/lib/snmp/magt/.