This document includes frequently asked questions and important terms regarding the AE SNMP Subagent.
What is an OID?
Each information module in the MIB has a unique OID (Object Identifier) which is used to read the MIB's content. OIDs consist of a series of numbers which are separated from each other with dots. OIDS are globally unique. The AE SNMP Subagent's MIB has the OID "1.3.6.1.4.1.2562.1.1". The individual MIB content also has a number which is appended to the MIB's OID. The MIB's tree structure results in OIDs whose structure reflects the MIB structure.
Example:
The OID of the AE agent's version is: "1.3.6.1.4.1.2562.1.1.1.1.0 "
The individual OID parts are:
1.3.6.1.4.1.2562.1.1 - MIB
1 - Agent group
1.1.0 - AE agent version
What is a trap?
A trap is an asynchronous message which the Automation Engine sends to the AE SNMP Subagent. Traps are not stored in the MIB but are directly forwarded to the Masteragent. This means that the applications immediately obtain important information.
How can I send a trap?
In particular situations, the Automation Engine automatically sends predefined traps. You can also send individual traps using the script statement :SEND_SNMP_TRAP.
Are traps stored in the MIB table?
Traps are immediately forwarded to the Masteragent. There is no need to store them in the MIB.
What can be the reason for lost traps?
There can be various causes:
What is Net SNMP?
Net SNMP is an open source SNMP Server under UNIX.
Which SNMP versions does the AE SNMP Subagent support?
UNIX: SNMP V1, SNMP V2c and SNMP V3
Windows: SNMP V1 and SNMP V2c
Is it possible to install the AE SNMP Subagent subsequently?
Yes, refer to the corresponding installation guides (UNIX or Windows); they also describe the required steps for subsequent installation.
How can I test that the AE SNMP Subagent installation was successful?
Use the SNMP Tool which is included in the delivery directory Tools\no_supp in the file snmptools.zip. It can be used to read the MIB, receive or send traps etc.
Note that the SNMP Tool is not supported.
Why does the AE SNMP Subagent ignore Masteragent queries?
Possible reasons are:
Why is the MIB table incomplete?
The MIB's tree structure is dynamically created. If there are no blocked tasks or active notifications, the AE SNMP Subagent does not create structures for these areas.
Only the Agent Data Group and the Agent Work Group are created and filled with values if the Automation Engine is inactive.
What SNMP Server configurations are required (Net SNMP, Windows SNMP service or Masteragent mode)?
What is a community name?
A community name is a group to which you can assign access rights. The default community name is "public".
How can SNMP be used to monitor jobs?
AE does not support a direct connection of jobs to SNMP, but the script statement :SEND_SNMP_TRAP can be used to monitor jobs.
Example:
:SET &NAME# = SYS_ACT_ME_NAME()
:SET &ID# = SYS_ACT_ME_NR()
:SET &JPNAME# = SYS_ACT_PARENT_NAME()
:SET &CLIENT# = SYS_ACT_CLIENT()
:SET &STATUS# = GET_UC_OBJECT_STATUS()
:IF &STATUS# < "1900"
: PRINT &STATUS#
: PRINT "Client: &CLIENT#, JOBNAME: &NAME#"
: PRINT &NAME#
: SEND_SNMP_TRAP 801450, "&CLIENT#", "&NAME#",, "Problems in processing!"
:ENIDF
The script function GET_UC_OBJECT_STATUS can be used to find out the job's end status and react to it accordingly. This solution can be implemented in the direct form of a script or in a reusable form as an Include object.
See also: