On 24 February 2011 09:49, Roche, Christian (EXT-Other - MA/Rabat)
<christian.roche....@nsn.com> wrote:
> I have written a small SNMP probe using NetSNMP::agent that's working fine
> on CentOS 5.5. I installed the required Perl modules as RPM packages using
> yum (net-snmp-perl-5.3.2.2-9.el5_5.1.x86_64.rpm). Now I would like to be
> able to test it on Windows under Cygwin, so I tried the following
>
> -----------------
>> perl -M CPAN -e shell

No - that probably won't work.
You need to ensure that you're using the SNMP modules that
match the version of the C library that you are using.
We tend to recommend that you retrieve the relevant source
tarball, and use the code from the 'perl' directory.

Unless you're very lucky, it's unlikely that CPAN will have the
correct version for the particular library that you're using.


> I have tried intalling both DTOWN/Net-SNMP-5.2.0 and DTOWN/Net-SNMP-v6.0.1
> to no avail. No config file seem to be present anywhere.

David Town's Net:SNMP modules are a completely separate (pure perl)
implementation,
and have no connection with this project.


> As a side note I would like to report that the situation with SNMP under
> CPAN is very confusing, here is a list of modules that may look related to
> what I'm looking for:
>
> -----------------
> Module    NSNMP                  (KRAGEN/NSNMP-0.5.tar.gz)
> Module    NSNMP::Agent           (KRAGEN/NSNMP-0.5.tar.gz)
> Module    NSNMP::Mapper          (KRAGEN/NSNMP-0.5.tar.gz)
> Module    NSNMP::Simple          (KRAGEN/NSNMP-0.5.tar.gz)
>
> Module    Net::SNMP              (DTOWN/Net-SNMP-v6.0.1.tar.gz)
> and a whole bunch of others

Neither of these have anything to do with this project.
Our FAQ mentions the Net::SNMP module, but not the NSNMP
modules.   I'll look at adding something about this

> Module    NetSNMP::ASN           (HARDAKER/NetSNMP-ASN-5.0401.tar.gz)
> Module    NetSNMP::OID           (HARDAKER/NetSNMP-OID-5.0401.tar.gz)
> Module    NetSNMP::TrapReceiver  (HARDAKER/NetSNMP-TrapReceiver-5.0401.tar.gz)
> Module    NetSNMP::agent         (HARDAKER/NetSNMP-agent-5.0401.tar.gz)
>
> Module    SNMP                   (HARDAKER/SNMP-5.0401.tar.gz)
> and a whole lot of submodules by many different people.

Those _are_ examples of the perl modules from this project.
But they're only valid for use with v5.4.1 of the library.

Yes - it is confusing.   I'll have another look at the perl-related entries
in the FAQ, to see how we can improve these explanations.

Dave


> doesn't anybody here have  an answer regarding my problem?
> Isn't this the right place to ask this?

Yes - this is the correct place to ask.
But please remember that all of the core development team
support this project on a voluntary basis in our free time.
We have other commitments to our paid employment,
which must take priority.   Please show a little patience
when asking questions on the list.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to