FieldServer FS-8704-09 SNMP instruction manual 192.168.1.174

Page 18

FS-8704-09 SNMP Driver Manual

Page 18 of 39

Appendix A.2. Sending SNMP TRAPS using the SNMP Server/Agent

There are two ways to send traps using the driver

A rule based appoach – COV (Change of Value): Driver watches a data point. If the data changes and meets the condition of some rule then the trap is generated.

Non-rule – Driver sends the trap uncondionally based on a time interval or whenever the source data point is udpated (even if there is no change.)

Change of Value (COV) Traps

Rules determine when to send an SNMP Trap. These rules are configured in Server Side Map Descriptors, and are applied to the data whenever it changes. Traps are sent on a Change of State (COS) of the relevant Data Array value, as determined by the following configurable criteria:

COS_Hi_Alm

High Alarm threshold, applies to numerical values

COS_Hi_Warning

High Warning threshold, applies to numerical values

COS_Lo_Warning

Low Warning threshold, applies to numerical values

COS_Lo_Alm

Low Alarm threshold, applies to numerical values

COS_Deadband

Deadband value which must be crossed for Alarm or Warning states to toggle (prevents chatter)

COS_Normal

Normal value for a digital point (1 or 0) – when the value changes to or from Normal, a Trap is sent. For an analog point set

 

the 'COS_Normal' parameter = 'COS_Server_Event' and then specify the dead band. Each time the the analog value

 

changes by at the deadband or more (absolute change) then a trap will be sent

Each Trap Map Descriptor must specify the destination of the Trap by configuring a Remote_Client_Node_Descriptor, as shown in the example below. The OID to which the data value is to be bound in the Trap message is specified in the Map Descriptor.

First, the Trap destination Node is set up as follows:

Remote_Client_Node_Descriptors

 

 

Node_Name,

Node_ID,

Protocol,

Adapter,

IP_Address

NM_1,

1,

SNMP,

N1,

192.168.1.174

 

 

 

 

 

The Trap Map Descriptors are then configured as below, using the desired COS rule parameters:

// Server Side Map Descriptors

 

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

SNMP_OID,

COS_Hi_Alm,

COS_Lo_Alm,

COS_Deadband

PSU_Voltage_Alarm,

DA_AI3,

0,

SNMP_TRAP,

NM_1,

1.3.6.1.4.1.6347.1.1.0.0,

10.5,

7.3,

0.2

 

 

 

 

 

 

 

 

 

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 9042 Toll Free: (888) 509 1970 email: support@fieldserver.com

Image 18
Contents Driver Manual FS-8704-09 Snmp Version Applicability & EffectivityTable of Contents Integer Octetstream Timerticks String FS-8704-09 Snmp Driver Manual Snmp DescriptionMax Nodes Supported Required 3rd Party Hardware 3rd Party Nodes non-SNMP FS-8704-09 Snmp Driver Manual Hardware ConnectionsStation 3rd Party ClientData Arrays/Descriptors Snmp TrapsSnmp FS-8704-09 Snmp Driver Manual Client Side Node Descriptors RDBC, WRBC, Wrbx Driver Related Map Descriptor ParametersTiming Parameters SnmpoidDAAI3 Wrbx FS-8704-09 Snmp Driver Manual Map Descriptor ExampleDAAI3 Rdbc OIDServer Side Data Arrays SNMPDA1SNMPDA2 Server Side Node Descriptors Server Side Map DescriptorsAppendix A.1.1. Trap Source IP Address DAAI3 Page FS-8704-09 Snmp Driver Manual Snmpoid 192.168.1.174 Status Normal Status Alarm Status Normal Status LO Alarm Status HI AlarmAppendix A.2.2. Polling for Integer bound Data SNMPDA2 SnmptrapTrap Map Descriptors are then configured as below Page FIELDSERVER-MIB Definitions = Begin TRAP-TYPE from RFC-1215Snmp Comparison of Style2 to Style3 Comparison of Style1 to Style3 Sample Configuration File Style1 MIB File based on above configuration Style2 MIB File based on above configuration Style3 MIB File based on above configuration Style3 Traps Description Page FYI MIB INTFYI TrapSnmptypeseq ERRFS-8704-09 Snmp Driver Manual State=%s FS-8704-09 Snmp Driver Manual UINT32