Support ticket query

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Support ticket query

Post by mejokj »

Hello,

I have issue with support ticket login.

Below is the last reply of my support ticker regarding one issue.

+++++++++++++++++
ve been informed that offline install isn't available for RHEL 8 or CentOS 8. It's only Cent7 or RHEL7 that can do an offline install.

Likewise, the RHEL8 repos don't contain 5.5.10. Installing 5.5.10 from source also isn't an option because it's too old to support RHEL 8.

This leaves us with installing the latest Nagios XI on the RHEL8 server, then migrating the configuration database over to the new server.

As far as migrating goes, the simplest solution is probably to deploy the new server with Nagios XI installed (simplest way is probably to install using a package manager - instructions here: https://repo.nagios.com/ - OR use one of our VMWare images available here).

Then export the configuration from the old machine, and import them into the new one following these steps:

Step 1: Exporting the Configuration Database
https://assets.nagios.com/downloads/nag ... tabase.pdf
Step 2: Using the Config Import Prep Tool (Note: You might be able to get away with skipping this step if you're going from an XI version with the same major and minor version number, e.g. 5.8.0 -> 5.8.1, or 5.7.3 -> 5.7.5.)
https://assets.nagios.com/downloads/nag ... p-Tool.pdf
Step 3: Importing Core Configuration Files Into Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Simplification of 2nd and 3rd Steps
There's a simpler route you can take in the 2nd and 3rd step, however, if you use these commands on the new server to copy and prep the old config all in one go:

# copy config from old server
rsync -SHav --delete <MY OLD SERVER IP>:/usr/local/nagios/etc/ /usr/local/nagios/etc/cfgprep/
# run the import prep tool
mkdir -p /usr/local/nagios/etc/import
cd /usr/local/nagios/etc/import
find ../cfgprep -type f -name '*.cfg' -exec php /usr/local/nagiosxi/tools/xiprepimport.php {} \;


Then when importing (see Step 3), all you have to do is select the "Show only import directory" checkbox, then select all the files you see.

++++++++++++


I have done the following steps but it shows the attached screenshot image error after apply configuration
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: Support ticket query

Post by benjaminsmith »

Hi mejokj,

My apologies for the inconvenience, the ticketing system is working now. Please let me know if you have any issues logging in again.

I passed on your reply to Dan and he will follow up on the ticket.

Thanks,
Benjamin
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!
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Support ticket query

Post by dchurch »

There was a mistake in the instructions I gave you; the instructions didn't account for some static configuration that shouldn't be imported into the database. Those files came across in the directories /usr/local/nagios/etc/cfgprep/{import,cfgprep,static}

We can recover your system without having to nuke and re-import if you:

1. Navigate to Config => Core Config Manager
2. Open Time Periods
3. Select xi_timeperiod_none and select "Delete"

Then, instead of using Apply Config, try going to to Config (top menu) -> Core Config Manager => Config File Management (left menu), then running Delete, Write, then Verify.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked