Nagios Core to Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Nagios Core to Nagios XI

Post by pbachu2 »

Hi All,

We are currently using Nagios Core 4.0.8 and we are in the progress to migrate this to Nagios XI.
We have installed XI on new RedHat 7.1 server.
Able to login to Nagios XI GUI console.

Now we need to migrate complete Core to XI.
Can someone please suggest what all are required for the migration and where/how to start with.How to move all hosts/services to XI ,etc.
Please suggest.


Thanks In Advance!!
Regards,
Priyanka Bachu
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Core to Nagios XI

Post by mcapra »

This process is pretty well documented and supported:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I'd recommend moving everything over to a completely new VM with a fresh installation of the latest Nagios XI version.

Let us know if you encounter specific problems with the migration process. It's something that a lot of people have done before -- getting help shouldn't be a major issue :)
Former Nagios employee
https://www.mcapra.com/
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Core to Nagios XI

Post by benjaminsmith »

Thanks @mcapra!

@pbachu2 Take a look at the migration guide and 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!
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Nagios Core to Nagios XI

Post by pbachu2 »

Thanks @benjaminsmith \ @mcapra,

We have setup new nagios XI.Moved all config files from core to Xi.Imported too to XI GUI.
Most of the Hosts are UP and providing us genuine output in XI GUI.
However all the service checks are failed and CRITICAL in XI now.

Few of the CRITICAL services just as sample are listed below:Please suggest.

CPU --- Error 1 :(No output on stdout) stderr: connect to address 10.129.28.12 port 5666: Connection refused
Error 2 : Service check timed out after 60.01 seconds
check_command : check_nrpe ; command : $USER1$/check_nrpe -H $HOSTADDRESS$ -t 120 -c $ARG1$
$ARG1$ : check_cpu

Memory --- Error 1 :(No output on stdout) stderr: connect to address 10.129.28.12 port 5666: Connection refused
Error 2 : Service check timed out after 60.01 seconds
check_command : check_nrpe ; command : $USER1$/check_nrpe -H $HOSTADDRESS$ -t 120 -c $ARG1$
$ARG1$ : CheckCounter -a "Counter=\Memory\Available Bytes" ShowAll MinWarn=157286400 MinCrit=104857600


Is it because of the service configuration files not correct ?
Please suggest.


Thanks & Regards,
Priyanka Bachu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Core to Nagios XI

Post by benjaminsmith »

Hello,

Is the Nagios XI server using a different IP address than the Nagios Core Server. If you so, you'll need to update the nsclient.ini to allow communication from the Nagios XI server and then re-start the service.

Code: Select all

allowed hosts = ipaddress1, ipaddress2
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!
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Nagios Core to Nagios XI

Post by pbachu2 »

Hi Smith,

Yes I have made IP entry in nsclient.ini file and checked but same error.
Could you please check if this command and arguements( Mentioned in yesterday Post) are correct.

Also could you please provide correct command/plugin for cpu.memory,disk utilisation services for Linux servers .
I will configure with new commands and test for 1 server if it works.

Please suggest how to go further.

Thanks for all your support!!

Regards,
priyanka Bachu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Core to Nagios XI

Post by benjaminsmith »

Hello,

A couple of questions.

1. From the Nagios XI server, run an nmap on the remote host. The port, 5666, for nrpe should be open.

Code: Select all

nmap <ip address>
2. If the port is open, run the check command directly from the plugin in directory ( /usr/local/nagios/libexec ) on the Nagios XI server. Are you getting the same results?

3. Can you PM or post the nsclient.ini file to the ticket and send over your system profile. Thanks.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message and then reply to this post to bring it up in the queue.
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!
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Nagios Core to Nagios XI

Post by pbachu2 »

Hi Smith,

Thank you..
The issue was 5666 ports were blocked for all linux servers from Nagios XI server.
Most of the services got OK now.

However other services especially DB related services are getting error.Please find the below error and kindly suggest .

ERROR:
/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file: No such file or directory a

check_command :
$USER1$/monitoring-plugins/check_oracle_health -t 60 --connect=$HOSTADDRESS$/$ARG1$ --username=$USER29$ --password=$USER30$ --mode=$ARG2$

Regards,
Priyanka Bachu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Core to Nagios XI

Post by benjaminsmith »

Hello @pbachu2,
Thank you..
The issue was 5666 ports were blocked for all linux servers from Nagios XI server.
Most of the services got OK now.
Happy to hear that most of your checks are working correctly.
/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file: No such file or directory a
Did you install the required perl modules: DBI and DBD::Oracle? According to the error message above, it can't find DBD::Oracle.

You''ll find the installation instructions on this page:
https://labs.consol.de/nagios/check_ora ... index.html
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!
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Nagios Core to Nagios XI

Post by pbachu2 »

Hi Smith,

Thanks for all your prompt response and help :)
All the DB services are running now post installing oracle client on the XI server and changing command..thank you

Regards,
Priyanka Bachu
Locked