Re: Fw: Unable to build Net-Snmp with embedded perl

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAO+b5-q=FCU3Qa4Ywna-C4hUfLHc137PoGhragR2oVMGnS2jXQ@mail.gmail.com>
On Thu, Aug 11, 2011 at 3:36 PM, <[email protected]> wrote:

> Thanks for that. That patch stops the script locking up and completes the
> installation.
>

Thanks for the feedback. A more general patch (that does not assume that the
value of a constant is equal to or above -1) has been committed on the v5.7
branch:
http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commitdiff;h=c1c2bdcdd65f4837698648a187696c424192aadc;hp=4efa547480e882c6b0fd0c4b2ee6e674e75cc80a


> I'm still trying to work out whether I can use Perl on windows. As you
> stated earlier embedded Perl has not been ported to Windows.
>
> Reading the Net-snmp Perl support documentation it states:
>
> For the time being, I'll offer *a perl module source*<http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl>which can be used as a perl SNMP agent, perl subagent, or sourced directly
> within a agent containing embedded perl support. To make it work directly
> within your agent, you must have compiled the net-snmp package using
> --enable-embedded-perl and then in your snmpd.conf file you can put:
> perl do "<http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl>
> .path/to/perl_module.pl";
>
> What does it mean by saying this can be used as a perl SNMP agent. Is this
> something I can do on Windows. If so how do I do this??
>
Enabling AgentX in snmpd.conf, saving the Perl subagent implementation to a
file with a .perl suffix and running that file should be sufficient.

Bart.

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.