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
Nagvis doesn't work in Nagios XI
Re: Nagvis doesn't work in Nagios XI
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 -
It should be included in your system by default as you mentioned. Was the system upgraded from a version prior to 2012?
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]#
Former Nagios Employee
Re: Nagvis doesn't work in Nagios XI
No, it was a fresh installation of Nagios XI 2014.
Re: Nagvis doesn't work in Nagios XI
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.
--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
From the local machine, I believe Nagvis is installed and working it seems on port 80.
Are you able to access it over http from your machine?
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
Former Nagios Employee
Re: Nagvis doesn't work in Nagios XI
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
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
Odd, can you post your nagvis apache configuration?
Code: Select all
/etc/httpd/conf.d/nagvis.conf
Former Nagios Employee
Re: Nagvis doesn't work in Nagios XI
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]#
[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
First of all, set up your proxy according to our recommendations posted on our FAQ wiki page:Connecting to proxy.cbq.com.qa|10.2.0.200|:3128... connected.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
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:
Code: Select all
cd /tmp/nagiosxi
./upgrade -fSee if NagVis will reinstall properly.
Be sure to check out our Knowledgebase for helpful articles and solutions!