Restoration of Nagios XI - Xmartic

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Restoration of Nagios XI - Xmartic

Post by evisus »

Hello team.

I would like to know if it is possible to make a backup from a Nagios XI server installed in a 6.3 centres with php 5.4 and restore to a Nagios XI server installed in a centos 7 with php 7.

Will there be a problem with php 7?

Thank you in advance for your help
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Restoration of Nagios XI - Xmartic

Post by benjaminsmith »

Hello @evisus,

That shouldn't be a problem, but make sure you migrate between the same versions of Nagios XI. So either upgrade the current system to the latest prior to migrating, or install the same version on the new server and migrate.

Here's our migration guide with step-by-step instructions:

Backing Up And Restoring Your Nagios XI System

You can download previous versions from this page:

Nagios XI - Previous Versions

Let us know if you have any questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Restoration of Nagios XI - Xmartic

Post by evisus »

Hi.
I have built a laboratory in centos 7 and php 7.2 and I find an error installing nagios xi from the source:
####
Error: Package: nagiosxi-deps-el7-5.6.6-1.noarch (/nagiosxi-deps-el7-5.6.6-1.noarch)
Requires: php-mssql
Available: php-mssql-5.4.16-7.el7.x86_64 (nagiosxi-deps)
php-mssql = 5.4.16-7.el7
Available: php-mssql-5.4.16-9.el7.x86_64 (epel)
php-mssql = 5.4.16-9.el7
Error: Package: nagiosxi-deps-el7-5.6.6-1.noarch (/nagiosxi-deps-el7-5.6.6-1.noarch)
Requires: php-mysql
Available: php-mysql-5.4.16-46.el7.x86_64 (base)
php-mysql = 5.4.16-46.el7
Available: php-mysqlnd-5.4.16-46.el7.x86_64 (base)
php-mysql = 5.4.16-46.el7
Available: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (remi-php72)
php-mysql = 1:1.0.0
Installed: php-mysqlnd-7.2.22-1.el7.remi.x86_64 (@remi-php72)
Not found
Available: php-mysqlnd-7.2.21-1.el7.remi.x86_64 (remi-php72)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'
####

Is there any updated version of "nagiosxi-deps-el7-5.6.6-1.noarch" for php 7?

Any idea how to correct the error?

Thank you
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Restoration of Nagios XI - Xmartic

Post by benjaminsmith »

Hello @evisus,

There are conflicting php packages preventing the installer from completing. What commands did you use to install php 7, can you post them for us to review?

Take a look at this thread as a reference:
Upgrading PHP on Nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Restoration of Nagios XI - Xmartic

Post by evisus »

Hi.

I have used the instructions on the next page as a reference.

https://tecnstuff.net/how-to-install-php-7-on-centos-7/

I emphasize that I had no previous version of php installed on the server.
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Restoration of Nagios XI - Xmartic

Post by evisus »

This has worked for me: "Upgrading PHP on Nagios"

In short, we must perform a native installation of Nagios XI with php 5.5 and then migrate to Php 7.2

My intention was to start with php 7.2 but it was not possible.

Thanks for the help, you can close this thread
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Restoration of Nagios XI - Xmartic

Post by benjaminsmith »

Thanks for the help, you can close this thread
No problem.

Thank you for using the Nagios Support Forums.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked