Page 2 of 2

Re: NagViz issue

Posted: Tue Nov 05, 2013 10:52 am
by abrist
This is still a vhost problem:
[Thu Oct 24 03:30:33 2013] [error] [client 172.23.0.136] File does not exist: /var/www/html/nagvis, referer: http://noc01dev/nagiosxi/
As Ludmil already pointed out, the vhost file should have been installed to:

Code: Select all

/etc/httpd/conf.d/nagvis.conf
Are you running selinux?

Code: Select all

getenforce
Did you run the install as 'root'?
Make sure you only try to install the version from the XI tarball or the exchange. Newer, vanilla versions from the nagvis site will not work out of the box and cause all sorts of issues.

Re: NagViz issue

Posted: Wed Oct 15, 2014 1:59 pm
by raulpe
I just found this post while having issues with the NagViz install. Turns out the install script was failing after downloading version 1.5.9 of NagViz. Here is what the failure looked like:

Code: Select all

tar (child): nagvis-1.5.9.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
It calls it "download" after it downloads it and then complains that "nagvis-1.5.9.tar.gz" does not exist. I solved it by renaming "download" to "nagvis-1.5.9.tar.gz" and rerunning the shell script. It installed without issues. 1.5.9 is way old though, wish someone had the time to update the shell script to work with a newer version of NagViz.

Re: NagViz issue

Posted: Thu Oct 16, 2014 6:52 am
by lmiltchev
1.5.9 is way old though, wish someone had the time to update the shell script to work with a newer version of NagViz.
It is on our TODO list.

I am glad your issue has been resolved. I am locking this topic.