Support ticket query
Posted: Mon Aug 02, 2021 9:02 am
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
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