Hitachi

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


Environment variable definition file (SnmpExtAgt)

Organization of this page

Format

SNMP_EXTAGT_OPTIONS="[-e extended-MIB-definition-file] [-E priority]
                     [-aperror] [-apwarn] [-apconfig] [-appacket]
                     [-aptrap] [-apaccess] [-apemanate] [-apverbose]
                     [-apuser] [-retry N] [-fcmdguard N] [-pipeguard N]
                     [-invokeid]"
 
SR_SNMP_TEST_PORT=SNMP-reception-port-number

Overview

Environment variable definition file (SnmpExtAgt) defines the following environment variables:

Environment variable name

Description

SNMP_EXTAGT_OPTIONS

This environment variable specifies startup options for the extsubagt process.

SR_SNMP_TEST_PORT

This environment variable sets the master agent's SNMP reception port.

Location

Detailed description

SNMP_EXTAGT_OPTIONS

This environment variable specifies startup options for the extsubagt process.

  • -e extended-MIB-definition-file: This option specifies an extended MIB definition file. The default definition file is /etc/SnmpAgent.d/snmpd.extend.

  • -E priority: This option specifies the priority of the subagent.

  • -aperror: Specify this option if you want to collect error logs.

  • --apwarn: Specify this option if you want to collect error and warning logs.

  • -apconfig: Specify this option if you want to collect logs related to the configuration file.

  • -appacket: Specify this option if you want to collect logs related to packet assembly and analysis.

  • -aptrap: Specify this option if you want to collect logs related to trap messages.

  • -apaccess: Specify this option if you want to collect logs related to agent processing.

  • -apemanate: Specify this option if you want to collect logs related to the master agent and subagents.

  • -apverbose: Specify this option if you want to collect verbose logs.

  • -apuser: Specify this option if you want to collect user logs.

  • -retry N: Specify this option if you want the subagent to attempt to establish a connection with the master agent at N-second intervals.

  • -fcmdguard N: This option specifies the file_command execution response monitoring time in seconds. The specified value N must be 1 ≤ N ≤ 90.

  • -pipeguard N: This option specifies the monitoring period in seconds from the time SNMP Agent writes data into pipe_out_name to the time processing results are written. The specified value N must be 1 ≤ N ≤ 90.

  • -invokeid: Specify this option to add an identification number as the first argument written to pipe_out_name. The identification number is in the form xxxxxxxx.yyyyyy, where xxxxxxxx indicates the number of elapsed seconds and yyyyyy indicates the fraction of the current second in microseconds.

SR_SNMP_TEST_PORT

This environment variable sets the master agent's SNMP reception port. Normally, you do not need to specify this environment variable since it is specified in the environment variable definition file SnmpMaster.

For details about how to change the SNMP reception port, see 3.4.1 Changing the SNMP reception port on SNMP Agent.

Definition examples