Hitachi

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


extsubagt

Organization of this page

Syntax

extsubagt [-e extended-MIB-definition-file] [-p] [-E priority]
          [-aperror] [-apwarn] [-aptrace] [-apconfig]
          [-appacket] [-aptrap] [-apaccess] [-apemanate]
          [-apverbose] [-apuser] [-apall] [-help] [-retry N]
          [-fcmdguard N] [-pipeguard N][-invokeid]

Description

The extsubagt process provides extended MIB objects.

Location

Arguments

-e extended-MIB-definition-file

Specify an extended MIB definition file. The default definition file is /etc/SnmpAgent.d/snmpd.extend.

-p

Specify this option if you want to check the syntax of the extended MIB definition file.

-E priority

Specify 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.

-aptrace

Specify this option if you want to collect trace 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.

-apall

Specify this option if you want to collect all types of logs.

-help

Specify this option if you want to display the command syntax.

-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

Specify the file_command execution response monitoring time in seconds. The specified value N must be 1 ≤ N ≤ 90.

-pipeguard N

Specify 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 of xxxxxxxx.yyyyyy, where xxxxxxxx indicates the number of elapsed seconds and yyyyyy indicates the fraction of the current second in microseconds.

You can configure settings so that -fcmdguard, -pipeguard, and -invokeid are enabled at startup or when the snmpstart command is executed. For details, see Environment variable definition file (SnmpExtAgt) in Chapter 6. Definition Files.

External influences

Environment variables

Specify the following environment variable in the SnmpExtagt file.

SR_SNMP_TEST_PORT

This environment variable sets the master agent's SNMP reception port. If this environment variable is specified for a subagent, it is used as data for connecting to the master agent. This means that the value set for the subagent must be the same as the port number specified for the master agent. If this environment variable is not specified, the value in the snmp line of the /etc/services file is used. Normally, you do not need to specify this environment variable. You must specify this environment variable only if you want to change the master agent's SNMP reception port.