SNMP Event Handler
Overview
The SNMP event handler can be used to respond to get/getnext/set commands.
Configuration
Parameter |
Description |
class |
com.architech.switchboard.SNMPSwitchboard |
snmpUsername |
Not currently used. |
snmpPassword |
Not currently used. |
snmpOID |
The base OID. All requests outside this OID are
silently ignored. |
Objects/Properties/Attributes
The event handler sets the following event properties:
Property |
Description |
event.originator |
The event handler object. |
snmp.command |
The command request:
get
set
getnext
|
snmp.oid |
The request OID |
snmp.value |
The value in case of set or getnext commands. |
When the handler receives a get request the snmp.oid contains
the OID for the request. You are then expected to set the snmp.value
property which will then be returned to the requestor. For a set command
the snmp.value already has a value. For the getnext request (e.g.
snmp-walk) you are requested to return the OID that immediatly follows the OID
provided in snmp.oid. This command is used when SNMP clients are
traversing the OID tree. Many unix systems have a snmpwalk command that
will allow you to test this command.
Downloads
Included in base product since 4.6
See Also
Event Handler Overview
|