Hitachi

JP1 Version 12 JP1/Extensible SNMP Agent Description, Operator's Guide and Reference


3.1.1 Customizing the startup options and defining environment variables for the processes

Each agent that constitutes SNMP Agent has a file for defining the startup options and environment variables for its processes (environment variable definition files). The process startup options and environment variable definitions are specified in these files. The process startup options are specified using the environment variables. This means that the environment variables include the process startup options, unless otherwise specified.

The values of environment variables specified in the environment variable definition files take effect when SNMP Agent starts.

The following procedure shows how to configure the environment variable definition files.

Procedure

  1. Terminate SNMP Agent.

    For details about terminating SNMP Agent, see 3.2 Terminating SNMP Agent.

  2. Define the environment variables.

    In this step, you define the environment variables.

    For details about the environment variable definition files provided by SNMP Agent, see 3.1.2 Environment variable definition files provided by SNMP Agent.

    For details about the environment variables used to specify the startup options of processes, see 3.1.3 Startup options that can be specified in the environment variable definition files. For details about the environment variables used for other purposes, see 3.1.4 Environment variables that can be specified for processes.

  3. Start SNMP Agent.

    When you start the system or execute the snmpstart command, SNMP Agent starts.

    If the OS being used is Solaris or AIX, and you do not want to start the native agent, execute the snmpstart command with the -n option.

For details about the environment variables for each process of SNMP Agent, see Processes in Chapter 5. Commands and Processes.

Note

If you specify arguments and start an SNMP Agent process, the specified settings remain in effect until that process is terminated. To always enable the options of processes at startup, you must specify the startup options using the environment variables.