Re: Perl module for Net-SNMP -snmpv3

2007-06-26 Thread Wes Hardaker
> "AC" == Ajay Chenampara <[EMAIL PROTECTED]> writes: AC> the problem was with snmpUtils.pm that came with cricket - it was AC> passing a "default" context. got rid of it and all is good - AC> Thanks!! Ugh. That's a horrible choice as a default. -- Wes Hardaker Sparta, Inc. --

Re: Perl module for Net-SNMP -snmpv3

2007-06-21 Thread Ajay Chenampara
the problem was with snmpUtils.pm that came with cricket - it was passing a "default" context. got rid of it and all is good - Thanks!! Wes Hardaker <[EMAIL PROTECTED]> wrote: > "AC" == Ajay Chenampara writes: AC> has anyone had success with Net-SNMP for snmpv3? Im just wondering AC> if t

Re: Perl module for Net-SNMP -snmpv3

2007-06-20 Thread Wes Hardaker
> "AC" == Ajay Chenampara <[EMAIL PROTECTED]> writes: AC> has anyone had success with Net-SNMP for snmpv3? Im just wondering AC> if this is maybe unsupported and I might be putting in some AC> unproductive hours :) Just FYI, I've used the Net-SNMP perl modules with SNMPv3 a **lot** and haven

Re: Perl module for Net-SNMP -snmpv3

2007-06-20 Thread Dave Shield
On 19/06/07, Ajay Chenampara <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] cricket]$ cat test.pl > #!/usr/bin/perl > use SNMP; > use vars qw($debug); > my $sess; > $sess = new SNMP::Session(DestHost => '10.100.24.20', > Version => 3, > SecName =>

Re: Perl module for Net-SNMP -snmpv3

2007-06-19 Thread Ajay Chenampara
Thanks for the reply Wes, I tried what Wes suggested and I still dont see the SecName being passed to the router. has anyone had success with Net-SNMP for snmpv3? Im just wondering if this is maybe unsupported and I might be putting in some unproductive hours :) PERL Script: ---

Re: Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Wes Hardaker
> "AC" == Ajay Chenampara <[EMAIL PROTECTED]> writes: AC> When I print these variables in SNMP.pm, my values appear correctly. AC> $this->{SessPtr} = SNMP::_new_v3_session($this->{Version}, AC> $this->{DestHost}, AC> $this->{Retries}, That's not how you should create a session. The _new_v3_

Re: Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Ajay Chenampara
Hi there!. I tried the NoAuthNoPriv option as well ( no authentication or encryption - the username has to just exist at the agent) - no luck...the router debugs indicate the username is not being passed Does Net-SNMP really support V3? has anyone tried it Jun 18 20:19:18.668: SNMP:

Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Ajay Chenampara
Hi, I am trying to establish an snmpv3 session with a cisco router using the cricket monitoring system. I am trying to do it using the authNoPriv level. While, I can get snmpwalk etc to work from the monitoring box (RH linux) to the router, I cant get the snmpsession to open with perl. When i r