We upgrade NagiosXI, the Nagvis also auto-upgrade to 1.9.8 and switch to a new style interface,
after change Nagvis headertemplate, it's header menu disappear, how to call it back?
it seems that some files had been changed but we don't know where? is it possible to replace files to original status or edit those files to default?!
/usr/local/nagvis/etc/nagvis.ini.php
/usr/local/nagvis/share/frontend/nagvis-js/classes/NagVisIndexView.php
/usr/local/nagvis/share/frontend/nagvis-js/js/NagVisCompressed.js
Nagvis 1.9.8 header menu disappear after upgrade NagiosXI...
Nagvis 1.9.8 header menu disappear after upgrade NagiosXI...
You do not have the required permissions to view the files attached to this post.
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
Our developers will be looking into the issue with the 'on-demand-filter'. Meanwhile, you can open the /usr/local/nagvis/etc/nagvis.ini.php file in a text editor, and change this:
to this:
in order to get your menu back.
Update: I filed an internal bug report on the issue (task_id=13972). Thank you!
Code: Select all
headertemplate="'on-demand-filter"Code: Select all
headertemplate="default"Update: I filed an internal bug report on the issue (task_id=13972). Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
Although headermenu back to default, but some other item still something strange(e.g. check headermenu) ...
Since we found that Nagvis 1.9.8 the three files below had been changed after upgrade or back to default, could you offer the original three files so we can compare what had been changed and to edit it back to the default status.
1. /usr/local/nagvis/etc/nagvis.ini.php
2. /usr/local/nagvis/share/frontend/nagvis-js/classes/NagVisIndexView.php
3. /usr/local/nagvis/share/frontend/nagvis-js/js/NagVisCompressed.js
Since we found that Nagvis 1.9.8 the three files below had been changed after upgrade or back to default, could you offer the original three files so we can compare what had been changed and to edit it back to the default status.
1. /usr/local/nagvis/etc/nagvis.ini.php
2. /usr/local/nagvis/share/frontend/nagvis-js/classes/NagVisIndexView.php
3. /usr/local/nagvis/share/frontend/nagvis-js/js/NagVisCompressed.js
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
Here's the files (from a clean install of Nagios XI 5.5.8 on CentOS 7):
1. /usr/local/nagvis/etc/nagvis.ini.php 2. /usr/local/nagvis/share/frontend/nagvis-js/classes/NagVisIndexView.php 3. /usr/local/nagvis/share/frontend/nagvis-js/js/NagVisCompressed.js Let us know if this helped. Thank you!
1. /usr/local/nagvis/etc/nagvis.ini.php 2. /usr/local/nagvis/share/frontend/nagvis-js/classes/NagVisIndexView.php 3. /usr/local/nagvis/share/frontend/nagvis-js/js/NagVisCompressed.js Let us know if this helped. Thank you!
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
After we use the three files to overwrite the old files, it even worse that Nagvis map disappear?!
how to solve this?
and when will the bug be fixed?
how to solve this?
and when will the bug be fixed?
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
According to our developers, this error should not happen in NagVis component ver. 2.0.2. Go to Admin > Manage Components, and click on "Check for Updates". Do you see a new version of the "NagVis Integration" component available? If you do, upgrade to it, and see if the issue is resolved. You still may need to change "headertemplate=" value to "default" in the /usr/local/nagvis/etc/nagvis.ini.php file (one more time).
If you are still having issues, please open a new support ticket via our support center here:
https://support.nagios.com/tickets/
We may need to schedule a remote session and bring in a developer in order to further troubleshoot this issue. Thank you!
If you are still having issues, please open a new support ticket via our support center here:
https://support.nagios.com/tickets/
We may need to schedule a remote session and bring in a developer in order to further troubleshoot this issue. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
Update: a few more things that I forgot to mention:
1. Upgrading the NagVis component from the GUI won't be enough to "fully" upgrade it. This will work in Nagios XI 5.6. For now, you would also need to run the following as root user (after upgrading the component from the GUI):
2. You will be able to select the "on-demand-filter" for "individual" maps (Map > Map Options > Appearance > header_template = on-demand-filter > Save.
3. Selecting the "on-demand-filter" globally (Options > General Configuration > Overview > headertemplate = on-demand-filter > Save) won't work - it will break NagVis. The page may load if you pass "backend_id=nagiosxi" to the URL, but this is not a real solution, so I would recommend not changing this option from the "default".
1. Upgrading the NagVis component from the GUI won't be enough to "fully" upgrade it. This will work in Nagios XI 5.6. For now, you would also need to run the following as root user (after upgrading the component from the GUI):
Code: Select all
cd /usr/local/nagiosxi/html/includes/components/nagvis
./upgrade3. Selecting the "on-demand-filter" globally (Options > General Configuration > Overview > headertemplate = on-demand-filter > Save) won't work - it will break NagVis. The page may load if you pass "backend_id=nagiosxi" to the URL, but this is not a real solution, so I would recommend not changing this option from the "default".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
We didn't find the place of "on-demand-filter" for "individual" maps (Map > Map Options > Appearance > header_template = on-demand-filter > Save ?!
When backup NagiosXI, will all the plug-in including NagVis also be backed up? if not, hot to backup?
When backup NagiosXI, will all the plug-in including NagVis also be backed up? if not, hot to backup?
Re: Nagvis 1.9.8 header menu disappear after upgrade NagiosX
Yes, NagVis is backed up. If you opened the "/usr/local/nagiosxi/scripts/backup_xi.sh" script in a text editor, you would see the following lines (around line 120):
Code: Select all
echo "Backing up Nagvis..."
tar czfp $mydir/nagvis.tar.gz /usr/local/nagvisBe sure to check out our Knowledgebase for helpful articles and solutions!