When target address is broadcast address...
Mike Ebstyne
mebstyne____tcloud.com
Sat Apr 12 01:31:16 CEST 2003
I am trying to do a "basic snmp get" to a bunch of devices on my network in
one
command. Effectively, I am broadcasting to the local address 192.168.1.255
a
request for the MIBII SysObjectID oid.
When running in debug mode, I can see that the SNMP++ library is pulling
back
a slew of data from a variety of IPs.
Yet, when I iterate through the PDU returned by the snmp.get() function, I
only have
a PDU from one machine!? I also started prying around, taking a look at the
snmp.eventListHolder object, which has no additional entries in its queue.
I feel like I'm missing something pretty straightforward here. Can anyone
explain to
me how I should use the Snmp object to iterate through responses from a
variety
of different hosts/devices?
I have played with the async get as well. That seems to process the very
first
incoming response and then stops immediately. Ugh.
Thanks,
Michael
More information about the AGENTPP
mailing list