SetSNMP 2.0.0

Bundle
org.apache.nifi | nifi-snmp-nar
Description
Based on incoming FlowFile attributes, the processor will execute SNMP Set requests. When finding attributes with the name snmp$<OID>, the processor will attempt to set the value of the attribute to the corresponding OID given in the attribute name.
Tags
oid, set, snmp
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
  • Additional Details for SetSNMP 2.0.0

    SetSNMP

    Summary

    This processor sends SNMP set requests to an SNMP agent in order to update information associated to a given OID. This processor supports SNMPv1, SNMPv2c and SNMPv3. The component is based on SNMP4J.

    The processor constructs SNMP Set requests by extracting information from FlowFile attributes. The processor is looking for attributes prefixed with snmp$. If such an attribute is found, the attribute name is split using the $ character. The second element must respect the OID format to be considered as a valid OID. If there is a third element, it must represent the SMI Syntax integer value of the type of data associated to the given OID to allow a correct conversion. If there is no third element, the value is considered as a String and the value will be sent as an OctetString object.

Properties
Relationships
Name Description
success All FlowFiles that have been successfully used to perform SNMP Set are routed to this relationship
failure All FlowFiles that failed during the SNMP Set care routed to this relationship
Writes Attributes
Name Description
snmp$<OID> Response variable binding: OID (e.g. 1.3.6.1.4.1.343) and its value.
snmp$errorIndex Denotes the variable binding in which the error occured.
snmp$errorStatus The snmp4j error status of the PDU.
snmp$errorStatusText The description of error status.
snmp$nonRepeaters The number of non repeater variable bindings in a GETBULK PDU (currently not supported).
snmp$requestID The request ID associated with the PDU.
snmp$type The snmp4j numeric representation of the type of the PDU.
snmp$typeString The name of the PDU type.