![]() |
|
more useful options | |
PerlMonks |
Getting readable results from Net::SNMP get_table methodby fingers (Acolyte) |
on May 16, 2001 at 03:25 UTC ( #80748=perlquestion: print w/replies, xml ) | Need Help?? |
fingers has asked for the wisdom of the Perl Monks concerning the following question:
I am trying write a script that will poll cisco gear for information regarding it's CDP neighbors. I had pretty much completed the project using telnet to get the information I wanted when I realized it would be quicker and less intrusive to gather this info with SNMP. I tracked down the appropriate oid and am using the Net::SNMP get_table method. It seems to be working, but I am getting output that looks like this: HASH(0x82753ec) What do I need to do to extract some meaningful information from this? I have read the docs on the Net::SNMP module and am feeling very obtuse right now. I would love to see some actual examples of the get_table method if anyone has any existing code that uses it. This is the pretty bare bones code I am using to test this method.
Thanks in advance on any light you can shine on this. I do believe that my eyes will start bleeding if I stare at any more docs.
Back to
Seekers of Perl Wisdom
|
|