HI..
Could you please help me in resolving the problem.
ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ . Once you download the source and
unpack it, the perl modu
So, still having peoblems with net-snmp and perl... The session's
getting created, I can get(), but I can't pull the data out.
I'm running perl 5.8.4 with snmp pre2, on freebsd 4.5...
Here's the code snippet...
my $snmpGrab = 'sysDescr.0';
my $snmpCount = 1;
my $var = $session->bulkwalk(0,
2008/5/29 Pandurang Dhanawade <[EMAIL PROTECTED]>:
> Could you please help me in resolving the problem.
>
>
> ERROR: You don't have the SNMP perl module installed.
You need to install the perl module.
> Please obtain this by getting the latest source release of the
> net-snmp toolkit from
Hey, having a couple problems with pre2 and perl.
I'm running perl 5.8.4 on a freebsd 4.5 box.
make test in the perl directory runs fine exept for:
ok 17
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-MExtUtils::Command::MM"
"-e" "test_harness(0,'../blib/lib', '../blib/arch')" t/*.t
t/async...
> On Sat, 26 Jun 2004 19:51:17 -0700, Mike Lindsey <[EMAIL PROTECTED]> said:
Mike> So, still having peoblems with net-snmp and perl... The
Mike> session's getting created, I can get(), but I can't pull the
Mike> data out.
Answered on IRC... The problem is that a bulkwalk on sysDescr.0 will
> Here's the code snippet...
>
> my $snmpGrab = 'sysDescr.0';
> my $snmpCount = 1;
>
> my $var = $session->bulkwalk(0, $snmpCount, $snmpGrab);
> print $$var[0]->val . "\n";
>
> Which is simple, straightforward, pretty much grabbed exactly from
> example code.
I'm not quite sure where that
Hi Mike.
Mike Lindsey wrote:
Hey, having a couple problems with pre2 and perl.
I'm running perl 5.8.4 on a freebsd 4.5 box.
make test in the perl directory runs fine exept for:
ok 17
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-MExtUtils::Command::MM"
"-e" "test_harness(0,'../blib/lib', '../blib/ar
Great, thanks. Any idea what's up with the errornum -33 from the get()?
On Fri, 25 Jun 2004 14:44:56 -0400, Alex Burger <[EMAIL PROTECTED]> wrote:
>
>
> Hi Mike.
>
> Mike Lindsey wrote:
>
> > Hey, having a couple problems with pre2 and perl.
> >
> > I'm running perl 5.8.4 on a freebsd 4.5 box
Ugh, it was the dashes in front of the hash keys, which since that
didn't error out, I didn't consider.
On Fri, 25 Jun 2004 10:48:33 -0700, Mike Lindsey <[EMAIL PROTECTED]> wrote:
> when I run:
>
> [...]
> sub open_snmp
> {
> my $error;
> $session= new SNMP::Session