NAGIOS XI installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: NAGIOS XI installation

Post by sikainfo »

I just tried to downgrade PHP, which was not possible, so I need a solution for the actual version.

By the way, we have just received our license for NAGIOS XI and I have registered this Friday last week.
So if you need we may run this as a official Support Case.

Thx Andy
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NAGIOS XI installation

Post by mguthrie »

Can you post the output from:

Code: Select all

yum list installed | grep php
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: NAGIOS XI installation

Post by agriffin »

What happens if you try running these commands to manually install the missing packages?

Code: Select all

# yum install php-mssql
# yum install php-mcrypt
aplatten
Posts: 6
Joined: Mon Mar 26, 2012 6:18 am

Re: NAGIOS XI installation

Post by aplatten »

see below the output of:

[root@chsismon1 Desktop]# yum list installed | grep php
php.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-cli.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-common.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-gd.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-mysql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pdo.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-pear.noarch 1:1.9.4-4.el6 @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pgsql.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
php-snmp.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-optional-6
php-xml.x86_64 5.3.3-3.el6_2.6 @rhel-x86_64-server-6
aplatten
Posts: 6
Joined: Mon Mar 26, 2012 6:18 am

Re: NAGIOS XI installation

Post by aplatten »

blow output of yum install ...:

[root@chsismon1 Desktop]# yum install php-mssql
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
rpmforge | 1.1 kB 00:00
Setting up Install Process
No package php-mssql available.
Error: Nothing to do
[root@chsismon1 Desktop]# yum install php-mcrypt
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NAGIOS XI installation

Post by scottwilkerson »

Looking back at your first install log I saw line 34
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
This is likely the problem as both of these items are in the epel repo.

Lets run the following

Code: Select all

cd /tmp
rm -rf xi-*.gz nagiosxi
wget http://assets.nagios.com/downloads/nagiosxi/xi-2011-latest.tar.gz
tar xzf xi-2011-latest.tar.gz
cd /tmp/nagiosxi
./fullinstall
If you get an error again, send the fresh install.log file.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: NAGIOS XI installation

Post by sikainfo »

THX to scottwilkerson,

I could solve my trouble and got everything installed correctly.

The entry in the EPEL.repo file witch was installed by default was wrong.
So I went trought the internet to loook for the correct URL, corrected the entry, and .... it worked.

Below i post the content of /etc/yum.repo.d/epel.repo

Again thx to all for your help

[root@chsismon1 yum.repos.d]# more epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraprojekt.org/pub/epel/6/$basearch
baseurl=http://dl.fedoraproject.org/pub/epel/6/x86_64/
#mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failover=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NAGIOS XI installation

Post by scottwilkerson »

Glad to be of help.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked