Generic
SNMP Requests
Documentation
companion-module-generic-snmp
Generic modules is only for use with custom applications. If you use this module to control a device or software on the market that more than you are using, please let us know about this software, so we can make a proper module for it. If we already support this and you use this to trigger a feature our module doesnt support, please let us know. We want companion to be as easy as possible to use for anyone.
Configuration
To configure this module you will need:
- Agent Address - The IP Address of the SNMP enabled device you want to control
- UDP Port - The number of the UDP port on which the agent is listening (defaults to port 161)
- SNMP Version - The version of SNMP used by the agent. This will dictate how this module will authenticate with the agent
- Listen for Traps - Enable to bind to a port for SNMP Traps and Informs
- Listening Port - Port to listen for traps and informs on. The module will ignore messages from IPs other than the configured Agent Address.
- Poll Interval - The poll interval for Get OID value actions with update enabled, and all Get OID Value feedbacks.
- Walk OIDs - If populated, the agent will walk the MIB starting at the OIDs in this comma seperated list.
SNMP versions v1/v2c
If you selected SNMP version v1 or v2c you will also need to configure a community string with suffucient access for the actions you wish to perform.
SNMP versions v3
If you selected SNMP version v3 you will also need to configure the following:
- Engine ID - The agent's SNMP Engine ID (required)
- User Name - A username with suffucient access for the actions you wish to perform.
- Security Level - Whether to implement authentication and encryption
noAuthNoPriv- No message authentication or encryptionauthNoPriv- Message authentication and no encryptionauthPriv- Message authentication and encryption
- Auth Protocol - The message authentication protocol. (Available if Security Level is
authNoPrivorauthPriv)No Auth- use if your agent's security level isnoAuthNoPrivMD5- for MD5 message authentication (HMAC-MD5-96)SHA- for SHA-1 message authentication (HMAC-SHA-1)SHA224- for SHA-224 message authentication (HMAC-SHA-224)SHA256- for SHA-256 message authentication (HMAC-SHA-256)SHA384- for SHA-384 message authentication (HMAC-SHA-384)SHA512- for SHA-512 message authentication (HMAC-SHA-512)
- Auth Key - The message authentication key. (Available if Security Level is
authNoPrivorauthPriv) - Priv Protocol - The encryption algorith. (Available if Security Level is
authPriv)No Priv- use if your agent's security level isAuthNoPrivAES- for 128-bit AES encryption (CFB-AES-128)'AES256B- for 256-bit AES encryption (CFB-AES-256) with "Blumenthal" key localiztaionAES256R- 256-bit AES encryption (CFB-AES-256) with "Reeder" key localiztaionDES- for DES encryption (CBC-DES).
Priv Key- Encryption Key (Available if Security Level isauthPriv)
Actions
You can perform the following actions with this module:
- Get OID value, return to custom or local variable
OctetStringandOpaqueOIDs converted to strings with the encoding option- Numeric values may be divided by the
Factorfield to achieved fixed precision decimal values Counter64OIDs returned as strings
- Send Trap or Inform message
- Set OID value to an OctetString
- Set OID value to a Number. This includes the following SNMP Object Types:
- Integer
- Counter
- Gauge
- TimeTicks
- Set OID value to a Boolean
- Set OID value to an IP Address
- Set OID value to an OID
- Set OID value to an Opaque
- Walk MIB starting from OID
Feedbacks
- OID value
- Optional update based on connection poll
- Always updated via SNMP Trap
OctetStringandOpaqueOIDs converted to strings with the encoding option- Numeric values may be divided by the
Factorfield to achieved fixed precision decimal values Counter64OIDs returned as strings
More from Generic
Button Blinker
Generic
CommunityBridge
Generic
CommunityData Entry
Generic
CommunityFile Reader
Generic
Community