Koozali.org: home of the SME Server

NRPE installation fails

Offline jysse

  • *
  • 16
  • +0/-0
NRPE installation fails
« on: December 04, 2007, 08:18:18 PM »
I'm trying to install NRPE for Nagios monitoring. Purpose is to monitor a SME Server at my client from my office (=nagios server).
Tried to follow wiki's docs about nagios but it seems that i can't add Dags repository.

wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

rpm --import RPM-GPG-KEY.dag.txt

/sbin/e-smith/db yum_repositories set dag repository Name 'Dag - EL4' BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' EnableGroups no GPGCheck yes GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Visible no Exclude freetype,htop,iptraf,rsync,syslinux status disabled

expand-template /etc/yum.conf
/usr/bin/yum --enablerepo=dag localinstall smeserver-nagios-nrpe-*.noarch.rpm smeserver-nagios-backup-*.noarch.rpm perl-Nagios-Plugin-*.noarch.rpm smeserver-nagios-plugins-mysql-*.noarch.rpm nagios-plugins-generic-*.noarch.rpm

--->>
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Cannot open file: smeserver-nagios-nrpe-*.noarch.rpm. Skipping.
Cannot open file: smeserver-nagios-backup-*.noarch.rpm. Skipping.
Cannot open file: perl-Nagios-Plugin-*.noarch.rpm. Skipping.
Cannot open file: smeserver-nagios-plugins-mysql-*.noarch.rpm. Skipping.
Cannot open file: nagios-plugins-generic-*.noarch.rpm. Skipping.
Nothing to do

yum search nagios
---->>
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Searching Packages:
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished


mod_auth_tkt.i386                        2.0.0rc2-1.el4.sme     smeos
Matched from:
http://www.openfusion.com.au/labs/nagios-of-plugins/


mod_auth_tkt.i386                        2.0.0rc2-1.el4.sme     installed
Matched from:
http://www.openfusion.com.au/labs/nagios-of-plugins/
================================================================
No new rpms were installed. No additional commands are required.

I'm quite new concerning Sme and the way how to install things, Can someone help me with this ?

jysse
 


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: NRPE installation fails
« Reply #1 on: December 04, 2007, 08:41:26 PM »
hi..
just a question: all the rpms you are trying to install are already on your server?

if yes, move all of them into a separate directory, cd and try:
Code: [Select]
yum locallinstall *.rpm

HTH

ciao
Stefano

Offline jysse

  • *
  • 16
  • +0/-0
Re: NRPE installation fails
« Reply #2 on: December 04, 2007, 09:19:15 PM »
No, I can't find files from server. I'm quite sure that problem lies in repository side.

thanks, jysse

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: NRPE installation fails
« Reply #3 on: December 05, 2007, 08:36:18 AM »