Nagvis URL not found
Nagvis URL not found
Nagios XI 2014R2.6
nagvis 1.12
I had nagvis working fine on my test install. But not on my production server. I noticed URL not found. So I ran the install commands as listed on the component.
cd /usr/local/nagiosxi/html/includes/components/nagvis/
chmod +x install.sh
./install.sh
I logged out and back in.... Bu it seems to still be missing something.
[08/Jul/2015:10:29:06 -0500] <MYIP> TLSv1.2 ECDHE-RSA-AES256-SHA384 "GET /nagvis/ HTTP/1.1" 298
nagvis 1.12
I had nagvis working fine on my test install. But not on my production server. I noticed URL not found. So I ran the install commands as listed on the component.
cd /usr/local/nagiosxi/html/includes/components/nagvis/
chmod +x install.sh
./install.sh
I logged out and back in.... Bu it seems to still be missing something.
[08/Jul/2015:10:29:06 -0500] <MYIP> TLSv1.2 ECDHE-RSA-AES256-SHA384 "GET /nagvis/ HTTP/1.1" 298
Re: Nagvis URL not found
Nagvis ships with XI. The install script is actually for rather old XI versions. You may just be missing the apache vhost files. Lets check:
Also, lets check for the nagvis directory and web files:
Code: Select all
cat /etc/httpd/conf.d/nagvis.conf
Code: Select all
ls -la /usr/local/nagvis
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagvis URL not found
Neither of those files exist. I tried removing the component and reinstalling it through the manage components section with the same results.
Re: Nagvis URL not found
Try to reinstall nagvis from the xi tarball.
Code: Select all
cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/2014/xi-2014r2.6.tar.gz
tar vfxz xi-2014r2.6.tar.gz
cd /tmp/nagiosxi/subcomponents/xicomponents/components/
unzip nagvis.zip
cd nagvis
chmod +x install.sh
./install.sh
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagvis URL not found
No RPM available?
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagvis URL not found
NagVis is not a Nagios project. We don't dictate how it gets distributed.
We have *our* RPM install, however for the NagVis portion it's going to do the same thing as what abrist indicated above.
We have *our* RPM install, however for the NagVis portion it's going to do the same thing as what abrist indicated above.
Re: Nagvis URL not found
I ran the above and still no dice.
Re: Nagvis URL not found
Please run those commands again to see what we have now.abrist wrote:Nagvis ships with XI. The install script is actually for rather old XI versions. You may just be missing the apache vhost files. Lets check:Also, lets check for the nagvis directory and web files:Code: Select all
cat /etc/httpd/conf.d/nagvis.conf
Code: Select all
ls -la /usr/local/nagvis
Then run a tail on the httpd error log, try to access Nagvis, and send us the output:
Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Re: Nagvis URL not found
Those files still do not exist.
/var/log/httpd/error_log
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
/var/log/httpd/ssl_error_log
[Wed Jul 08 11:35:27 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
[Wed Jul 08 11:35:29 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
[Wed Jul 08 11:40:18 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
/var/log/httpd/error_log
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
/var/log/httpd/ssl_error_log
[Wed Jul 08 11:35:27 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
[Wed Jul 08 11:35:29 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
[Wed Jul 08 11:40:18 2015] [error] [client <myIP>] File does not exist: /var/www/html/nagvis, referer: https://<ServerURL>/nagiosxi/
Re: Nagvis URL not found
This is what I get...
[root@ nagvis]# pwd
/tmp/nagiosxi/subcomponents/xicomponents/components/nagvis
[root@ nagvis]# ls -Fla
total 3260
drwxr-xr-x 3 root root 4096 Jul 8 12:16 ./
drwxr-xr-x 3 root root 4096 Jul 8 11:32 ../
-rw-r--r-- 1 root root 1900 Jul 15 2014 add_map_links.inc.php
-rw-r--r-- 1 root root 80 Apr 9 2014 CHANGES.txt
-rwxr-xr-x 1 root root 5861 Nov 4 2014 install.sh*
drwxrwxr-x 6 root root 4096 Apr 18 2011 nagvis-1.5.9/
-rw-r--r-- 1 root root 3298253 Nov 4 2014 nagvis-1.5.9.tar.gz
-rw-r--r-- 1 root root 3327 Jul 15 2014 nagvis.inc.php
-rw-r--r-- 1 root root 596 Apr 9 2014 sanity.sh
[root@ nagvis]# ./install.sh
[root@ nagvis]#
Should I just run the installer manually instead of using the script?
[root@ nagvis]# pwd
/tmp/nagiosxi/subcomponents/xicomponents/components/nagvis
[root@ nagvis]# ls -Fla
total 3260
drwxr-xr-x 3 root root 4096 Jul 8 12:16 ./
drwxr-xr-x 3 root root 4096 Jul 8 11:32 ../
-rw-r--r-- 1 root root 1900 Jul 15 2014 add_map_links.inc.php
-rw-r--r-- 1 root root 80 Apr 9 2014 CHANGES.txt
-rwxr-xr-x 1 root root 5861 Nov 4 2014 install.sh*
drwxrwxr-x 6 root root 4096 Apr 18 2011 nagvis-1.5.9/
-rw-r--r-- 1 root root 3298253 Nov 4 2014 nagvis-1.5.9.tar.gz
-rw-r--r-- 1 root root 3327 Jul 15 2014 nagvis.inc.php
-rw-r--r-- 1 root root 596 Apr 9 2014 sanity.sh
[root@ nagvis]# ./install.sh
[root@ nagvis]#
Should I just run the installer manually instead of using the script?