Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
NagiosXI Installation Upgrade Guide
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
''Auto-generated from the uploaded PDF [[:File:NagiosXI_Installation_Upgrade_Guide.pdf|NagiosXI_Installation_Upgrade_Guide.pdf]]. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.'' <pre> <nowiki> Nagios XI Installation & Upgrade Guide This document describes the steps to install Nagios XI on a fresh Ubuntu server, migrate data from an existing CentOS Nagios XI setup, and upgrade Ubuntu from 20.04 to 22.04. The steps have been derived from actual installation logs and have been structured for clarity and repeatability. 1. Download and Install Nagios XI 5.8.9 wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.8.9.tar.gz tar xfz xi-5.8.9.tar.gz cd nagiosxi/ ./fullinstall 2. Disable UFW Firewall (if enabled) ufw status ufw disable 3. Stop Nagios and Database Services systemctl stop nagios systemctl stop npcd systemctl stop mysqld || systemctl stop mariadb || systemctl stop mysql 4. Migrate Nagios XI Data to /data/app mkdir -p /data/app/ rsync -av /usr/local/nagios /data/app/ rsync -av /usr/local/nagiosxi /data/app/ rsync -av /usr/local/nagvis /data/app/ rsync -av /usr/local/nrdp /data/app/ rsync -av /usr/local/nsis /data/app/ 5. Replace Old Directories with Symlinks mv /usr/local/nagios /usr/local/nagios.back mv /usr/local/nagiosxi /usr/local/nagiosxi.back mv /usr/local/nagvis /usr/local/nagvis.back mv /usr/local/nrdp /usr/local/nrdp.back mv /usr/local/nsis /usr/local/nsis.back ln -s /data/app/nagios /usr/local/nagios ln -s /data/app/nagiosxi /usr/local/nagiosxi ln -s /data/app/nagvis /usr/local/nagvis ln -s /data/app/nrdp /usr/local/nrdp ln -s /data/app/nsis /usr/local/nsis 6. Start Required Services systemctl start mysql systemctl start nagios systemctl start npcd 7. Restore from Backup /usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/<backup_file>.tar.gz 8. Upgrade Nagios XI to Latest Version wget https://assets.nagios.com/downloads/nagiosxi/<latest_version>.tar.gz tar xvzf <latest_version>.tar.gz cd nagiosxi ./upgrade 9. Upgrade Ubuntu from 20.04 to 22.04 apt update apt install update-manager-core do-release-upgrade 10. Install SourceGuardian Loader (for PHP extensions) wget https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz tar -zxvf loaders.linux-x86_64.tar.gz cp loaders.linux-x86_64/ixed.8.1.lin /usr/lib/php/20210902/ echo "zend_extension=ixed.8.1.lin" | sudo tee -a /etc/php/8.1/cli/php.ini echo "zend_extension=ixed.8.1.lin" | sudo tee -a /etc/php/8.1/apache2/php.ini systemctl restart apache2 11. Final Restart of All Services systemctl restart nagios systemctl restart npcd systemctl restart cron </nowiki> </pre>
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)