FieldServer FS-8704-09 SNMP instruction manual Appendix A.1.1. Trap Source IP Address

Page 13

FS-8704-09 SNMP Driver Manual

Page 13 of 39

 

 

Appendix A. Advanced Topics

 

Appendix A.1. Receiving SNMP TRAPS

 

A trap can reveal the causal event in two ways:

The cause can be indicated by the OID number inside the trap with the event state reported by the associated data value.

The cause can be indicated by the value of one OID field and the event state by the value of another OID field.

Appendix A.1.1. Trap Source IP Address

When a trap is received it contains its source IP address information within the UDP packet header. It is possible for a trap to reveal its source IP address by coding an IP_ADDRESS field inside the trap.

To catch a trap it is necessary to define Map Descriptors containing the OID’s of the trap. Map Descriptors are associated with a Node. A Node is defined by its IP address amongst other parameters. When a trap is received the source of the IP address must match the IP address of the Node associated with the Map Descriptor.

A trap may originate from one IP address, and contain an alternative source IP Address within the message. In this case, the FieldServer will use the IP_Address contained within the message as the source rather than the IP address of the sending device. When this situation occurs the driver prints a message to the error log so that you know why, perhaps, the trap was ignored/processed differently from your expectations."

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 13
Contents Applicability & Effectivity Driver Manual FS-8704-09 Snmp VersionTable of Contents FS-8704-09 Snmp Driver Manual Snmp Description Integer Octetstream Timerticks StringMax Nodes Supported Required 3rd Party Hardware Station FS-8704-09 Snmp Driver Manual Hardware Connections3rd Party Nodes non-SNMP 3rd Party ClientSnmp Traps Data Arrays/DescriptorsSnmp FS-8704-09 Snmp Driver Manual Client Side Node Descriptors Timing Parameters Driver Related Map Descriptor ParametersRDBC, WRBC, Wrbx SnmpoidDAAI3 Rdbc FS-8704-09 Snmp Driver Manual Map Descriptor ExampleDAAI3 Wrbx OIDSNMPDA1 Server Side Data ArraysSNMPDA2 Server Side Map Descriptors Server Side Node DescriptorsAppendix A.1.1. Trap Source IP Address DAAI3 Page FS-8704-09 Snmp Driver Manual Snmpoid 192.168.1.174 Status Normal Status LO Alarm Status HI Alarm Status Normal Status AlarmSNMPDA2 Snmptrap Appendix A.2.2. Polling for Integer bound DataTrap Map Descriptors are then configured as below Page TRAP-TYPE from RFC-1215 FIELDSERVER-MIB Definitions = BeginSnmp 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 INTFYI MIB TrapERR SnmptypeseqFS-8704-09 Snmp Driver Manual State=%s FS-8704-09 Snmp Driver Manual UINT32