Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: jysse 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
-
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:
yum locallinstall *.rpm
HTH
ciao
Stefano
-
No, I can't find files from server. I'm quite sure that problem lies in repository side.
thanks, jysse
-
No, I can't find files from server.
Read and follow http://wiki.contribs.org/Nagios#Download