nagios client install error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
djansen1987
Posts: 4
Joined: Sun Nov 03, 2013 8:00 pm

nagios client install error

Post by djansen1987 »

Hi,

I have a server with cloudlinux and directadmin. Now i want to install nagios client on the machine.

While the install start i get the following error's:
--> Finished Dependency Resolution
Error: Package: nagios-plugins-pgsql-1.4.16-5.el6.x86_64 (epel)
Requires: libpq.so.5()(64bit)
Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
Requires: php
Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
Requires: httpd
Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: nagios-plugins-sensors-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/bin/sensors
Error: Package: nagios-plugins-disk_smb-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/bin/smbclient
Error: Package: nagios-plugins-rpc-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/sbin/rpcinfo
Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/sbin/ntpdate
Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/bin/snmpgetnext
Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/sbin/ntpq
Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
Requires: /usr/bin/snmpget
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


I installed nagios by:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/ ... noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterpris ... ease-6.rpm
yum -y install nagios nagios-plugins-all nrpe

Hope you van help me out!
djansen1987
Posts: 4
Joined: Sun Nov 03, 2013 8:00 pm

Re: nagios client install error

Post by djansen1987 »

I got this reply from Cloudlinux. Can someone confirm this for me:


Hello,

I suppose that packages like php*, httpd* etc. are placed in your yum exclude list in /etc/yum.conf, that's why you receive these dependency issues.
The best way is to install nrpe from source. I would recommend following this article in order to install nagios/nrpe:
http://kmaiti.blogspot.com/2010/09/how- ... el-or.html

Please feel free to let me know if you have any further questions or notes, as well as if you still need our assistance.

Kind regards,


--
Irina Gutzol
CloudLinux Support
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: nagios client install error

Post by slansing »

I'd recommend installing from source as well, you will need to figure out dependency issues, but chances are that the source install will resolve that for you:

http://assets.nagios.com/downloads/nagi ... Source.pdf
Locked