Page 1 of 2
Nagvis link returns 404 error
Posted: Wed May 13, 2015 9:36 am
by QS1
Nagios XI 2014R2.3 (virtual)
64-Bit Centos 6.6 OS
I want to start using Nagvis with Nagiosxibut when accessing the Nagvis link within NagiosXI i receive the following:
----------------------
Not Found
The requested URL /nagvis/ was not found on this server.
Apache/2.2.15 (CentOS) Server at x.x.50.59 Port 443
----------------------
I tried using
http://x.x.x.x/Nagvis also but get the same 404 error
I see there is a new release avaialble 2014R2.7 but I don't see many threads about Nagvis lately on your support forum. Any ideas?
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 10:08 am
by lmiltchev
Nagios XI (2012 and newer) ships with NagVis by default. I am not sure why you are having these issues. You should see a "NagVis" link under "Maps" menu on the left hand side. When you click on it, you should be able to log in as the "nagiosadmin" using the same credentials you use in XI...
Have you tried to install NagVis manually or upgrade the existing version? If you did, most probably this is what caused the issue.
Run the following commands and show us the output:
Code: Select all
ll /usr/local/nagvis/
grep Readme /usr/local/nagvis/README
cat /etc/httpd/conf.d/nagvis.conf
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 10:37 am
by QS1
OK. There does not appear to be a Nagvis folder in usr/local directory on the production machine. I did start to follow the instructional
http://assets.nagios.com/downloads/nagi ... I.pdf..and downloaded the .sh file..but saw the disclaimer at the top that it had been integrated...so I stopped
I have another Nagiosxi instance for sandbox (2014R1.4) is does the same thing with the Nagvis link producing the Not Found Error..I've not applied anything to this server..the usr/local/Nagvis folder on this machine does not exist either
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 11:02 am
by lmiltchev
How did you install XI? Is this a "source install" or you used one of our VMs? If you used the source installer, did you follow the document below:
https://assets.nagios.com/downloads/nag ... ctions.pdf
or you used some custom/offline install method? Have you modified in any way our install scripts? Do you have the "install.log" available for a review?
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 11:31 am
by QS1
It was a source install. I created the VM and used the install instruction referenced. I can't find the install.log within searching..would it be in any particular area of Nagios or Nagiosxi?
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 12:03 pm
by lmiltchev
The "install.log" should be in "/tmp/nagiosxi/" directory. Can you run the following commands and show us the output?
Code: Select all
ll /usr/local/
grep Readme /usr/local/nagvis/README
cat /etc/httpd/conf.d/nagvis.conf
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 1:21 pm
by QS1
Nagvis does not exist here
[root@nagiosxi ~]# ll /usr/local
total 64
drwxr-xr-x. 2 root root 4096 Mar 26 08:58 bin
drwxr-xr-x. 2 root root 4096 Sep 23 2011 etc
drwxr-xr-x. 2 root root 4096 Sep 23 2011 games
drwxr-xr-x. 2 root root 4096 Sep 23 2011 include
drwxr-xr-x. 3 root root 4096 Dec 1 2011 lib
drwxr-xr-x. 3 root root 4096 Dec 31 09:08 lib64
drwxr-xr-x. 2 root root 4096 Sep 23 2011 libexec
drwxr-xr-x. 9 nagios nagios 4096 Sep 23 2014 nagios
drwxr-xr-x. 6 root root 4096 Jan 24 2014 nagiosmobile
drwxr-xr-x 10 nagios nagios 4096 Jan 11 2010 nagiosxi
drwxr-xr-x 10 nagios nagios 4096 Dec 18 14:02 nagiosxiold
drwxr-xr-x. 7 nagios nagios 4096 Jan 24 2014 nrdp
drwxr-xr-x. 4 root root 4096 Jan 24 2014 nsis
drwxr-xr-x. 2 root root 4096 Sep 23 2011 sbin
drwxr-xr-x. 6 root root 4096 Dec 31 09:08 share
drwxr-xr-x. 2 root root 4096 Sep 23 2011 src
Nagvis.conf does not exist here
[root@nagiosxi ~]# ll /etc/httpd/conf.d
total 72
-rw-r--r-- 1 root root 471 Mar 19 03:45 drupal7.conf
-rw-r--r-- 1 root root 5767 Mar 18 15:20 drupal7-site.htaccess
-rw-r--r--. 1 root root 330 Nov 12 2012 mrtg.conf
-rwxr-xr-x. 1 root root 1016 Dec 12 2011 nagios.conf
-rwxrwxrwx. 1 root root 601 Jan 24 2014 nagiosmobile.conf
-rwxr-xr-x. 1 root root 427 Jan 7 11:06 nagiosql.conf
-rwxr-xr-x. 1 root root 691 Dec 12 15:28 nagiosxi.conf
-rw-r--r--. 1 root root 344 Jan 24 2014 nrdp.conf
-rw-r--r-- 1 root root 674 Oct 30 2014 php.conf
-rw-r--r-- 1 root root 392 Oct 16 2014 README
-rw-r--r--. 1 root root 9844 Jan 24 2014 ssl.conf
-rw-r--r--. 1 root root 9473 Jan 24 2014 ssl.conf.nagiosxibackup
-rw-r--r-- 1 root root 299 Aug 15 2014 welcome.conf
[root@nagiosxi ~]#
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 2:13 pm
by tgriep
Can you run the following and post the output back?
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 2:28 pm
by QS1
[root@nagiosxi ~]# find / -name nagvis*
/usr/local/nagiosxiold/html/includes/components/nagvis
/usr/local/nagiosxiold/html/includes/components/nagvis/nagvis.inc.php
/usr/local/nagiosxi/html/includes/components/nagvis
/usr/local/nagiosxi/html/includes/components/nagvis/nagvis.inc.php
[root@nagiosxi ~]#
Re: Nagvis link returns 404 error
Posted: Wed May 13, 2015 4:40 pm
by tgriep
Make a backup of the server and try following the instructions for installing Nagvis.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf