Hi Team,
I have upgraded nagios to latest version i.e 5.5
After that nagvis stopped working.
Now when i click on NagVis on home page under maps it throws error "The section is not supported in main configuration. Please take a look at the documentation."
Attached system profile for reference.
Please advise.
NagVis not working after nagios upgrade
NagVis not working after nagios upgrade
Last edited by lmiltchev on Tue Jul 10, 2018 3:23 pm, edited 1 time in total.
Reason: Profile shared among Nagios Support staff, and removed from the public forum.
Reason: Profile shared among Nagios Support staff, and removed from the public forum.
Re: NagVis not working after nagios upgrade
I don't believe that you were able to upgrade NagVis properly. The version shown in the profile is 1.5.10
Then edit the upgrade.sh script to comment out the section that checks the version of Nagvis so change this from this:
to this:
Save the file and run the upgrade:
Restart nagios and apache:
but it should be 1.9.7...define('CONST_VERSION', '1.5.10');
Run the following as root to download XI 5.5 so we know that you have a fresh copy.define('CONST_VERSION', '1.9.7');
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-5.5.0.tar.gz
cd /tmp/nagiosxi/subcomponents/xicomponents/components/
unzip nagvis.zip
cd nagvis
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
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
Code: Select all
./upgrade.sh
Code: Select all
service nagios restart
service httpd restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagVis not working after nagios upgrade
Thanks lmiltchev for replying.
Do we need to upgrade NagVis when upgrading nagios.
Do we need to upgrade NagVis when upgrading nagios.
Re: NagVis not working after nagios upgrade
You don't need to upgrade NagVis manually. The Nagios XI upgrade should take care of upgrading NagVis. I would recommend upgrading to Nagios XI 5.5.1, which was released yesterday. Make all necessary backups, snapshots, etc. then run:
Let us know if this helped.
Code: Select all
cd /tmp
rm -rf xi* nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.5.1.tar.gz
tar xvf xi-5.5.1.tar.gz
cd nagiosxi
./upgrade
Be sure to check out our Knowledgebase for helpful articles and solutions!