Unable To Install Nagios Plugins

Padmanabh Padaki padmanabh_padaki at gymboree.com
Tue Apr 12 21:51:51 CEST 2005


I was able to compile the plugins by using the source code without
downloading the module from CPAN. If I look at CPAN module list, I find that
for Net::SNMP, the module is listed as
 Net::SNMP                        v5.0.1  D/DT/DTOWN/Net::SNMP
v5.0.1  D/DT/DTOWN/Net-SNMP-5.0.1.tar.gz.tar.gz.  

I already have  Net-SNMP-5.x.x installed on my system.  Is this different
from what I see on CPAN?  Do I still need to install this perl module from
CPAN?

A related question - 

After compiling the plugins without downloading the module from CPAN,  the
nagios daemon is not starting. 

Running in verbose mode, Nagios does not detect any problem with the
configuration files.  However,when I want to start the daemon, I get the
following errors.

 [root at nagios modules]# service nagios start
Starting network monitor: nagios
No lock file found in /var/run/nagios.pid

If I touch this file, then the error is 

[root at nagios local]# service nagios start
Starting network monitor: nagios
NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log

If I touch the above file, then the error is 

[root at nagios run]# service nagios start
Starting network monitor: nagios
NAGIOS CRITICAL - could not find proc file: /proc/1836672814

- padaki



-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org] 
Sent: Monday, April 11, 2005 4:02 PM
To: Padmanabh Padaki
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Unable To Install Nagios Plugins


as root:

perl -MCPAN -e"install Net::SNMP"

the names are a little confusing - you are missing a perl module. the 
above should fix it.

-sg

On Mon, 11 Apr 2005, Padmanabh Padaki wrote:

>  
> 
> I am unable to install nagios plugin on my Linux Fedora 3 server.  Here
are
> the details.
> 
>  
> 
> Server is running Fedora 3
> 
> Installed  nagios-1.2-1.1.fc3.rf.i386.rpm
> 
>  
> 
> [root at nagios ppadaki]# rpm -qa | grep nagios
> 
> nagios-1.2-1.1.fc3.rf
> 
>  
> 
> Trying to install nagios plugin, I get the following error
> 
>  
> 
> [root at nagios ppadaki]# rpm -ivh nagios-plugins-1.3.1-10.1.fc3.rf.i386.rpm
> 
> warning: nagios-plugins-1.3.1-10.1.fc3.rf.i386.rpm: V3 DSA signature:
NOKEY,
> key ID 6b8d79e6
> 
> error: Failed dependencies:
> 
>         perl(Net::SNMP) is needed by nagios-plugins-1.3.1-10.1.fc3.rf.i386
> 
>  
> 
> Tried installing 1.4.x version, but the error message is the same.
> 
>  
> 
>  
> 
> Related packages installed on the system
> 
>  
> 
> gd-2.0.28-1
> 
> gd-devel-2.0.28-1
> 
>  
> 
> fping-2.4-1.b2.1.fc3.rf
> 
>  
> 
> SNMP packages installed on the system are
> 
>  
> 
> [net-snmp-libs-5.1.2-11
> 
> net-snmp-utils-5.1.2-11
> 
> net-snmp-devel-5.1.2-11
> 
> net-snmp-5.1.2-11
> 
>  
> 
> Perl modules installed on the system 
> 
>  
> 
> perl-HTML-Parser-3.35-6
> 
> perl-libxml-perl-0.07-30
> 
> perl-Digest-SHA1-2.07-5
> 
> perl-Convert-ASN1-0.18-3
> 
> perl-LDAP-0.31-5
> 
> perl-XML-LibXML-Common-0.13-7
> 
> perl-Filter-1.30-6
> 
> perl-DBI-1.40-5
> 
> newt-perl-1.08-7
> 
> perl-DBD-MySQL-2.9003-5
> 
> mod_perl-1.99_16-3
> 
> perl-HTML-Tagset-3.03-30
> 
> perl-Parse-Yapp-1.05-32
> 
> perl-XML-Parser-2.34-5
> 
> perl-XML-Dumper-0.71-2
> 
> perl-libxml-enno-1.02-31
> 
> perl-Digest-HMAC-1.01-13
> 
> perl-Time-HiRes-1.55-3
> 
> perl-XML-NamespaceSupport-1.08-6
> 
> perl-XML-SAX-0.12-7
> 
> perl-XML-Twig-3.13-6
> 
> perl-Crypt-SSLeay-0.51-5
> 
> perl-XML-LibXML-1.58-1
> 
> perl-5.8.5-9
> 
> perl-URI-1.30-4
> 
> perl-DateManip-5.42a-3
> 
> perl-libwww-perl-5.79-5
> 
> perl-XML-Encoding-1.01-26
> 
> perl-Net-DNS-0.48-1
> 
> perl-XML-Grove-0.46alpha-27
> 
> net-snmp-perl-5.1.2-11
> 
>  
> 
>  
> 
>  
> 
> What I am missing. Any assistance is highly appreciated.
> 
>  
> 
> -          padaki
> 
> -           
> 
> 

-- 






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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