Page 2 of 3
Re: Nagvis and rotating maps
Posted: Fri Apr 18, 2014 10:09 am
by benhank
no. the issue is that I cannot get to the internal website. I think its a htaccess problem
Re: Nagvis and rotating maps
Posted: Fri Apr 18, 2014 10:37 am
by abrist
If the following url needs basic auth credentials, you can specify them from the url, but you will be exposing the credentials in plain text:
http://<user>:<password>@bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
Also, is the domain (bakerstreet) missing the tld, or can you resolve the host "bakerstreet" by name?
Re: Nagvis and rotating maps
Posted: Fri May 09, 2014 1:04 pm
by benhank
I upgraded to the latest version and the issue went away.
But now at the end of the rotation i get
Code: Select all
The requested URL /nagvis/frontend/nagvis-js/index.php was not found on this server.
i have entered this line in my /etc/crond/httpd/
Code: Select all
RewriteEngine on
RewriteLock var/log/rewrite.lck
RewriteLog /dev/null
RewriteLogLevel 0
RewriteRule /nagvis/ - [E=REMOTE_USER:nagiosadmin]
any ideas?
Re: Nagvis and rotating maps
Posted: Fri May 09, 2014 2:11 pm
by abrist
Latest version of XI? Or latest version of nagvis?
Re: Nagvis and rotating maps
Posted: Fri May 09, 2014 4:22 pm
by benhank
yes to both
nagvis 1.7.1
Re: Nagvis and rotating maps
Posted: Mon May 12, 2014 11:08 am
by slansing
Hmm, it's usually never recommended to travel further than the version of third party software/packages that is provided with your current XI install. This is mostly for compatibility issues, since there are more than several instances where other portions of Nagios/XI require a specific version, and that has to be updated by us. What is the output of:
Code: Select all
ls -la /usr/local/nagvis/share/frontend/nagvis-js/index.php
Code: Select all
ls -la /usr/local/nagvis/share/index.php
Code: Select all
cat /usr/local/nagvis/share/index.php
One thing of note here is that the output you are receiving means that something is pointing to the wrong location for the index.php provided with Nagvis, this is likely one side effect of updating it. I'll go poking around to find where this would be defined and if it can be changed.
Looks like (/usr/local/nagvis/share/index.php) points to (/usr/local/nagvis/share/frontend/nagvis-js/index.php) in my default set up.
Re: Nagvis and rotating maps
Posted: Mon May 12, 2014 12:03 pm
by benhank
thanks man, Ill get that info for you inna bit
Re: Nagvis and rotating maps
Posted: Mon May 12, 2014 12:52 pm
by abrist
If you updated nagvis to the current version, you will most likely need to clear your browser cache or you will get tons of js errors. Additionally, the newest nagvis does not support ndomy as a backend for automaps, so if you need automapping functionality, you will need to install livestatus.
Re: Nagvis and rotating maps
Posted: Mon May 12, 2014 1:47 pm
by benhank
ok sigh...
Re: Nagvis and rotating maps
Posted: Mon May 12, 2014 2:04 pm
by abrist
Yeah, maybe I should change my forum subtitle from "I-C-Somethings" to "Ill Omen", "Mr. No", or "Don't shoot! I am just the messenger." I know Bandit would agree. Let us know if you have any further issues.