How to do an snmpget when using the embeded perl trap receiver in 5.3.1?
thomas <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Net-snmp I am using Net-SNMp 5.3.1 And using the embedded perl functionallity to receive traps, just as described in the CPAN module NetSNMP::TrapReceiver 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)'. 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?? Is there anyone that has an example on how i can get an OID when based on information in a specific trap ? when using embedded perl.. Best regards ///Thomas ------------------------------------------------------------------------- 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