R: Problem installing nagios-plugins (1.4.1.1): Perl (Net::SNMP) not found but installed!

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Fri Oct 7 11:48:04 CEST 2005


Riccardo,

sorry, I wan't following your thread.

But I guess I know what you mean.

The problem seems to be that you followed two different
installation routes
that don't seem to care much about the other's standards.

I suspect that the perl-net-snmp rpm package doesn't really care
about your Perl installation
but only consults its rpm database to see if any of the rpm
prerequisite packages
(those that an "rpm -qpR
/some/path/perl-net-snmp.some_release.rpm" would list)
is already installed, and would reject installation (unless given
the --nodeps) altogether.

But I cannot say for sure because I install all the Perl modules
I would ever require
the Perl way (i.e. either via CPAN.pm or manually) instead of
using any rpms.

This way however, would probably also force you to build the
Nagios or any Nagios Exchange software
from the sources as well.
But it's more likely to work that way than depending on any
pre-built packages for any Linux
packaging system.

You could, if you required a consistent rpm database that also
comprises the Nagios SNMP plug-in stuff,
try to get so-called srpm package which really contain the source
tarball together with a spec file.
Install those like usual rpm files and change to /usr/src/redhat 
(I hope the path is correct, I only have few Linux boxes to
monitor and thus am seldomly exposed to RH)
I suggest you read "man rpmbuild" for how to build an RH rpm with
an adapted spec file from there.

Btw, do you really require Crypt::DES for your SNMP management in
your shielded LAN?
I may be wrong, but I thought encryption was only an option in
SNMPv3?


> -----Original Message-----
> From: GENTILUCCI Riccardo [mailto:Riccardo.GENTILUCCI at skytv.it]
> Sent: Friday, October 07, 2005 11:16 AM
> To: Ralph.Grothe at itdz-berlin.de; ankushgrover1711 at gmail.com;
> nagios-users at lists.sourceforge.net
> Subject: R: R: [Nagios-users] Problem installing nagios-plugins
> (1.4.1.1): Perl (Net::SNMP) not found but installed!
> 
> 
> Dear Ralph, I've made what you've indicated (ì've installed 
> the package fron CPAN and so its dependencies) but without 
> positive solution...
> 
> Another guy say me to install the per-net-snmp package and 
> this request me what I've written (the Crypt::DES module)
> 
> I've tried to startup another system with same fedora fc3 and 
> update it till the last available packages...same story in 
> order to install the nagios plugins...
> 
> I don't understand if there's some problems in my fedora 
> installations or other (I've install it in two different 
> machines, different hw etc...): this is a big frustration.
> 
> By the way, thanks for your kind answer.
> 
> 
> Riccardo Gentilucci
> IT SKY - Direzione Network & Security Management
> 
> SKY Italia 
> Via Piranesi, 46 - 20137 Milano
> Tel:  +390270027426
> Fax: +390270022248
> Mob: +393355342826
>  
> Emailto: riccardo.gentilucci at skytv.it
>  
> Website: http://www.skytv.it
> -----Messaggio originale-----
> Da: Ralph.Grothe at itdz-berlin.de
[mailto:Ralph.Grothe at itdz-berlin.de] 
> Inviato: venerdì 7 ottobre 2005 11.06
> A: GENTILUCCI Riccardo; ankushgrover1711 at gmail.com; 
> nagios-users at lists.sourceforge.net
> Oggetto: RE: R: [Nagios-users] Problem installing 
> nagios-plugins (1.4.1.1): Perl (Net::SNMP) not found but
installed!
> 
> > I've tried to install the perl-net-snmp package..now this
> request another perl module perl(Crypt::DES).....and the story
> goes on!!
> 
> It's easiest to resolve common CPAN dependency issues by using
> the CPAN module for module installation.
> 
> The first time you invoke the CPAN shell you will be asked a
> couple of questions like your preferred CPAN mirrors,
> any proxy settings (if applicable), caching, and follow-up
> options.
> 
> Once having gone through this you would simply issue
> 
> perl -MCPAN -e "install Net::SNMP"
> 
> and perl would take care to resolve all prerequisites (as far
as
> CPAN modules are concerned).
> 
> Some modules also require prior installation of libraries (e.g.
> XML::Parser requires libexpat),
> which must be carried out separately usually. 
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list