[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1377478 ] 5.3.1.rc1 agent: embedded perl not working
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-09-25 17:01:54
Message-ID: E1GRtq6-0007Dw-ES () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1377478, was opened at 2005-12-09 17:41
Message generated for change (Comment added) made by openmacnews
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1377478&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build/test
Group: macOS
Status: Open
Resolution: None
Priority: 6
Submitted By: OpenMacNews (openmacnews)
Assigned to: Thomas Anders (tanders)
Summary: 5.3.1.rc1 agent: embedded perl not working on OSX 10.4.6

Initial Comment:
hi.

on OSX 10.4.3, w/ net-snmp 5.3pre5, 'make test' fails:

	37:testing snmpd embedded perl support (using
NetSNMP::agent)...FAIL

more detail:

/usr/ports/net-snmp/net-snmp-5.3.pre5/testing  >
./RUNTESTS -T 37 -V

/usr/ports/net-snmp/net-snmp-5.3.pre5/testing
path is
/usr/ports/net-snmp/net-snmp-5.3.pre5/testing:/usr/ports/net-snmp/net-snmp-5.3.pre5/agent:/usr/ports/net-snmp/net-snmp-5.3.pre5/apps:
                
...
top of build is /usr/ports/net-snmp/net-snmp-5.3.pre5
source testing is
/usr/ports/net-snmp/net-snmp-5.3.pre5/testing
/usr/ports/net-snmp/net-snmp-5.3.pre5/apps/snmpusm
37:testing snmpd embedded perl support (using
NetSNMP::agent).../tmp/snmp-test-37-29292/snmpd.conf
contains: 
[snmp] persistentdir /tmp/snmp-test-37-29292/persist
com2sec testcommunitysec default testcommunity
group testcommunitygroup v2c testcommunitysec
view all included .1 80
access testcommunitygroup "" any noauth exact all none none
perlInitFile /tmp/snmp-test-37-29292/snmp_perl.pl
perl do '/tmp/snmp-test-37-29292/hello.pl';
perl print STDERR "registered_perl_agent_ok\n";
running: snmpd -d -r -U -p
/tmp/snmp-test-37-29292/snmpd.pid -Lf
/tmp/snmp-test-37-29292/snmpd.log  -C -c
/tmp/snmp-test-37-29292/snmpd.conf
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...0 matches found
checking output for "NET-SNMP version"...1 matches found

EXECUTING: snmpget -v2c -c testcommunity
udp:localhost:8765 .1.3.6.1.4.1.8872.9999.9999.1.0

Command Output: 
MIBDIR
/usr/ports/net-snmp/net-snmp-5.3.pre5/testing/../mibs 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  SNMPv2-SMI::enterprises.8872.9999.9999.1.0 = No Such
Object available on this agent at this OID
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
checking output for "hello world"...0 matches found
checking output for "shutting down"...1 matches found
Agent Output:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[stdout]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[logfile]
NET-SNMP version 5.3.pre5

Received 55 bytes from UDP: [127.0.0.1]:52765
0000: 30 35 02 01  01 04 0D 74  65 73 74 63  6F 6D 6D
75    05.....testcommu
0016: 6E 69 74 79  A0 21 02 04  19 16 0B 76  02 01 00
02    nity.!.....v....
0032: 01 00 30 13  30 11 06 0D  2B 06 01 04  01 C5 28
CE    ..0.0...+.....(.
0048: 0F CE 0F 01  00 05 00                           
     .......

Connection from UDP: [127.0.0.1]:52765
Received SNMP packet(s) from UDP: [127.0.0.1]:52765
  GET message
    -- SNMPv2-SMI::enterprises.8872.9999.9999.1.0

Sending 55 bytes to UDP: [127.0.0.1]:52765
0000: 30 35 02 01  01 04 0D 74  65 73 74 63  6F 6D 6D
75    05.....testcommu
0016: 6E 69 74 79  A2 21 02 04  19 16 0B 76  02 01 00
02    nity.!.....v....
0032: 01 00 30 13  30 11 06 0D  2B 06 01 04  01 C5 28
CE    ..0.0...+.....(.
0048: 0F CE 0F 01  00 80 00                           
     .......

Received TERM or STOP signal...  shutting down...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
checking output for "shutting down"...1 matches found
Agent Output:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[stdout]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[logfile]
NET-SNMP version 5.3.pre5

Received 55 bytes from UDP: [127.0.0.1]:52765
0000: 30 35 02 01  01 04 0D 74  65 73 74 63  6F 6D 6D
75    05.....testcommu
0016: 6E 69 74 79  A0 21 02 04  19 16 0B 76  02 01 00
02    nity.!.....v....
0032: 01 00 30 13  30 11 06 0D  2B 06 01 04  01 C5 28
CE    ..0.0...+.....(.
0048: 0F CE 0F 01  00 05 00                           
     .......

Connection from UDP: [127.0.0.1]:52765
Received SNMP packet(s) from UDP: [127.0.0.1]:52765
  GET message
    -- SNMPv2-SMI::enterprises.8872.9999.9999.1.0

Sending 55 bytes to UDP: [127.0.0.1]:52765
0000: 30 35 02 01  01 04 0D 74  65 73 74 63  6F 6D 6D
75    05.....testcommu
0016: 6E 69 74 79  A2 21 02 04  19 16 0B 76  02 01 00
02    nity.!.....v....
0032: 01 00 30 13  30 11 06 0D  2B 06 01 04  01 C5 28
CE    ..0.0...+.....(.
0048: 0F CE 0F 01  00 80 00                           
     .......

Received TERM or STOP signal...  shutting down...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FAIL
Summary: 0 / 1 succeeded.


----------------------------------------------------------------------

> Comment By: OpenMacNews (openmacnews)
Date: 2006-09-25 10:01

Message:
Logged In: YES 
user_id=1401559

building 5.3.1 (cvs-V5-3-patches_20060925_0322) on OSX 10.4.7,

/var/Conf/NetSNMPd/snmpd.conf:

	perl do "/usr/ports/net-snmpd/perl_module.pl";
	rocommunity foobar

@ shell #1:

/usr/local /net-snmp-53/sbin/snmpd -f -Le -C -c /var
/Conf/NetSNMPd/snmpd.conf localhost:8161

	nlist err: neither icmpstat nor _icmpstat found.
	starting perl_module.pl
	perl_module.pl loaded ok
	registering at netSnmp.999
	NET-SNMP version 5.3.1



@ shell #2:

/usr/local /net-snmp-53/bin/snmpwalk -v2c -c foobar
localhost:8161 .1.3.6.1.4.1.8072.999
		NET-SNMP-MIB::netSnmp.999 = No Such Object available on
this agent at this OID


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-09-23 15:42

Message:
Logged In: YES 
user_id=848638

No progress on why it fails. The test log files do not
contain any helpful error messages. Have you actually done
the perl example
(http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl)
test with your *installed* net-snmp with the remarks (don't
run it as agentx) given at the top of the file and earlier
in this tracker item? What are the results? Best tried with
current 5.3.x or 5.4.x CVS.

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-09-23 15:27

Message:
Logged In: YES 
user_id=1401559

any comment/progress here?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-08-28 17:20

Message:
Logged In: YES 
user_id=1401559

per request,

dl+build of cvs-V5-3-patches_20060828_0321

results tar'd/gzip'd as attachment:

netsnmp_test_20060828.tgz

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-08-28 16:29

Message:
Logged In: YES 
user_id=848638

The test #37 output and directory content looks weird at
best. Can you please run:

cd testing
sh -x ./RUNTESTS -a -D `pwd`/.. -V -T 37

and attach the output as well as the snmp-test-37-*
directory again, ideally based on current V5-3-patches?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-27 12:21

Message:
Logged In: YES 
user_id=1401559

done.

looks like the tests did not fail ...

uploaded results again.


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-27 12:05

Message:
Logged In: YES 
user_id=848638

Can you please grab the latest versions of T061agentperl and
T115agentxperlfrom
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/testing/tests/
and rerun the tests?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-27 11:57

Message:
Logged In: YES 
user_id=1401559

> perl -MNetSNMP::agent -e 'print "Hello";'
> after "make install" and report back.

/usr/ports/net-snmp/5.3.x  > perl -MNetSNMP::agent -e 'print
"Hello";'
	Hello
/usr/ports/net-snmp/5.3.x  >

> Also, can you please post updated test dir tarballs for
the failed tests?

uploaded:

	test37.txt
	test44.txt
	snmp-test-37-3835.tar.gz
	snmp-test-44-4488.tar.gz


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-27 11:29

Message:
Logged In: YES 
user_id=848638

Please run:

perl -MNetSNMP::agent -e 'print "Hello";'

after "make install" and report back.

Also, can you please post updated test dir tarballs for the
failed tests?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-24 12:15

Message:
Logged In: YES 
user_id=1401559

building:

  net-snmp-cvs-V5-3-patches_20060624_0309.tar.gz

on:

  OSX 10.4.6

config'd as below, 'make test' reports:

  ...
  37:testing snmpd embedded perl support (using
NetSNMP::agent)...FAIL
  ...
  44:testing AgentX subagent in Perl (using
NetSNMP::agent)...FAIL
  ...
  Summary: 57 / 59 succeeded.
  make[1]: *** [test] Error 2
  make: *** [test] Error 2



----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-24 07:38

Message:
Logged In: YES 
user_id=848638

I've just fixed a similar issue on FreeBSD. Can you please
grab the latest 5.3.x nightly tarball (or 5.3.1.rc2 if it's
out) and retry?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-13 08:56

Message:
Logged In: YES 
user_id=1401559

> - what's the output of "./net-snmp-config --perlprog" in
the build dir? 

net-snmp-5.3.1.rc1  > ./net-snmp-config --perlprog
	/usr/local/perl5/bin/perl

> - does testing/TESTCONF.sh contain the line
SNMP_PERLPROG="`$SNMP_UPDIR/net-snmp-config --perlprog`" ?

no, apparently not.

net-snmp-5.3.1.rc1  > grep "SNMP_PERLPROG" testing/TESTCONF.sh
net-snmp-5.3.1.rc1  > 


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-13 03:20

Message:
Logged In: YES 
user_id=848638

At least the test #44 failure seems to be due to
SNMP_PERLPROG not being properly populated. Can you please
check two things:

- what's the output of "./net-snmp-config --perlprog" in the
build dir? 
- does testing/TESTCONF.sh contain the line
  SNMP_PERLPROG="`$SNMP_UPDIR/net-snmp-config --perlprog`"
  ?


----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-12 21:43

Message:
Logged In: YES 
user_id=1401559

config'in 5.3.1.rc1 as:
	./configure \
	  --prefix=/usr/local/net-snmp-53 \
	  --with-logfile=/var/Logs/snmpd.log \
	  --sysconfdir=/var/Conf/NetSNMPd \
	  --mandir=/var/Documentation/man \
	  --with-persistent-directory=/var/Conf/NetSNMPd \
	--with-defaults \
	--disable-mini-agent \
	--enable-shared --enable-static \
	--with-libwrap \
	--with-default-snmp-version=3 \
	--with-openssl=/usr/local/ssl \
	--with-sys-contact=nobody@no.where \
	--with-perl-modules --enable-embedded-perl \
	--without-rpm \
	--with-transports="UDP TCP Unix Callback" \
	--with-mib-modules="agentx disman/event smux ucd_snmp
examples/example" \
	--with-out-mib-modules="host mibII/mta_sendmail" \
	--disable-ipv6

results in:
	---------------------------------------------------------
				Net-SNMP configuration summary:
	---------------------------------------------------------
	
	  SNMP Versions Supported:    1 2c 3
	  Net-SNMP Version:           5.3.1.rc1
	  Building for:               darwin8
	  Network transport support:  UDP TCP Unix Callback
	  SNMPv3 Security Modules:    usm
	  Agent MIB code:             mibII ucd_snmp snmpv3mibs
notification notification-log-mib target agent_mibs agentx
disman/event-mib disman/schedule utilities agentx
disman/event smux ucd_snmp examples/example
	  SNMP Perl modules:          building -- embeddable
	  Embedded perl support:      enabled
	  Authentication support:     MD5 SHA1
	  Encryption support:         DES AES
	  WARNING:  New version of the Event MIB which may be
subtly different from the original implementation -
configure with 'disman/old-event-mib' for the previous version
	  ---------------------------------------------------------

'make' is error-free:

	net-snmp-53/sbin/snmpd -v
		NET-SNMP version:  5.3.1.rc1
		Web:               http://www.net-snmp.org/
		Email:             net-snmp-coders@lists.sourceforge.net

'make test' reports:
	...
	37:testing snmpd embedded perl support (using
NetSNMP::agent)...FAIL
	...
	44:testing AgentX subagent in Perl (using
NetSNMP::agent)...FAIL
	...
	Summary: 57 / 59 succeeded.

i've attached "snmp_test.txt":

	make test TESTOPTS="-T 37,44 -V"
> /Users/devuser/Desktop/snmp_test.txt

as well as the /tmp/* archives for the failed tests:

	snmp-test-37-3005.tgz
	snmp-test-44-3189.tgz

richard

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-05 14:58

Message:
Logged In: YES 
user_id=848638

Please pay attention to the comments on the top of the program:

# To load this into a running agent with embedded perl
support turned
# on, simply put the following line (without the leading #
mark) your
# snmpd.conf file:
#
#   perl do "/path/to/perl_module.pl";

If you're starting it standalone, it'll run as an AgentX
subagent (which is a different test in 5.3.1.pre3).

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-05 14:43

Message:
Logged In: YES 
user_id=1401559

> Well, have you ever used embedded perl?

nope. well,not knowingly, anyway ...

> So it'd be interesting if you tried the  perl example from
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl

'blindly' attempting, i get:

starting perl_module.pl
perl_module.pl loaded ok
registering at netSnmp.999
Error: Failed to connect to the agentx master agent: Unknown
host (No such file or directory)
started us as a subagent (NetSNMP::agent=HASH(0x18170a8))
Error: Failed to connect to the agentx master agent: Unknown
host (No such file or directory)
mainloop excercised
mainloop excercised
Error: Failed to connect to the agentx master agent: Unknown
host (No such file or directory)
mainloop excercised
...

so, now i'll try to actually figure it out ... once i get a
few cpu cycles back :-)

richard

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-05 14:30

Message:
Logged In: YES 
user_id=848638

Well, have you ever used embedded perl? The question (like
for any bug report about test suite failures) is whether
this is "false alarm", i.e. the test suite has a bug and
reports a failure for something that's actually working fine
or embedded perl really isn't working at all in your daemon,
even after a proper "make install". So it'd be interesting
if you tried the  perl example from
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl
with your *installed* agent and report back whether it's
working or not (and what errors you get).

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-05 14:15

Message:
Logged In: YES 
user_id=1401559

hi tanders,

while i work on the test output & zip for you, can you clarify:

"Can you use embedded perl with the installed daemon
actually? I.e. is it more likely the test is broken or the
functionality?"

what specifically are you looking for?

thanks,

richard

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-06-05 14:00

Message:
Logged In: YES 
user_id=848638

Thanks, even though it's bad news. I'd need the output of

  make test TESTOPTS="-T 17 -V

together with a tar.gz of the /tmp/snmp-test-17.* directory
(with 5.3.1.pre3 or later).

Can you use embedded perl with the installed daemon
actually? I.e. is it more likely the test is broken or the
functionality?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-05-18 14:13

Message:
Logged In: YES 
user_id=1401559


on OSX 10.4.6, config'ing 5.3.1.pre2 w/:

	./configure \
	  --prefix=/usr/local/net-snmp-53 \
	  --with-logfile=/var/Logs/snmpd.log \
	  --sysconfdir=/var/Conf/NetSNMPd \
	  --mandir=/var/Documentation/man \
	  --with-persistent-directory=/var/Conf/NetSNMPd \
	--with-defaults \
	--disable-mini-agent \
	--enable-shared --enable-static \
	--with-libwrap \
	--with-default-snmp-version=3 \
	--with-openssl=/usr/local/ssl \
	--with-sys-contact=nobody@no.where \
	--with-perl-modules --enable-embedded-perl \
	--without-rpm \
	--with-transports="UDP TCP Unix Callback" \
	--with-mib-modules="agentx disman/event smux ucd_snmp
examples/example" \
	--with-out-mib-modules="host mibII/mta_sendmail" \
	--disable-ipv6

results in:

	---------------------------------------------------------
				Net-SNMP configuration summary:
	---------------------------------------------------------
	  SNMP Versions Supported:    1 2c 3
	  Net-SNMP Version:           5.3.1.0.2
	  Building for:               darwin8
	  Network transport support:  UDP TCP Unix Callback
	  SNMPv3 Security Modules:    usm
	  Agent MIB code:             mibII ucd_snmp snmpv3mibs
notification notification-log-mib target agent_mibs agentx
disman/event-mib disman/schedule utilities agentx
disman/event smux ucd_snmp examples/example
	  SNMP Perl modules:          building -- embeddable
	  Embedded perl support:      enabled
	  Authentication support:     MD5 SHA1
	  Encryption support:         DES AES
	  WARNING:  New version of the Event MIB which may be
subtly different from the original implementation -
configure with 'disman/old-event-mib' for the previous version
	---------------------------------------------------------

subsequent:

	make
	umask 022
	make install

gives:

	/usr/local/net-snmp-53/sbin/snmpd -v
		NET-SNMP version:  5.3.1.pre2
		Web:               http://www.net-snmp.org/
		Email:             net-snmp-coders@lists.sourceforge.net

but, still:

	make test

reports:

	...
	37:testing snmpd embedded perl support (using
NetSNMP::agent)...FAIL
	...
	Summary: 57 / 58 succeeded.
	make[1]: *** [test] Error 1
	make: *** [test] Error 2

checking further w/:

	testing/RUNTESTS -T 37

reports:

No "include/net-snmp/net-snmp-config.h" in
/usr/ports/net-snmp . Some tests will be skipped
37:testing snmpd embedded perl support (using
NetSNMP::agent)...grep:
/usr/ports/net-snmp/include/net-snmp/net-snmp-config.h: No
such file or directory
grep:
/usr/ports/net-snmp/include/net-snmp/agent/mib_module_config.h:
No such file or directory
grep:
/usr/ports/net-snmp/include/net-snmp/agent/agent_module_config.h:
No such file or directory
grep:
/usr/ports/net-snmp/include/net-snmp/net-snmp-config.h: No
such file or directory
grep:
/usr/ports/net-snmp/include/net-snmp/agent/mib_module_config.h:
No such file or directory
grep:
/usr/ports/net-snmp/include/net-snmp/agent/agent_module_config.h:
No such file or directory
SKIPPED
Summary: 1 / 1 succeeded.



----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2006-05-17 23:56

Message:
Logged In: YES 
user_id=848638

Can anyone retest with 5.3.1.pre2 or later, please?

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2005-12-11 21:42

Message:
Logged In: YES 
user_id=1401559

still an issue with 53rc1.

no surprise, just reporting

richard

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2005-12-10 09:59

Message:
Logged In: YES 
user_id=1401559

add'l info:

% perl -V
Summary of my perl5 (revision 5 version 8 subversion 7)
configuration:
  Platform:
    osname=darwin, osvers=8.2.0,
archname=darwin-thread-multi-2level
    uname='darwin devbox 8.2.0 darwin kernel version 8.2.0:
fri jun 24 17:46:54 pdt 2005;
root:xnu-792.2.4.obj~3release_ppc power macintosh powerpc '


output of:

	snmpd -f -Le -D perl

for:

	snmpwalk -v2c -c public localhost netSnmp.999

case: v53pre5 on OSX 10.4.3
	http://paste.lisp.org/display/14507	

case: v522 on OSX 10.4.3
	http://paste.lisp.org/display/14509


no perl tokens seen in *either* walk trace ...

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2005-12-10 08:39

Message:
Logged In: YES 
user_id=1401559

here's the test dir's tarball (attachment), and,

using

	http://www.net-snmp.org/tutorial-5/toolkit/perl/perl_module.pl 

and enabling:

	perl do "/path/to/perl_module.pl"

in snmpd.conf, then:

% ./snmpd -f -Le -Dperl
	registered debug token perl, 1
	perl: initializing perl
(/usr/local/net-snmp-53p5/share/snmp/snmp_perl.pl)
	perl: done initializing perl
	perl: calling perl
	starting perl_module.pl
	perl_module.pl loaded ok
	registering at netSnmp.999
	couldn't parse netSnmp.999 (reg name: myname)
	perl: finished calling perl
	NET-SNMP version 5.3.pre5


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2005-12-10 01:24

Message:
Logged In: YES 
user_id=848638

Also, once you have *installed* 5.3.pre5, can you do a
simple embedded perl test to verify whether it's actually
*working*. We really need to determine whether the test is
broken or the feature!

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2005-12-10 00:40

Message:
Logged In: YES 
user_id=848638

Please attach a gzipped tarball of the whole
/tmp/snmp-test-37-29292 directory.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1377478&group_id=12694

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic