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.
snmp, set, oid
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
SNMP Agent Hostname | snmp-hostname | localhost | Hostname or network address of the SNMP Agent. | |
SNMP Agent Port | snmp-port | 161 | Port of the SNMP Agent. | |
SNMP Version | snmp-version | v1 |
| Three significant versions of SNMP have been developed and deployed. SNMPv1 is the original version of the protocol. More recent versions, SNMPv2c and SNMPv3, feature improvements in performance, flexibility and security. |
SNMP Community | snmp-community | public | SNMPv1 and SNMPv2 use communities to establish trust between managers and agents. Most agents support three community names, one each for read-only, read-write and trap. These three community strings control different types of activities. The read-only community applies to get requests. The read-write community string applies to set requests. The trap community string applies to receipt of traps. Sensitive Property: true This Property is only considered if the [SNMP Version] Property is set to one of the following values: [v1], [v2c] | |
SNMP Security Level | snmp-security-level | noAuthNoPriv |
| SNMP version 3 provides extra security with User Based Security Model (USM). The three levels of security is 1. Communication without authentication and encryption (NoAuthNoPriv). 2. Communication with authentication and without encryption (AuthNoPriv). 3. Communication with authentication and encryption (AuthPriv). This Property is only considered if the [SNMP Version] Property has a value of "v3". |
SNMP Security Name | snmp-security-name | User name used for SNMP v3 Authentication. This Property is only considered if the [SNMP Version] Property has a value of "v3". | ||
SNMP Authentication Protocol | snmp-authentication-protocol |
| Hash based authentication protocol for secure authentication. This Property is only considered if the [SNMP Security Level] Property is set to one of the following values: [authPriv], [authNoPriv] | |
SNMP Authentication Passphrase | snmp-authentication-passphrase | Passphrase used for SNMP authentication protocol. Sensitive Property: true This Property is only considered if the [SNMP Security Level] Property is set to one of the following values: [authPriv], [authNoPriv] | ||
SNMP Privacy Protocol | snmp-private-protocol |
| Privacy allows for encryption of SNMP v3 messages to ensure confidentiality of data. This Property is only considered if the [SNMP Security Level] Property has a value of "authPriv". | |
SNMP Privacy Passphrase | snmp-private-protocol-passphrase | Passphrase used for SNMP privacy protocol. Sensitive Property: true This Property is only considered if the [SNMP Security Level] Property has a value of "authPriv". | ||
Number of Retries | snmp-retries | 0 | Set the number of retries when requesting the SNMP Agent. | |
Timeout (ms) | snmp-timeout | 5000 | Set the timeout in ms when requesting the SNMP Agent. |
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 |
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. |