[root@nagios /]# grep COMPONENT_VERSION /usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
COMPONENT_VERSION => '2.0.3'
[root@nagios /]# ll /usr/local/nagiosxi/html/includes/components/nagvis/
total 1852
-rwxr-xr-- 1 nagios nagios 1844 Jan 6 2017 add_map_links.inc.php
-rwxr-xr-- 1 nagios nagios 795 Sep 19 11:13 CHANGES.txt
-rwxr-xr-- 1 nagios nagios 3262 Sep 19 11:13 install.sh
drwxr-xr-x 2 nagios nagios 4096 May 22 2019 mods
-rwxr-xr-- 1 nagios nagios 1852530 Sep 19 11:13 nagvis-1.9.8-nagios.tar.gz
-rwxr-xr-- 1 nagios nagios 4715 Sep 19 11:13 nagvis.inc.php
-rwxr-xr-- 1 nagios nagios 596 Jan 6 2017 sanity.sh
drwxr-xr-x 2 nagios nagios 4096 Jul 9 2018 scripts
-rwxr-xr-- 1 nagios nagios 4300 Sep 19 11:13 upgrade.sh
Issues With Nagvis Authentication
Re: Issues With Nagvis Authentication
Hello,
I have changed the file nagvis.ini.php from logonmodule=“LogonSession” To logonmodule=“LogonMixed”, this gives me the logon window for Nagvis and I can log on and it works.
I am hoping this can be a temporary solution as I would like to logon with having separate credentials in the end.
Thanks
Terry
I have changed the file nagvis.ini.php from logonmodule=“LogonSession” To logonmodule=“LogonMixed”, this gives me the logon window for Nagvis and I can log on and it works.
I am hoping this can be a temporary solution as I would like to logon with having separate credentials in the end.
Thanks
Terry
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Lets perform the upgrade
Code: Select all
/usr/local/nagiosxi/html/includes/components/nagvis/upgrade.shRe: Issues With Nagvis Authentication
This is the message from running the script
[root@nagios /]# /usr/local/nagiosxi/html/includes/components/nagvis/upgrade.sh
You must have NagVis version 1.5.x to automatically upgrade.
Note: In this situation we recommend installing the latest version of XI
on a clean system for best results.
[root@nagios /]# /usr/local/nagiosxi/html/includes/components/nagvis/upgrade.sh
You must have NagVis version 1.5.x to automatically upgrade.
Note: In this situation we recommend installing the latest version of XI
on a clean system for best results.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Can you remove the following starting on line 43 of /usr/local/nagiosxi/html/includes/components/nagvis/upgrade.sh and run the script again
Code: Select all
if ! grep -q "NagVis 1.5" /usr/local/nagvis/README; then
# Verify version and upgrade if we need to
if grep -q '1.9.8' /usr/local/nagvis/share/server/core/defines/global.php ; then
update_config_and_mods
else
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
fi
Re: Issues With Nagvis Authentication
Hello,
I have commented out the lines as advised, and re-ran the upgrade script. My authentication problem looks like it has been resolved.
The package identified is still showing 1.9.8 instead of the current version from Nagvis of 1.9.17.
I am still running from the hyperV package install, should I upgrade them manually?
Nagios 5.6.6
Nagvis 1.9.8
php 5.4.16
My auto upgrade of Nagios does not work I have been doing manual upgrades, I will log a separate issue for this.
Thanks
I have commented out the lines as advised, and re-ran the upgrade script. My authentication problem looks like it has been resolved.
The package identified is still showing 1.9.8 instead of the current version from Nagvis of 1.9.17.
I am still running from the hyperV package install, should I upgrade them manually?
Nagios 5.6.6
Nagvis 1.9.8
php 5.4.16
My auto upgrade of Nagios does not work I have been doing manual upgrades, I will log a separate issue for this.
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Issues With Nagvis Authentication
Great!tpwebb wrote:I have commented out the lines as advised, and re-ran the upgrade script. My authentication problem looks like it has been resolved.
The only one of the above that is to be upgraded is Nagios has a 5.6.8 available and the preferred method for upgrading is the followingtpwebb wrote:I am still running from the hyperV package install, should I upgrade them manually?
Nagios 5.6.6
Nagvis 1.9.8
php 5.4.16
My auto upgrade of Nagios does not work I have been doing manual upgrades, I will log a separate issue for this.
https://assets.nagios.com/downloads/nag ... ctions.pdf
Locking thread