FieldServer FS-8704-09 SNMP instruction manual Data Arrays/Descriptors, Snmp Traps

Page 6

FS-8704-09 SNMP Driver Manual

Page 6 of 39

4.Configuring the FieldServer as a SNMP Client

For a detailed discussion on FieldServer configuration, please refer to the FieldServer Configuration manual. The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” sample files provided with the FieldServer).

This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a SNMP Agent/Server. Please refer to Appendix A: for a discussion of how to receive

SNMP TRAPS.

4.1.Data Arrays/Descriptors

The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for SNMP communications, the driver independent FieldServer buffers need to be declared in the “Data Arrays” section, the destination device addresses need to be declared in the “Client Side Nodes” section, and the data required from the servers needs to be mapped in the “Client Side Map Descriptors” section. Details on how to do this can be found below.

Note that in the tables, * indicates an optional parameter, with the bold legal value being the default.

 

Section Title

 

 

 

 

 

 

 

Data_Arrays

 

 

 

 

 

 

 

Column Title

Function

 

 

 

Legal Values

 

 

Data_Array_Name

Provide name for Data Array

 

 

Up to

15 alphanumeric

 

 

 

characters

 

 

 

 

 

 

 

 

 

 

 

 

Float,

Bit, UInt16,

SInt16,

 

Data_Array_Format

Provide data format. Each Data Array

 

Packed_Bit,

Byte,

 

can only take on one format.

 

 

Packed_Byte,

 

 

 

 

 

 

 

 

 

 

 

Swapped_Byte

 

 

 

Number of Data Objects. Must be

 

 

 

 

 

Data_Array_Length

larger than the data storage

area

 

1-10,000

 

 

 

required by the map descriptors for the

 

 

 

 

 

 

data being placed in this array.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

// Data Arrays

 

 

 

 

 

 

 

Data_Arrays

 

 

 

 

 

 

 

Data_Array_Name,

Data_Format,

Data_Array_Length

 

 

DA_AI_01,

UInt16,

200

 

 

 

 

DA_AO_01,

UInt16,

200

 

 

 

 

DA_DI_01,

Bit,

200

 

 

 

 

DA_DO_01,

Bit,

200

 

 

 

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 6
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