Re: How to do an snmpget when using the embeded perl trap receiver in 5.3.1?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 20/04/07, thomas <[email protected]> wrote: > My problems is that i would like to do an SNMPGET on an OID when i am receiveing > a specific trap, but this seems to fail: i am getting the error: > > ERROR: Unable to resolve UDP/IPv4 address 'HASH(0x82666a0)'. What does the code for retrieving this OID look like? In particular, how are you providing the destination agent address? > It doesn't seem to have anything to with my snmpget, because if i move it out > of the embedded my_receiver sub, there is absolutely no problems?? That sounds suspiciously like variable scoping problems. As if the GET code is picking up different settings, depending on where it is being invoked from. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users