Overview
This KB article explains how to install the latest SourceGuardian loaders that Nagios XI uses with PHP.
Install
Establish a terminal session to your Nagios XI server as the root user and execute the following commands:
cd /tmp
rm -rf nagiosxi xi*
wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./init.sh
sed -i '/^PHP script/d' xi-sys.cfg
sed -i '/^1)/d' xi-sys.cfg
sed -i '/^2)/d' xi-sys.cfg
sed -i '/^3)/d' xi-sys.cfg
./install-sourceguardian-extension.sh
Once you've completed these steps you will need to restart the crond and httpd services:
RHEL 7 | CentOS 7 | Oracle Linux 7
systemctl restart crond.service
systemctl restart httpd.service
Debian | Ubuntu 16/18
systemctl restart cron.service
systemctl restart apache2.service
This completes the steps required to upgrade the SourceGuardian loaders.
Final Thoughts
For any support related questions please visit the Nagios Support Forums at: