Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: snmp script with perl

by RichardK (Parson)
on Dec 06, 2012 at 16:08 UTC ( #1007615=note: print w/replies, xml ) Need Help??


in reply to snmp script with perl

have you got the same version of Net::SNMP on both machines ?

Your get_request() call doesn't look like the one in the Net::SNMP pod, so maybe some version problem?

Does error() return anything useful?

updated! I really meant get_request not get_session, sorry about that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007615]
help
Chatterbox?
[atcroft]: Lady_Aleena: My early code was pretty horrible... but somewhere early on I learned not to take criticism of my code personally... which was probably a good thing, considering the kind of code I wrote at the time. :\
[Lady_Aleena]: I am hungry, so I'm going to go make something to eat. I hope you figure it out atcroft. Have a nice night!
[atcroft]: I have one script that I have started re-writing several times over the years, and have yet to get it working in a cleaner/better form. (It is some smelly code-I did not even know about hashes at the time I wrote it.)
[atcroft]: Enjoy, Lady_Aleena!

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-05-27 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?