Environment variable definition file (SnmpNative)
- Organization of this page
Format
SNMP_NATIVE_OPTIONS="-p port-number" SNMP_SNMPMIBD_OPTIONS="-c community-name" SNMP_HOSTMIBD_OPTIONS="-c community-name" SNMP_AIXMIBD_OPTIONS="-c community-name"
Overview
The environment variable definition file (SnmpNative) defines the following environment variables:
Environment variable name |
Description |
---|---|
SNMP_NATIVE_OPTIONS |
This environment variable specifies startup options for the native agent snmpd process in AIX. |
SNMP_SNMPMIBD_OPTIONS |
This environment variable enables the snmpmibd process provided by AIX to communicate with the snmpd process (8161/udp) provided by AIX. |
SNMP_HOSTMIBD_OPTIONS |
This environment variable enables the hostmibd process provided by AIX to communicate with the snmpd process (8161/udp) provided by AIX. |
SNMP_AIXMIBD_OPTIONS |
This environment variable enables the aixmibd process provided by AIX to communicate with the snmpd process (8161/udp) provided by AIX. |
Location
AIX: /usr/CM2/ESA/opt/SnmpNative
Detailed description
- SNMP_NATIVE_OPTIONS
-
This environment variable specifies startup options for the native agent snmpd process in AIX.
-
-p port-number
This option specifies the port number of the SNMP reception port on the native agent snmpd in AIX. The default port number is 8161.
-
- SNMP_SNMPMIBD_OPTIONS
-
This environment variable specifies startup options for the native agent snmpmibd subagent process in AIX.
-
-c community-name
This option specifies the community name to be used for acquiring MIB values. The specified community name needs to match the native agent (snmpd). The default value is public.
-
- SNMP_HOSTMIBD_OPTIONS
-
This environment variable specifies startup options for the native agent hostmibd subagent process in AIX.
-
-c community-name
This option specifies the community name to be used for acquiring MIB values. The specified community name needs to match the native agent (snmpd). The default value is public.
-
- SNMP_AIXMIBD_OPTIONS
-
This environment variable specifies startup options for the native agent aixmibd subagent process in AIX.
-
-c community-name
This option specifies the community name to be used for acquiring MIB values. The specified community name needs to match the native agent (snmpd).The default value is public.
-
Definition examples
-
This example changes 8161, shown in the following line, to another port number:
SNMP_NATIVE_OPTIONS="-p 8161" export SNMP_NATIVE_OPTIONS
-
This example changes public, shown in the following line, to a community name for which the native agent snmpd process permits a get/get-next-request:
SNMP_SNMPMIBD_OPTIONS="-c public" export SNMP_SNMPMIBD_OPTIONS SNMP_HOSTMIBD_OPTIONS="-c public" export SNMP_HOSTMIBD_OPTIONS SNMP_AIXMIBD_OPTIONS="-c public" export SNMP_AIXMIBD_OPTIONS