SNMP monitor adapter event

The elements contained in the SNMP monitor event are different, based on the value defined for the <mibs-directory> element in the adapter configuration.

The following table describes the elements of the SNMP monitor adapter event with <mibs-directory> element defined.

SNMP monitor adapter event elements with the <mibs-directory> element defined

Element

Description

<host>

Specifies the host computer that generated the trap

<sysuptime>

Specifies the time at which the trap was generated, expressed in 1/100 seconds from the start of the application that generated the trap

<enterprise>

Specifies the enterprise OID or STRING

This element is used for v1 traps only; it is empty for v2c traps.

<trap-type>

Specifies the type of trap string

<varbinds>

Contains the <varbind> elements

<varbind>

Contains the details of an incoming trap

<oid>

Specifies the OID for the incoming trap

<name>

Specifies the OID reference name for the incoming trap

<value>

Specifies the OID value for the incoming trap


The following figure shows an XML sample of the SNMP monitor adapter event with <mibs-directory> defined.

XML sample of the SNMP monitor adapter event with <mibs-directory> element defined


<trap>
  <host>local host</host>
  <sysuptime>value in 1/100 seconds</sysuptime>
  <enterprise>text</enterprise>
  <trap-type>text</trap-type>
  <varbinds>
    <varbind>
      <oid>text</oid>
      <name>text</name>
      <value>text</value>
    </varbind>
  </varbinds>
</trap>


To use the data from the monitor adapter event in a triggered process, a Job Input Parameter, inputevent, must be created on the Start activity of the process. The <data> element from the monitor adapter event populates this input. The following table describes the elements of the SNMP monitor adapter event without the definition of the <mibs-directory> element.

SNMP monitor adapter without <mib-directory> definition elements

Element

Description

<host>

Specifies the host computer that generated the trap

<sysuptime>

Specifies the time at which the trap was generated, expressed in 1/100 seconds from the start of the application that generated the trap

<enterprise>

Specifies the enterprise OID or STRING

This element is used for v1 traps only; it is empty for v2c traps.

<generic-trap-type>

Specifies the generic trap type

<specific-trap-type>

Specifies the specific trap type

<varbinds>

Contains the <varbind> elements

<varbind>

Contains the details of an incoming trap

<oid>

Specifies the OID for the incoming trap

<value>

Specifies the OID value for the incoming trap


The following figure shows an XML sample of the SNMP monitor adapter event without the <mibs-directory> element defined.

XML sample of the SNMP monitor adapter event without the <mibs-directory> element defined


<trap>
  <host>10.10.255.255</host>
  <sysuptime>value in 1/100 seconds</sysuptime>
  <enterprise>text</enterprise>
  <generic-trap-type>text</generic-trap-type>
  <specific-trap-type>text</specific-trap-type>
  <varbinds>
    <varbind>
      <oid>text</oid>
      <value>text</value>
    </varbind>
  </varbinds>
</trap>
Was this page helpful? Yes No Submitting... Thank you

Comments