Page 1 of 1
Nagvis doesn't work in Nagios XI
Posted: Tue Jan 19, 2016 2:30 am
by mohans_15
Dear Experts,
I am using Nagios XI 2014 R2 and I am trying to use Nagvis.
In the nagios documentation, I read that Nagvis gets installed by default during the Nagios XI installation.
But I am unable to view any maps rather the nagvis page gives an error when I try to access as below:
Not Found
The requested URL /nagvis/ was not found on this server.
Apache/2.2.15 (Red Hat) Server at cbq2-svu-nagxi1 Port 443
I tried running the install script with root access but I received a permission denied error.
Can you please guide me to check if the nagvis process is running or if it is installed first of all?
Regards
Mohan
Re: Nagvis doesn't work in Nagios XI
Posted: Tue Jan 19, 2016 11:16 am
by rkennedy
From the Nagios XI machine, can you try running
wget http://127.0.0.1/nagvis/ and post the result?
It should show you this -
Code: Select all
[root@suse11 etc]# wget http://127.0.0.1/nagvis/
--2016-01-19 09:21:39-- http://127.0.0.1/nagvis/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 401 Authorization Required
Authorization failed.
[root@suse11 etc]#
It should be included in your system by default as you mentioned. Was the system upgraded from a version prior to 2012?
Re: Nagvis doesn't work in Nagios XI
Posted: Wed Jan 20, 2016 2:35 am
by mohans_15
No, it was a fresh installation of Nagios XI 2014.
Re: Nagvis doesn't work in Nagios XI
Posted: Wed Jan 20, 2016 2:37 am
by mohans_15
wget
http://127.0.0.1/nagvis/
--2016-01-20 10:35:54--
http://127.0.0.1/nagvis/
Resolving proxy.cbq.com.qa... 10.2.0.200
Connecting to proxy.cbq.com.qa|10.2.0.200|:3128... connected.
Proxy request sent, awaiting response... 302 Found
Location:
http://www.cfauth.com/?cfru=aHR0cDovLzE ... 9uYWd2aXMv [following]
--2016-01-20 10:35:54--
http://www.cfauth.com/?cfru=aHR0cDovLzE ... 9uYWd2aXMv
Connecting to proxy.cbq.com.qa|10.2.0.200|:3128... connected.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
Re: Nagvis doesn't work in Nagios XI
Posted: Wed Jan 20, 2016 10:57 am
by rkennedy
From the local machine, I believe Nagvis is installed and working it seems on port 80.
Code: Select all
The requested URL /nagvis/ was not found on this server.
Apache/2.2.15 (Red Hat) Server at cbq2-svu-nagxi1 Port 443
Are you able to access it over http from your machine?
Re: Nagvis doesn't work in Nagios XI
Posted: Thu Jan 21, 2016 2:03 am
by mohans_15
No, it is not working over http as well.
Not Found
The requested URL /nagvis was not found on this server.
Apache/2.2.15 (Red Hat) Server at cbq2-svu-nagxi1 Port 80
Re: Nagvis doesn't work in Nagios XI
Posted: Thu Jan 21, 2016 10:06 am
by rkennedy
Odd, can you post your nagvis apache configuration?
Re: Nagvis doesn't work in Nagios XI
Posted: Sun Jan 24, 2016 12:44 am
by mohans_15
I don't see this file in the given directory. Please find below:
[root@cbq2-svu-nagxi1 conf.d]# pwd
/etc/httpd/conf.d
[root@cbq2-svu-nagxi1 conf.d]# ls
mrtg.conf nagiosql.conf php.conf ssl.conf.nagiosxibackup
nagios.conf nagiosxi.conf README welcome.conf
nagiosmobile.conf nrdp.conf ssl.conf
[root@cbq2-svu-nagxi1 conf.d]#
Re: Nagvis doesn't work in Nagios XI
Posted: Mon Jan 25, 2016 10:58 am
by lmiltchev
Connecting to proxy.cbq.com.qa|10.2.0.200|:3128... connected.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
First of all, set up your proxy according to our recommendations posted on our FAQ wiki page:
https://support.nagios.com/wiki/index.p ... th_Proxies
I am not sure why NagVis was not installed with XI - it is shipped with XI and it is present on my test XI 2014R2.7 box...
Try force upgrade on all addons (components, wizards, dashlets, etc.) by running:
Note: Backup your Nagios XI server prior to force-upgrading the addons.
See if NagVis will reinstall properly.