Chapter 5 Operating
2104.6536.72 - 5.27 - E-1
1.5.1.3 Testing SNMP Communications
SNMP communications is properly set up if you have loaded the MIBs in your program and
you are using the correct IP address of the transmitter and the correct community. For que-
ries and settings you must set the SNMP version in your manager; the transmitters detect
the used protocol automatically.
The following query can be used as a simple test:
In the example above, a transmitter with the IP address 10.123.10.7 queries the OID (Ob-
jectIdentifier: unique designation of a data point) serialNumber
(.1.3.6.1.4.1.2566.127.1.2.167.1.1.1.2). The reply from the agent is 100111.
Using a further test, you can check whether the transmitter sends an alarm message in the
event of an error and whether this message reaches the alarm destinations. To do so, set
an OID sendTestTrap (.1.3.6.1.4.1.2566.127.1.2.167.1.1.2.3) to the value 2, which triggers
a testTrap (.1.3.6.1.4.1.2566.127.1.2.167.1.2.0.1). This alarm is sent to all receivers which
have been entered for the alarms (Trapsinks, see above).
This type of fault message functions in a slightly different way than that used for querying
and setting values (default: UDP Port 161 for SET/GET and UDP Port 162 for alarms).