Re: Net::SNMP

2017-04-23 Thread lee
Илья Рассадин writes: > Hi! > > It looks like the password issue, maybe password is incorrect or not > set properly? Why would I need a password with perl when I don't need one with snmpget? It turned out to be an acl on the switch having assumed unexpected values: , | #H3C-acl-basic-2000

Re: Net::SNMP

2017-04-23 Thread Илья Рассадин
Hi! It looks like the password issue, maybe password is incorrect or not set properly? This value (16) can be stored on the device. Did you try to reboot host.example.com and see the value of usmStatsWrongDigest counter? 23.04.17 6:30, lee пишет: Hi, Net::SNMP only gives a useless error

Re: Net::SNMP OID doubt

2009-11-18 Thread Venkat Saranathan
Yes, you can use the OID octets instead. with warm regards, Venkat Saranathan Gulf Breeze Software. On Wed, Nov 18, 2009 at 8:19 AM, Shameem Ahamed wrote: > On checking the SNMPv2-SMI MIB, i found out that, corresponding to > > SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1 > > Is it correct

Re: Net::SNMP OID doubt

2009-11-18 Thread Shameem Ahamed
> From: "Hack, Gabi (ext)" > To: Shameem Ahamed ; "beginners@perl.org" > > Sent: Wed, November 18, 2009 7:22:52 PM > Subject: RE: Net::SNMP OID doubt > > > From: Shameem Ahamed [mailto:shameem.aha...@yahoo.com] > > > > > SNMP

RE: Net::SNMP OID doubt

2009-11-18 Thread Hack, Gabi (ext)
> From: Shameem Ahamed [mailto:shameem.aha...@yahoo.com] > > SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1 > > Is it correct ?. Can i replace the string with this decimal values ?. > It's the wrong list for your question, but yes, you can substitute all names with the corresponding OIDs (

Re: Net::SNMP OID doubt

2009-11-18 Thread Shameem Ahamed
On checking the SNMPv2-SMI MIB, i found out that, corresponding to SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1 Is it correct ?. Can i replace the string with this decimal values ?. Shammi - Original Message > From: Shameem Ahamed > To: beginners@perl.org > Sent: Wed, November

Re: Net::SNMP session creating problem : develop this as a pakage file

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Geetha B wrote: But I want to write this as a package/interface file . Please could you guide/direct me to writing a simple/sample perl package (sample.pm) & then testing it. Sorry, I'm afraid I can't do that. This list exists to help people get past the obstacles of learning

Re: Net::SNMP session creating problem : develop this as a pakage file

2004-09-08 Thread Geetha B
Hi Chris, Thanks for guiding about the right style of perl coding & also for resolving snmp session problem. My system's snmpd was not enabled & SNMP5.0 was installed which was giving the error as "Unknown Error Creating session" I installed SNMP3.6 , started snmpd, httpd in my Linux system & now

Re: Net::SNMP session creating problem

2004-09-07 Thread Chris Devers
On Tue, 7 Sep 2004, Geetha B wrote: ($session, $error) = Net::SNMP->session( -hostname => shift || 'localhost', -community => shift || 'public', -port => shift || 161 ); It may be a dead end, but it may help to define these items as temp variables, and then throw in a print sta

Re: Net::SNMP module example failing

2002-04-26 Thread Ted Hajduk
Tim, Just an FYI. Upgraded the Net::SNMP module to 4.0.1 from 3.6 and everything works. Regards Ted --- Tim Musson <[EMAIL PROTECTED]> wrote: > Hey Ted, > > My MUA believes you used (X-Mailer not set) > to write the following on Wednesday, April 24, 2002 > at 9:56:09 PM. > TH> Hello, > >

Re: Net::SNMP module example failing

2002-04-25 Thread Ted Hajduk
Tim, Thanks for replying. The error occurred after I did the same thing you did. I found out I'm running the 3.6 version of the module. I trying to get the 4.0.1 via CPAN. I'll let you know what happens. Thanks again Ted --- Tim Musson <[EMAIL PROTECTED]> wrote: > Hey Ted, > > My MUA beli

Re: Net::SNMP module example failing

2002-04-25 Thread Tim Musson
Hey Ted, My MUA believes you used (X-Mailer not set) to write the following on Wednesday, April 24, 2002 at 9:56:09 PM. TH> Hello, TH> I'm executing the 1st example (get sysUpTime) in the TH> Net::SNMP module at TH> http://search.cpan.org/doc/DTOWN/Net-SNMP-4.0.1/lib/Net/SNMP.pm TH> The exampl