Knowledge Base > SNMP Support > Installation > Structure of ucsnmp1.ini (UNIX)

Automation Engine SNMP Subagent for UNIX

Structure of the File ucsnmp1.ini

Section/Parameter Description
[SNMP]  
community=

SNMP community name.

Default value: "public" 

The name is defined in the Masteragent. Enter the same community name in this parameter. The community-name setting is found in the file snmp.con or ucsnmp1.conf if the AE SNMP Subagent is used as Masteragent (see: Installation Guide).

medium=

Means of transport that should be used for the communication between Automation Engine and AE SNMP Subagent. 

Possible value: "tcp" (default value), "pipe"

"tcp" - Communication via socket
"pipe" - Communication via pipe.

stream_port=

Port number that the Automation Engine uses in order to connect to the AE SNMP Subagent.

Note that the same port number must be specified in the Automation Engine's INI-file parameter snmp= (section [TCP/IP]).

snmp_string=

If role=0 has been specified, you can specify the path to the AgentX socket for Net-SNMP here.

processing=

Mode of the AE SNMP Subagent.

Allowed value: "1", "2" and "3" (default value)

"1" - The MIB is loaded but traps are not sent.
"2" - The MIB is not filled, traps are sent.
"3" - The MIB is loaded and traps are sent.

role=

Role of the AE SNMP Subagent

Allowed value: "0" (default value) and "1"

"0" - The AE SNMP Subagent starts as Subagent.
"1" - The AE SNMP Subagent starts as Masteragent. In Masteragent mode, no other Subagent can establish a connection to it.

Note that on HP UX, the Masteragent mode is essential in order to establish a connection to EMANATE via naaagent.

[LOG]  
snmp=

Trace flag for the output of trace messages from the module that reads data from the MIB table and sends it to the network.
 
Allowed values: "0" to "9"
Default value: "1"

Trace flags must only be used in close cooperation with Automic Support.

stream=

Trace flag for the output of trace messages from the module that receives information from the Automation Engine and stores it in the MIB table.

Allowed values: "0" to "9"
Default value: "1"

Trace flags must only be used in close cooperation with Automic Support.

mib=

Trace flag for the output of trace messages from the module that administers the MIB table.

Allowed values: "0" to "9"
Default value: "1"

Trace flags must only be used in close cooperation with Automic Support.

file=

Path and name of the log file.

The number signs serve as placeholders for a series in numerical order. When you start the AE SNMP Subagent, the log files are renamed so that the most current log file is always the one with the number "00".

By default, the log file is stored in the folder from which the AE SNMP Subagent starts

INI-File Example

[SNMP]
community=public
medium=tcp
stream_port=2200
snmp_string=/var/agentx/master
processing=3
role=0
lib_path=.

[LOG]
snmp=1
stream=1
mib=1
file=ucsnmp_##.log

 

See also:

Notes for Configuration-File Adjustments