SnmpDevice configuration

You place SnmpDevice objects under an SnmpNetwork to represent actual Snmp devices that you want to communicate with. Then you configure the SnmpDevice object by setting its properties to match the settings for the actual Snmp device. After device configuration, you can configure proxy points (at the device-level) for reading and writing actual data values on the SnmpDevice. The SnmpDevice objects may only exist under an SnmpNetwork object.

You can view and edit the following SnmpDevice specific properties in the Property Sheet view of the SnmpDevice.

Image

A description of the Snmp specific properties follows (displayed in the Property Sheet view). For more details on properties that are common to all types of device objects, please refer to the Niagara Drivers Guide documentation.

Actions

The SnmpDevice object has one visible action:

  • Ping

    This action manually initiates a “ping” (check device status) on the actual Snmp device that the SnmpDevice object represents.

Traps

This editable component stores a list of Snmp trap notification types created for this SnmpDevice using the MIBPointListManager. If the SnmpNetwork is configured to receive Snmp trap messages, any trap received from this SnmpDevice will first check to see if it has a corresponding trap notification type in this list in order to describe the meaning of the received trap. This component has one action:

  • Clear - Deletes the list of stored Snmp trap/notification types. All entries will be removed.

    For more information about the Trap device extension, including traps property descriptions, refer to Snmp alarm device extension properties.

Snmp Version

Specifies the version of the Snmp protocol to use for communication with this SnmpDevice. The default is 2 (representing Snmp v2), and the only other option is 1 (representing Snmp v1).

Retry Count

Specifies the number of times any individual Snmp request made to this SnmpDevice will be retried when receiving a null response before considering the request to be a communication failure.

Response TimeOut

Specifies the maximum amount of time to wait for a response after sending an Snmp request to this SnmpDevice. If no response is received in this amount of time after sending a request, the request will be considered failed, and the driver will either retry the request (per the 'Retry Count' property) or consider the transaction a failure.

Max Variable Bindings Per Request

Specifies the maximum number of variable bindings to include in each Snmp request message sent to the Snmp device. The default value is 10, however, this value can be any integer value greater than or equal to 1. This is useful if the Snmp request messages sent during device-level polling become too large (due to a large number of subscribed Snmp proxy points for the SnmpDevice), and you would like to split up the request messages into multiple requests (of shorter length). A value of 1 would cause individual requests for each subscribed Snmp proxy point's data value within the SnmpDevice on each poll cycle for the SnmpDevice.

Ip Address

Specifies the IP address of the actual Snmp device for which this SnmpDevice represents.

Port

Specifies the port to use for outgoing Snmp requests to the corresponding Snmp device for this SnmpDevice (i.e. the port on the external Snmp device where Snmp requests are received). The default is port 161 - the standard Snmp port.

Community

Specifies the community string field to use for outgoing Snmp request messages sent to the SnmpDevice. The default value is “public”.

Mib

This editable field allows you to specify the path to a MIB file. You can populate this field by typing directly in the field or by using the Select MIB(s) to load dialog box, which is available from the Snmp Point Manager view.