Lets manually upgrade Nagvis again and see if starts to function for you.
First, if you have any Nagvis Maps created, back them up first. They are located in this folder.
Run the following as root to download XI 5.5 so we know that you have a fresh copy.
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.5.0.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi/subcomponents/xicomponents/components/
unzip nagvis.zip
cd /tmp/nagiosxi/subcomponents/xicomponents/components/nagvis
Then edit the upgrade.sh script to comment out the section that checks the version of Naviis so change this from
Code: Select all
if ! grep -q "NagVis 1.5" /usr/local/nagvis/README; then
echo "You must have NagVis version 1.5.x to automatically upgrade."
echo "Note: In this situation we recommend installing the latest version of XI"
echo "on a clean system for best results."
exit 0
fi
to
Code: Select all
#if ! grep -q "NagVis 1.5" /usr/local/nagvis/README; then
# echo "You must have NagVis version 1.5.x to automatically upgrade."
# echo "Note: In this situation we recommend installing the latest version of XI"
# echo "on a clean system for best results."
# exit 0
#fi
Save the file and run the upgrade
Then check this file
Code: Select all
/usr/local/nagvis/etc/nagvis.ini.php
To verify that the logonmodule option is set to the following
If not, update it, save the file and restart apache by running
After this, see if you can login to the Nagvis GUI.