RHEL 5 YUM

Tom Diehl tdiehl at rogueind.com
Fri Aug 8 11:54:57 UTC 2008


On Fri, 8 Aug 2008, Sachin Sharma wrote:

> Hi,
>
> I am new to RHEL 5  and facing my first problem with YUM. I can't install
> nagios rhel 5 rpm with yum. However with rhel 4 i can easily do this with #
> up2date nagios.  I have tried following commands
>
>
>
> #  yum list *nagios*
>
> #  yum list all | grep -i nagios
>
> # yum provides nagios
>
>
>
> This displays no rpm. So now is it possible somehow, i can install nagios
> rpm or I have to install as source or from net only. Actually i want to
> manage my RHEL 5 Server with yum only and avoiding direct rpm or source
> installation.

You need the epel repo enabled. Nagios is not in RHEL.
I think rpmforge also has it but my system is setup to prefer EPEL packages
over rpmforge.

see http://fedoraproject.org/wiki/EPEL

FWIW:

(roadrunner pts7) # yum list nagios\*
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
  * epel: mirror.hmc.edu
  * local_tntechs_updates:
  * rpmforge: fr2.rpmfind.net
  * base:
  * updates:
  * addons:
  * extras:
Excluding Packages from Extra Packages for Enterprise Linux 5 - x86_64
Finished
Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag
Finished
2038 packages excluded due to repository priority protections
Available Packages
nagios.x86_64                            2.12-1.el5             epel
nagios-devel.x86_64                      2.12-1.el5             epel
nagios-plugins.x86_64                    1.4.11-2.el5           epel
nagios-plugins-all.x86_64                1.4.11-2.el5           epel
nagios-plugins-apt.x86_64                1.4.11-2.el5           epel
nagios-plugins-breeze.x86_64             1.4.11-2.el5           epel
nagios-plugins-by_ssh.x86_64             1.4.11-2.el5           epel
nagios-plugins-cluster.x86_64            1.4.11-2.el5           epel
nagios-plugins-dhcp.x86_64               1.4.11-2.el5           epel
nagios-plugins-dig.x86_64                1.4.11-2.el5           epel
nagios-plugins-disk.x86_64               1.4.11-2.el5           epel
nagios-plugins-disk_smb.x86_64           1.4.11-2.el5           epel
nagios-plugins-dns.x86_64                1.4.11-2.el5           epel
nagios-plugins-dummy.x86_64              1.4.11-2.el5           epel
nagios-plugins-file_age.x86_64           1.4.11-2.el5           epel
nagios-plugins-flexlm.x86_64             1.4.11-2.el5           epel
nagios-plugins-fping.x86_64              1.4.11-2.el5           epel
nagios-plugins-game.x86_64               1.4.11-2.el5           epel
nagios-plugins-hpjd.x86_64               1.4.11-2.el5           epel
nagios-plugins-http.x86_64               1.4.11-2.el5           epel
nagios-plugins-icmp.x86_64               1.4.11-2.el5           epel
nagios-plugins-ide_smart.x86_64          1.4.11-2.el5           epel
nagios-plugins-ifoperstatus.x86_64       1.4.11-2.el5           epel
nagios-plugins-ifstatus.x86_64           1.4.11-2.el5           epel
nagios-plugins-ircd.x86_64               1.4.11-2.el5           epel
nagios-plugins-ldap.x86_64               1.4.11-2.el5           epel
nagios-plugins-linux_raid.x86_64         1.4.11-2.el5           epel
nagios-plugins-load.x86_64               1.4.11-2.el5           epel
nagios-plugins-log.x86_64                1.4.11-2.el5           epel
nagios-plugins-mailq.x86_64              1.4.11-2.el5           epel
nagios-plugins-mrtg.x86_64               1.4.11-2.el5           epel
nagios-plugins-mrtgtraf.x86_64           1.4.11-2.el5           epel
nagios-plugins-mysql.x86_64              1.4.11-2.el5           epel
nagios-plugins-nagios.x86_64             1.4.11-2.el5           epel
nagios-plugins-nrpe.x86_64               2.7-3.el5              epel
nagios-plugins-nt.x86_64                 1.4.11-2.el5           epel
nagios-plugins-ntp.x86_64                1.4.11-2.el5           epel
nagios-plugins-nwstat.x86_64             1.4.11-2.el5           epel
nagios-plugins-oracle.x86_64             1.4.11-2.el5           epel
nagios-plugins-overcr.x86_64             1.4.11-2.el5           epel
nagios-plugins-perl.x86_64               1.4.11-2.el5           epel
nagios-plugins-pgsql.x86_64              1.4.11-2.el5           epel
nagios-plugins-ping.x86_64               1.4.11-2.el5           epel
nagios-plugins-procs.x86_64              1.4.11-2.el5           epel
nagios-plugins-radius.x86_64             1.4.11-2.el5           epel
nagios-plugins-real.x86_64               1.4.11-2.el5           epel
nagios-plugins-rpc.x86_64                1.4.11-2.el5           epel
nagios-plugins-sensors.x86_64            1.4.11-2.el5           epel
nagios-plugins-smtp.x86_64               1.4.11-2.el5           epel
nagios-plugins-snmp.x86_64               1.4.11-2.el5           epel
nagios-plugins-ssh.x86_64                1.4.11-2.el5           epel
nagios-plugins-swap.x86_64               1.4.11-2.el5           epel
nagios-plugins-tcp.x86_64                1.4.11-2.el5           epel
nagios-plugins-time.x86_64               1.4.11-2.el5           epel
nagios-plugins-udp.x86_64                1.4.11-2.el5           epel
nagios-plugins-ups.x86_64                1.4.11-2.el5           epel
nagios-plugins-users.x86_64              1.4.11-2.el5           epel
nagios-plugins-wave.x86_64               1.4.11-2.el5           epel
(roadrunner pts7) #
>
>
>
> Thanks !!
>

-- 
Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com




More information about the redhat-sysadmin-list mailing list