[sf-lug] Nagios on CentOS (perl-Net-SNMP vs. perl-net-snmp)
Tom Haddon
tom at greenleaftech.net
Fri Jun 13 13:51:21 PDT 2008
On Fri, 2008-06-13 at 13:19 -0700, Bill Teeple wrote:
> CPAN is nice, but a pre-compiled RPM is nicer. CPAN is for those
> console jockies who enjoy compiling the code from hand - I find it to
> be a bit intimidating to use (just my opinion - don't flame me).
I'm fine with using CPAN, I just want to understand if I have something
configured wrong as I'm not very familiar with CentOS and I'd like to
make sure I haven't got a busted config
>
> yum install perl-Net-SNMP
[mthaddon at berlin jasperserver2.0.1]$ sudo yum install perl-Net-SNMP
Password:
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B
00:00
rpmforge 100% |=========================| 1.1 kB
00:00
base 100% |=========================| 1.1 kB
00:00
addons 100% |=========================| 951 B
00:00
extras 100% |=========================| 1.1 kB
00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: perl-Net-SNMP
Nothing to do
>
> Case Sensitive!
>
> Also - you might need to grab fro DAG repository/site:
> http://dag.wieers.com/rpm/
I think I have this setup already:
[mthaddon at berlin jasperserver2.0.1]$ cat /etc/yum.repos.d/rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 4 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
Am I missing something?
Cheers, Tom
>
> Bill
>
> PS - the only reason why I suggest the above, is because you said you
> installed the net-snmp-perl package, but I know it as something
> different - hence the above: perl-Net-SNMP nomenclature
>
>
>
> On Jun 13, 2008, at 12:21 PM, Tom Haddon wrote:
>
> > Hi Folks,
> >
> > Hoping there may be a RH/CentOS guru out there who can help me figure
> > out what I'm missing here - I'm all at sea...
> >
> > I'm trying to install nagios on a CentOS 4.6 server. I've added the
> > rpmforge repo per:
> >
> > http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
> >
> > I'm now trying to install nagios per:
> >
> > http://wiki.centos.org/HowTos/Nagios
> >
> > The first step (having correctly enabled the repos is:
> >
> > yum [update|install] nagios nagios-plugins nagios-devel
> > nagios-plugins-nrpe
> >
> > I get the following:
> >
> > Error: Missing Dependency: perl(Net::SNMP) is needed by package
> > nagios-plugins
> >
> > I've installed net-snmp-perl (net-snmp-perl-5.1.2-11.el4_6.11.3), but
> > it's still complaining that it doesn't have the right package. I've
> > looked online and I can see that a package potentially matching the
> > name
> > better is available here:
> >
> > http://dag.wieers.com/rpm/packages/perl-Net-SNMP/
> >
> > But from what I can see, I should already have access to that repo,
> > and
> > I'd rather not manually install a package without knowing what I've
> > configured wrongly.
> >
> > Any ideas?
> >
> > Thanks, Tom
> >
> >
> > _______________________________________________
> > sf-lug mailing list
> > sf-lug at linuxmafia.com
> > http://linuxmafia.com/mailman/listinfo/sf-lug
>
More information about the sf-lug
mailing list