Page 1 of 3

Nagvis and rotating maps

Posted: Tue Apr 15, 2014 1:12 pm
by benhank
i know this isn't the nagvis support team, but their forums suxors buttocks.

but since i used the nagvis integration install doc to set it up, I figured what the heck, you guys always hook a brutha up if you can.

sooo:
I have nagvis setup for rotating maps.
one of the maps is an external website (google), works fine.
another map is a nagvis map, works fine.
the second map is an internal intranet site. When nagvis tries to pull up this site, i get a big red error box that says
"ajax transaction error is the nagvis server available?
However i can see the intranet site behind the error message.
then I get an error that

Code: Select all

The requested URL /nagvis/frontend/nagvis-js/index.php was not found on this server.
any ideas?

Re: Nagvis and rotating maps

Posted: Tue Apr 15, 2014 2:57 pm
by abrist
When the error happens again, tail the apache log and post the output here in code wraps:

Code: Select all

tail -50 /var/log/httpd/error_log

Re: Nagvis and rotating maps

Posted: Tue Apr 15, 2014 4:19 pm
by benhank

Code: Select all

Last login: Tue Apr 15 17:00:22 2014 from 172.30.240.156
[root@Lkennagiosp02 ~]# tail -50 /var/log/httpd/error_log
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/templates, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:39 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/templates, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:16:49 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:12 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://www.google.com&rotation=atriussites&rotationStep=0
[Tue Apr 15 17:17:12 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://www.google.com&rotation=atriussites&rotationStep=0
[Tue Apr 15 17:17:23 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://www.google.com&rotation=atriussites&rotationStep=0
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/templates, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:31 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/media, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/libraries, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/templates, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:17:41 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://bakerstreet/index.php/current-events/sev-1-new&rotation=atriussites&rotationStep=1
[Tue Apr 15 17:18:04 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://www.google.com&rotation=atriussites&rotationStep=0
[Tue Apr 15 17:18:04 2014] [error] [client 172.26.68.170] File does not exist: /var/www/html/images, referer: http://drwatson/nagvis/frontend/nagvis-js/index.php?mod=Url&act=view&show=http://www.google.com&rotation=atriussites&rotationStep=0
[root@Lkennagiosp02 ~]#

Re: Nagvis and rotating maps

Posted: Wed Apr 16, 2014 9:37 am
by lmiltchev
Does restarting apache and clearing the browser's cache fix the issue?

Re: Nagvis and rotating maps

Posted: Wed Apr 16, 2014 12:09 pm
by benhank
no sir the issue persists.

Re: Nagvis and rotating maps

Posted: Thu Apr 17, 2014 10:16 am
by lmiltchev
I wonder if this has to do with the permissions of one of the maps... What is the output of the following command?

Code: Select all

ll /usr/local/nagvis/etc/maps

Re: Nagvis and rotating maps

Posted: Thu Apr 17, 2014 3:45 pm
by benhank
this is what I get:

Code: Select all

-rw-r--r-- 1 root root   33 Dec 10 19:48 1BeNmaptest2.lock
-rw-r--r-- 1 root root   33 Dec 10 19:47 1BeNmaptest.lock
-rw-r--r-- 1 root root  707 Jun  3  2013 AD_Environment.cfg
-rw-r--r-- 1 root root   32 Jun  3  2013 AD_Environment.lock
-rw-r--r-- 1 root root  346 Apr 10  2013 demo2.cfg
-rw-r--r-- 1 root root  530 Apr 10  2013 demo.cfg
-rw-r--r-- 1 root root  448 Dec 10 20:10 demo-map.cfg
-rw-r--r-- 1 root root  772 Apr 10  2013 demo-server.cfg
-rw-r--r-- 1 root root 1722 Jun 18  2013 DMA-Dedham.cfg
-rw-r--r-- 1 root root   90 Apr 10  2013 Epic_Rhapsody_Interface.cfg
-rw-r--r-- 1 root root   33 Jan 29 19:44 Epic_Rhapsody_Interface.lock
-rw-r--r-- 1 root root   33 Jan  6 21:31 Google_map_11_thru_20.lock
-rw-r--r-- 1 root root   33 Dec 10 14:45 google_map1.lock
-rw-r--r-- 1 root root   33 Dec 11 19:04 Google_map_21_thru_24.lock
-rw-r--r-- 1 root root   33 Jan  6 21:43 Google_map2.lock
-rw-r--r-- 1 root root   33 Jan  9 19:04 Google_map3.lock
-rw-r--r-- 1 root root   33 Jan  6 21:31 Google_Map_Directory.lock
-rw-r--r-- 1 root root   33 Dec 11 18:54 Google_Maps_1_thru_10.lock
-rw-r--r-- 1 root root 3297 Feb 10 21:51 Google_map_view-RC1.cfg
-rw-r--r-- 1 root root   33 Feb 10 21:51 Google_map_view-RC1.lock
-rw-r--r-- 1 root root   33 Jan 14 22:00 Google_map_view_re.lock
-rw-r--r-- 1 root root   33 Jan 14 21:40 Google_map_view_rev1.lock
-rw-r--r-- 1 root root 2962 Jan 28 21:05 Google_map_view_rev2.cfg
-rw-r--r-- 1 root root   34 Jan 28 21:05 Google_map_view_rev2.lock
-rw-r--r-- 1 root root   33 Jan 14 16:30 google_map_view_rev3.lock
-rw-r--r-- 1 root root   33 Jan 27 23:04 Google_Map_Viewrev3.lock
-rw-r--r-- 1 root root   32 Jan 13 21:42 Google_map_view_rev4.lock
-rw-r--r-- 1 root root   33 Jan 14 19:35 Gooogle_maps_RC1.lock
-rw-r--r-- 1 root root  748 Jun  3  2013 Granite.cfg
-rw-r--r-- 1 root root  842 Jun  3  2013 Granite.cfg.060313
-rw-r--r-- 1 root root   33 Dec 10 14:47 HVMAGOOGLE1-10_test.lock
-rw-r--r-- 1 root root 1032 Feb 19 16:27 Internet_DMZ_Overview.cfg
-rw-r--r-- 1 root root   32 Jan 22 21:31 internet.lock
-rw-r--r-- 1 root root   69 Jun  3  2013 Nagios_Mod_Gearmon.cfg
-rw-r--r-- 1 root root   32 Jun  3  2013 Nagios_Mod_Gearmon.lock
-rw-r--r-- 1 root root  281 Jun  3  2013 Nagios_Production.cfg
-rw-r--r-- 1 root root  339 Jun  3  2013 Nagios_Research_Devl.cfg
-rw-r--r-- 1 root root  999 Apr 23  2013 Net-Internet.cfg
-rw-r--r-- 1 root root  160 Oct 10  2013 Netscalar_Environment.cfg
-rw-r--r-- 1 root root 2623 Apr 23  2013 Net-whole.cfg
-rw-r--r-- 1 root root 2220 Dec 19  2012 Net-whole.cfg.sav
-rw-r--r-- 1 root root   50 Apr 10  2013 Network_test.cfg
-rw-r--r-- 1 root root   32 Nov 20  2012 Network_test.lock
-rw-r--r-- 1 root root  254 Apr 10  2013 Pharmacy_PCs.cfg
-rw-r--r-- 1 root root  768 Apr 10  2013 Rhaoposdy2.cfg
-rw-r--r-- 1 root root  765 Jan 21 17:05 RightFax_Environment.cfg
-rw-r--r-- 1 root root   32 Jan 10 20:52 Rightfax_environment.lock
-rw-r--r-- 1 root root   34 Mar 15  2013 RightFax.lock
-rw-r--r-- 1 root root  745 Oct 11  2013 RxExpress.cfg
-rw-r--r-- 1 root root  251 May 16  2013 SMG-Lab-Order.cfg
-rw-r--r-- 1 root root  201 Apr 10  2013 SMG_Servers.cfg
-rw-r--r-- 1 root root   33 Jan 14 17:59 Test.lock
-rw-r--r-- 1 root root  729 Jan 21 18:15 Total_Network_Overview.cfg
-rw-r--r-- 1 root root   32 Jan 22 20:56 Total_Network_Overview.lock
-rw-r--r-- 1 root root   66 Apr 10  2013 verizondatanetwork.cfg
-rw-r--r-- 1 root root   32 Feb  3 21:50 verizondatanetwork.lock
-rw-r--r-- 1 root root  126 Apr 10  2013 VerizonMap.cfg
-rw-r--r-- 1 root root   32 Apr  3  2013 VerizonMap.lock
-rw-r--r-- 1 root root   32 Apr  8  2013 verizonnet.lock
-rw-r--r-- 1 root root   63 Apr 10  2013 verizonnetwork.cfg
-rw-r--r-- 1 root root   32 Mar 25  2013 verizonnetwork.lock
-rw-r--r-- 1 root root   34 Mar 25  2013 verizontest.lock
You have new mail in /var/spool/mail/root

Re: Nagvis and rotating maps

Posted: Thu Apr 17, 2014 3:54 pm
by lmiltchev
Hm-m, I don't have much in my NagVis, but my maps are owned by apache. Can you change permissions to apache:apache and see if this is going to fix your issue? If not, you can always change them back to root:root.

Re: Nagvis and rotating maps

Posted: Thu Apr 17, 2014 5:47 pm
by benhank
rgr rgr

Re: Nagvis and rotating maps

Posted: Fri Apr 18, 2014 9:14 am
by slansing
Did that make a difference?