The result of a poll - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Given the situation, that I poll for the following OIDs:

Example 3. oids

1.3.6.1.2.1.1.3.0
1.3.6.1.2.1.25.3.2.1.5.1
1.3.6.1.2.1.25.3.5.1.1.1
1.3.6.1.2.1.43.5.1.1.11.1

The result will be the following:

Example 4. Result of toString conversion

<?xml version="1.0" encoding="UTF-8"?>
<snmp>
   <entry>
      <oid>1.3.6.1.2.1.1.3.0</oid>
      <value>6 days, 21:14:28.00</value>
   </entry>
   <entry>
      <oid>1.3.6.1.2.1.25.3.2.1.5.1</oid>
      <value>2</value>
   </entry>
   <entry>
      <oid>1.3.6.1.2.1.25.3.5.1.1.1</oid>
      <value>3</value>
   </entry>
   <entry>
      <oid>1.3.6.1.2.1.43.5.1.1.11.1</oid>
      <value>6</value>
   </entry>
   <entry>
      <oid>1.3.6.1.2.1.1.1.0</oid>
      <value>My Very Special Printer Of Brand Unknown</value>
   </entry>
</snmp>

As you maybe recognized there is one more result than requested....1.3.6.1.2.1.1.1.0. This one is filled in by the device automatically in this special case. So it may absolutely happen, that you receive more than you requested...be prepared.