Hitachi

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


Environment variable definition file (SnmpNaa)

Organization of this page

Format

SNMP_NAA_OPTIONS="[-aperror] [-apwarn] [-port port-number]
                  [-readcomm community-name] [-writecomm community-name]
                  [-timeout time-out-value] [-apverbose] [-hexdump]
                  [-vbdump] [-v1 | -v2c]"
 
SR_SNMP_TEST_PORT=SNMP reception port-number

Overview

The environment variable definition file (SnmpNaa) defines the following environment variables:

Environment variable name

Description

SNMP_NAA_OPTIONS

This environment variable specifies startup options for the naaagt process.

SR_SNMP_TEST_PORT

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

Location

Detailed description

SNMP_NAA_OPTIONS

This environment variable specifies the startup options for the naaagt process.

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

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

  • -port port-nmbr: Changes the UDP port number for connecting to the native agent. The port number to be specified is a destination port number. The default port number is 8161.

  • -readcomm community-name: Changes the community-name that the naaagt process uses when it sends a GET request to the native agent. The default value is public.

  • -writecomm community-name: Changes the community-name that the naaagt process uses when it sends a SET request to the native agent. The default value is public.

  • -timeout time-out-value: Specify time-out-value in seconds during which the naaagt process will wait for a GET response from the native agent. The default value is 4.

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

  • -hexdump: Displays, in hexadecimal dump to the standard output, the contents of SNMP packets sent or received by the naaagt process.

  • -vbdump: Displays, to the standard output, the contents of the VarBind list for SNMP packets sent or received by the naaagt process.

  • -v1: Specify this option if you want the naaagt process to use the SNMPv1 protocol when it sends an SNMP request to the native agent. The SNMPv1 protocol is assumed when neither -v1 nor -v2c is specified.

  • -v2c: Specify this option if you want the naaagt process to use the SNMPv2c protocol when it sends an SNMP request to the native agent.

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