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