Page 2 of 2

Re: Can view the Map Index in Nagvis

Posted: Wed Mar 06, 2013 10:54 am
by mauricio.moya
yes 1.5.9!

Re: Can view the Map Index in Nagvis

Posted: Wed Mar 06, 2013 12:45 pm
by abrist
Ludmil and I have both looked over your config. We even setup your config in the same version of nagvis and we can add and remove maps just fine. They get updated on the main nagvis screen under map index. The only time map index is missing is when there are no maps configured. And this was with your config. You must have some issues with other required files for nagvis.

Lets make sure the necessary config files are in the proper folders:

Code: Select all

ls -la /usr/local/nagvis/*/*

Re: Can view the Map Index in Nagvis

Posted: Wed Mar 06, 2013 3:30 pm
by mauricio.moya
Ok
Here is the result:

Code: Select all

total 100
-rw-r--r-- 1 apache apache   36 Feb 28 15:45 ADM_VCE_TEA.lock
-rwxrwxr-x 1 apache apache  148 Feb 28 16:36 CloudSudamerica.cfg
-rwxrwxr-x 1 apache apache   36 Mar  6 09:07 CloudSudamerica.lock
-rw-rw-rw- 1 apache apache 1872 Feb 21 16:44 COMUNICACIONES.cfg
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo2.lock
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo.lock
-rw-r--r-- 1 apache apache   34 Feb 21 18:10 demo-map.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:38 Fabric-A-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:38 Fabric-A-Teatinos.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:51 Fabric-B-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:51 Fabric-B-Teatinos.lock
-rw-r--r-- 1 apache apache   34 Feb 20 10:00 Infra1.lock
-rw-r--r-- 1 apache apache   34 Feb 20 09:52 kjh.lock
-rw-r--r-- 1 apache apache   34 Feb 21 13:20 Mauro.lock
-rw-rw-rw- 1 apache apache 1698 Feb 21 16:48 NX5K-A-TEA.cfg
-rw-r--r-- 1 apache apache   34 Feb 25 17:45 NX5K-A-TEA.lock
-rw-rw-rw- 1 apache apache 1363 Feb 21 10:37 NX5K-B-TEA.cfg
-rw-rw-rw- 1 apache apache 3945 Feb 28 16:59 PlataformaVCETeatinos.cfg
-rw-r--r-- 1 apache apache   36 Mar  6 09:07 PlataformaVCETeatinos.lock
-rw-rw-rw- 1 apache apache  125 Feb 28 16:35 SantiagoChile.cfg
-rw-r--r-- 1 apache apache   35 Jan 17 11:13 Sergio.lock
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:38 UCSBlade1-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 16:38 UCSBlade1-Teatinos.lock
-rw-rw-rw- 1 apache apache 1823 Feb 21 16:37 UCSBlade2-Teatinos.cfg
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:37 UCSBlade3-Teatinos.cfg
[root@nagiosxi maps]# chmod u-x CloudSudamerica..c
chmod: cannot access `CloudSudamerica..c': No such file or directory
[root@nagiosxi maps]# chmod u-x CloudSudamerica.cfg
[root@nagiosxi maps]# ls -l
total 100
-rw-r--r-- 1 apache apache   36 Feb 28 15:45 ADM_VCE_TEA.lock
-rw-rwxr-x 1 apache apache  148 Feb 28 16:36 CloudSudamerica.cfg
-rwxrwxr-x 1 apache apache   36 Mar  6 09:07 CloudSudamerica.lock
-rw-rw-rw- 1 apache apache 1872 Feb 21 16:44 COMUNICACIONES.cfg
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo2.lock
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo.lock
-rw-r--r-- 1 apache apache   34 Feb 21 18:10 demo-map.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:38 Fabric-A-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:38 Fabric-A-Teatinos.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:51 Fabric-B-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:51 Fabric-B-Teatinos.lock
-rw-r--r-- 1 apache apache   34 Feb 20 10:00 Infra1.lock
-rw-r--r-- 1 apache apache   34 Feb 20 09:52 kjh.lock
-rw-r--r-- 1 apache apache   34 Feb 21 13:20 Mauro.lock
-rw-rw-rw- 1 apache apache 1698 Feb 21 16:48 NX5K-A-TEA.cfg
-rw-r--r-- 1 apache apache   34 Feb 25 17:45 NX5K-A-TEA.lock
-rw-rw-rw- 1 apache apache 1363 Feb 21 10:37 NX5K-B-TEA.cfg
-rw-rw-rw- 1 apache apache 3945 Feb 28 16:59 PlataformaVCETeatinos.cfg
-rw-r--r-- 1 apache apache   36 Mar  6 09:07 PlataformaVCETeatinos.lock
-rw-rw-rw- 1 apache apache  125 Feb 28 16:35 SantiagoChile.cfg
-rw-r--r-- 1 apache apache   35 Jan 17 11:13 Sergio.lock
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:38 UCSBlade1-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 16:38 UCSBlade1-Teatinos.lock
-rw-rw-rw- 1 apache apache 1823 Feb 21 16:37 UCSBlade2-Teatinos.cfg
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:37 UCSBlade3-Teatinos.cfg
[root@nagiosxi maps]# chmod u-x g-w o -x CloudSudamerica.cfg CloudSudamerica.lock
chmod: cannot access `u-x': No such file or directory
chmod: cannot access `g-w': No such file or directory
chmod: cannot access `o': No such file or directory
You have new mail in /var/spool/mail/root
[root@nagiosxi maps]# chmod g-wx CloudSudamerica.cfg CloudSudamerica.lock
[root@nagiosxi maps]# chmod o-x CloudSudamerica.cfg CloudSudamerica.lock
[root@nagiosxi maps]# ls -l
total 100
-rw-r--r-- 1 apache apache   36 Feb 28 15:45 ADM_VCE_TEA.lock
-rw-r--r-- 1 apache apache  148 Feb 28 16:36 CloudSudamerica.cfg
-rw-r--r-- 1 apache apache   36 Mar  6 09:07 CloudSudamerica.lock
-rw-rw-rw- 1 apache apache 1872 Feb 21 16:44 COMUNICACIONES.cfg
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo2.lock
-rw-r--r-- 1 root   root     34 Mar  5 18:33 demo.lock
-rw-r--r-- 1 apache apache   34 Feb 21 18:10 demo-map.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:38 Fabric-A-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:38 Fabric-A-Teatinos.lock
-rw-rw-rw- 1 apache apache 2158 Feb 21 11:51 Fabric-B-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 11:51 Fabric-B-Teatinos.lock
-rw-r--r-- 1 apache apache   34 Feb 20 10:00 Infra1.lock
-rw-r--r-- 1 apache apache   34 Feb 20 09:52 kjh.lock
-rw-r--r-- 1 apache apache   34 Feb 21 13:20 Mauro.lock
-rw-rw-rw- 1 apache apache 1698 Feb 21 16:48 NX5K-A-TEA.cfg
-rw-r--r-- 1 apache apache   34 Feb 25 17:45 NX5K-A-TEA.lock
-rw-rw-rw- 1 apache apache 1363 Feb 21 10:37 NX5K-B-TEA.cfg
-rw-rw-rw- 1 apache apache 3945 Feb 28 16:59 PlataformaVCETeatinos.cfg
-rw-r--r-- 1 apache apache   36 Mar  6 09:07 PlataformaVCETeatinos.lock
-rw-rw-rw- 1 apache apache  125 Feb 28 16:35 SantiagoChile.cfg
-rw-r--r-- 1 apache apache   35 Jan 17 11:13 Sergio.lock
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:38 UCSBlade1-Teatinos.cfg
-rw-r--r-- 1 apache apache   34 Feb 21 16:38 UCSBlade1-Teatinos.lock
-rw-rw-rw- 1 apache apache 1823 Feb 21 16:37 UCSBlade2-Teatinos.cfg
-rw-rw-rw- 1 apache apache 1611 Feb 21 16:37 UCSBlade3-Teatinos.cfg
[root@nagiosxi maps]# ls -la /usr/local/nagvis/*/*
-rw-rw-r--. 1 apache apache  2198 Apr 18  2011 /usr/local/nagvis/etc/apache2-nagvis.conf-sample
-rw-r--r--  1 apache apache 20480 Feb 28 16:34 /usr/local/nagvis/etc/auth.db
-rw-rw-r--. 1 apache apache 15674 Mar  5 18:00 /usr/local/nagvis/etc/nagvis.ini.php
-rw-rw-r--. 1 apache apache 15601 Apr 18  2011 /usr/local/nagvis/etc/nagvis.ini.php-sample
-rw-rw-r--. 1 apache apache  1127 Apr 18  2011 /usr/local/nagvis/share/config.php
-rw-rw-r--. 1 apache apache  1132 Apr 18  2011 /usr/local/nagvis/share/index.php
-rw-r--r--  1 apache apache  6989 Feb 28 13:45 /usr/local/nagvis/var/ADM_VCE_TEA.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache   466 Mar  5 18:00 /usr/local/nagvis/var/__automap.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  7001 Mar  5 18:00 /usr/local/nagvis/var/__automap.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache   381 Mar  5 09:28 /usr/local/nagvis/var/__automap.dot
-rw-r--r--  1 apache apache   335 Mar  6 17:26 /usr/local/nagvis/var/CloudSudamerica.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  7013 Mar  6 17:26 /usr/local/nagvis/var/CloudSudamerica.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  3764 Mar  5 18:00 /usr/local/nagvis/var/COMUNICACIONES.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6992 Mar  5 18:00 /usr/local/nagvis/var/COMUNICACIONES.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache   747 Mar  5 18:00 /usr/local/nagvis/var/context-default-en_US.cache
-rw-r--r--  1 apache apache   765 Feb 26 00:23 /usr/local/nagvis/var/context-default-es_ES.cache
-rw-r--r--  1 apache apache  6982 Jan  3 11:18 /usr/local/nagvis/var/demo2.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6981 Jan  3 11:18 /usr/local/nagvis/var/demo.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6985 Feb 21 17:05 /usr/local/nagvis/var/demo-map.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6989 Jan  3 11:18 /usr/local/nagvis/var/demo-server.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  4119 Mar  5 18:00 /usr/local/nagvis/var/Fabric-A-Teatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6995 Mar  5 18:00 /usr/local/nagvis/var/Fabric-A-Teatinos.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  4119 Mar  5 18:00 /usr/local/nagvis/var/Fabric-B-Teatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6995 Mar  5 18:00 /usr/local/nagvis/var/Fabric-B-Teatinos.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  2916 Mar  5 18:00 /usr/local/nagvis/var/hover-default-en_US.cache
-rw-r--r--  1 apache apache  3030 Feb 26 00:23 /usr/local/nagvis/var/hover-default-es_ES.cache
-rw-r--r--  1 apache apache  6983 Feb 20 10:00 /usr/local/nagvis/var/Infra1.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6970 Feb 20 09:52 /usr/local/nagvis/var/kjh.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6982 Feb 20 10:24 /usr/local/nagvis/var/Mauro.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  2016 Mar  6 17:09 /usr/local/nagvis/var/nagvis-audit.log
-rw-r--r--  1 apache apache 26785 Mar  5 18:00 /usr/local/nagvis/var/nagvis.ini.php-1.5.9-cache
-rw-r--r--  1 apache apache  3219 Mar  5 18:00 /usr/local/nagvis/var/NX5K-A-TEA.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6988 Mar  5 18:00 /usr/local/nagvis/var/NX5K-A-TEA.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  2620 Mar  5 18:00 /usr/local/nagvis/var/NX5K-B-TEA.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6988 Mar  5 18:00 /usr/local/nagvis/var/NX5K-B-TEA.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  7608 Mar  5 18:00 /usr/local/nagvis/var/PlataformaVCETeatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6999 Mar  5 18:00 /usr/local/nagvis/var/PlataformaVCETeatinos.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache   299 Mar  5 18:00 /usr/local/nagvis/var/SantiagoChile.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6991 Mar  5 18:00 /usr/local/nagvis/var/SantiagoChile.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  6963 Jan 17 11:13 /usr/local/nagvis/var/Sergio.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  3032 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade1-Teatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6996 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade1-Teatinos.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  3420 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade2-Teatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6996 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade2-Teatinos.cfg-1.5.9-cache-defs
-rw-r--r--  1 apache apache  3032 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade3-Teatinos.cfg-1.5.9-cache
-rw-r--r--  1 apache apache  6996 Mar  5 18:00 /usr/local/nagvis/var/UCSBlade3-Teatinos.cfg-1.5.9-cache-defs

/usr/local/nagvis/etc/automaps:
total 12
drwxrwxr-x. 2 apache apache 4096 Jan  2 11:05 .
drwxrwxr-x. 5 apache apache 4096 Mar  5 18:39 ..
-rw-rw-r--. 1 apache apache 1913 Jan  2 11:05 __automap.cfg

/usr/local/nagvis/etc/geomap:
total 24
drwxrwxr-x. 2 apache apache 4096 Apr 18  2011 .
drwxrwxr-x. 5 apache apache 4096 Mar  5 18:39 ..
-rw-rw-r--. 1 apache apache   48 Apr 18  2011 links.xml
-rw-rw-r--. 1 apache apache   52 Apr 18  2011 locations.xml
-rw-rw-r--. 1 apache apache  108 Apr 18  2011 settings.xml
-rw-rw-r--. 1 apache apache  475 Apr 18  2011 viewpoints.xml

/usr/local/nagvis/etc/maps:
total 104
drwxrwxr-x. 2 apache apache 4096 Mar  6 17:26 .
drwxrwxr-x. 5 apache apache 4096 Mar  5 18:39 ..
-rw-r--r--  1 apache apache   36 Feb 28 15:45 ADM_VCE_TEA.lock
-rw-r--r--  1 apache apache  148 Mar  6 17:26 CloudSudamerica.cfg
-rw-rw-rw-  1 apache apache 1872 Feb 21 16:44 COMUNICACIONES.cfg
-rw-r--r--  1 root   root     34 Mar  5 18:33 demo2.lock
-rw-r--r--  1 root   root     34 Mar  5 18:33 demo.lock
-rw-r--r--  1 apache apache   34 Feb 21 18:10 demo-map.lock
-rw-rw-rw-  1 apache apache 2158 Feb 21 11:38 Fabric-A-Teatinos.cfg
-rw-r--r--  1 apache apache   34 Feb 21 11:38 Fabric-A-Teatinos.lock
-rw-rw-rw-  1 apache apache 2158 Feb 21 11:51 Fabric-B-Teatinos.cfg
-rw-r--r--  1 apache apache   34 Feb 21 11:51 Fabric-B-Teatinos.lock
-rw-r--r--  1 apache apache   34 Feb 20 10:00 Infra1.lock
-rw-r--r--  1 apache apache   34 Feb 20 09:52 kjh.lock
-rw-r--r--  1 apache apache   34 Feb 21 13:20 Mauro.lock
-rw-rw-rw-  1 apache apache 1698 Feb 21 16:48 NX5K-A-TEA.cfg
-rw-r--r--  1 apache apache   34 Feb 25 17:45 NX5K-A-TEA.lock
-rw-rw-rw-  1 apache apache 1363 Feb 21 10:37 NX5K-B-TEA.cfg
-rw-rw-rw-  1 apache apache 3945 Feb 28 16:59 PlataformaVCETeatinos.cfg
-rw-r--r--  1 apache apache   36 Mar  6 09:07 PlataformaVCETeatinos.lock
-rw-rw-rw-  1 apache apache  125 Feb 28 16:35 SantiagoChile.cfg
-rw-r--r--  1 apache apache   35 Jan 17 11:13 Sergio.lock
-rw-rw-rw-  1 apache apache 1611 Feb 21 16:38 UCSBlade1-Teatinos.cfg
-rw-r--r--  1 apache apache   34 Feb 21 16:38 UCSBlade1-Teatinos.lock
-rw-rw-rw-  1 apache apache 1823 Feb 21 16:37 UCSBlade2-Teatinos.cfg
-rw-rw-rw-  1 apache apache 1611 Feb 21 16:37 UCSBlade3-Teatinos.cfg

/usr/local/nagvis/share/docs:
total 20
drwxrwxr-x. 5 apache apache 4096 Apr 18  2011 .
drwxrwxr-x. 8 apache apache 4096 Feb 25 13:42 ..
drwxrwxr-x. 3 apache apache 4096 Apr 18  2011 de_DE
drwxrwxr-x. 3 apache apache 4096 Apr 18  2011 en_US
drwxrwxr-x. 4 apache apache 4096 Apr 18  2011 general

/usr/local/nagvis/share/frontend:
total 16
drwxrwxr-x. 4 apache apache 4096 Apr 18  2011 .
drwxrwxr-x. 8 apache apache 4096 Feb 25 13:42 ..
drwxrwxr-x. 9 apache apache 4096 Feb 25 14:29 nagvis-js
drwxrwxr-x. 7 apache apache 4096 Apr 18  2011 wui

/usr/local/nagvis/share/netmap:
total 344
drwxrwxr-x. 4 apache apache   4096 Apr 18  2011 .
drwxrwxr-x. 8 apache apache   4096 Feb 25 13:42 ..
-rw-rw-r--. 1 apache apache   2837 Apr 18  2011 amf-server.php
-rw-rw-r--. 1 apache apache    352 Apr 18  2011 crossdomain.xml
-rw-rw-r--. 1 apache apache   2122 Apr 18  2011 GeocodeService.php
-rw-rw-r--. 1 apache apache   1333 Apr 18  2011 HostGroup.php
-rw-rw-r--. 1 apache apache   1460 Apr 18  2011 Host.php
drwxrwxr-x. 3 apache apache   4096 Apr 18  2011 library
-rw-rw-r--. 1 apache apache   2590 Apr 18  2011 Link.php
-rw-rw-r--. 1 apache apache   4208 Apr 18  2011 LinkService.php
-rw-rw-r--. 1 apache apache   2781 Apr 18  2011 Location.php
-rw-rw-r--. 1 apache apache   4772 Apr 18  2011 LocationService.php
drwxrwxr-x. 3 apache apache   4096 Apr 18  2011 modules
-rw-rw-r--. 1 apache apache   5360 Apr 18  2011 NagiosService.php
-rw-rw-r--. 1 apache apache   1584 Apr 18  2011 NagVisService.php
-rw-rw-r--. 1 apache apache   1342 Apr 18  2011 ServiceGroup.php
-rw-rw-r--. 1 apache apache   1368 Apr 18  2011 Service.php
-rw-rw-r--. 1 apache apache   1742 Apr 18  2011 Settings.php
-rw-rw-r--. 1 apache apache   3741 Apr 18  2011 SettingsService.php
-rw-rw-r--. 1 apache apache    511 Apr 18  2011 shell.html
-rw-rw-r--. 1 apache apache 242313 Apr 18  2011 shell.swf
-rw-rw-r--. 1 apache apache    953 Apr 18  2011 State.php
-rw-rw-r--. 1 apache apache   1081 Apr 18  2011 Viewpoint.php
-rw-rw-r--. 1 apache apache   3154 Apr 18  2011 ViewpointService.php

/usr/local/nagvis/share/server:
total 12
drwxrwxr-x. 3 apache apache 4096 Apr 18  2011 .
drwxrwxr-x. 8 apache apache 4096 Feb 25 13:42 ..
drwxrwxr-x. 6 apache apache 4096 Apr 18  2011 core

/usr/local/nagvis/share/userfiles:
total 28
drwxrwxr-x. 7 apache apache 4096 Apr 18  2011 .
drwxrwxr-x. 8 apache apache 4096 Feb 25 13:42 ..
drwxrwxr-x. 2 apache apache 4096 Apr 18  2011 gadgets
drwxrwxr-x. 7 apache apache 4096 Apr 18  2011 images
drwxrwxr-x. 2 apache apache 4096 Apr 18  2011 sounds
drwxrwxr-x. 2 apache apache 4096 Apr 18  2011 styles
drwxrwxr-x. 2 apache apache 4096 Mar  5 18:44 templates

/usr/local/nagvis/share/var:
total 84
drwxrwxr-x. 2 apache apache  4096 Mar  5 16:04 .
drwxrwxr-x. 8 apache apache  4096 Feb 25 13:42 ..
-rw-r--r--  1 apache apache   192 Mar  5 09:28 __automap.png
-rw-r--r--  1 apache apache  1172 Mar  5 16:04 __automap-thumb.png
-rw-r--r--  1 apache apache 16082 Mar  5 16:04 CloudSudamerica-thumb.png
-rw-r--r--  1 apache apache  9199 Mar  5 16:04 COMUNICACIONES-thumb.gif
-rw-r--r--  1 apache apache  9175 Mar  5 16:04 Fabric-A-Teatinos-thumb.gif
-rw-r--r--  1 apache apache  9160 Mar  5 16:04 Fabric-B-Teatinos-thumb.gif
-rw-r--r--  1 apache apache  6715 Mar  5 16:04 NX5K-A-TEA-thumb.gif
-rw-r--r--  1 apache apache  7187 Mar  5 16:04 NX5K-B-TEA-thumb.gif

/usr/local/nagvis/var/tmpl:
total 16
drwxrwxr-x. 4 apache apache 4096 Jan  2 11:05 .
drwxrwxr-x. 3 apache apache 4096 Mar  6 17:26 ..
drwxrwxr-x. 2 apache apache 4096 Jan  2 11:05 cache
drwxrwxr-x. 3 apache apache 4096 Jan  3 11:18 compile

Re: Can view the Map Index in Nagvis

Posted: Wed Mar 06, 2013 3:56 pm
by lmiltchev
After you try to view the NagVis page, do you get any errors in the apache log?

Code: Select all

tail /var/log/httpd/error_log

Re: Can view the Map Index in Nagvis

Posted: Thu Mar 07, 2013 9:17 am
by mauricio.moya
Yes!
There is an error on the error_log avery time that y open the overview of the nagvis.

This is the error, and I dont know realy what this mean:

[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): ^ in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): /usr/local/nagiosxi/tmp/http:__labs.nagios.com_feed.xml:1: parser error : Document is empty in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): ^ in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): /usr/local/nagiosxi/tmp/http:__labs.nagios.com_feed.xml:1: parser error : Start tag expected, '<' not found in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:18 2013] [error] [client 172.27.7.14] PHP Warning: simplexml_load_file(): ^ in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://10.151.100.106/nagiosxi//include ... splash.php
[Thu Mar 07 11:06:23 2013] [error] [client 172.27.7.14] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/local/nagvis/share/server/core/classes/GlobalFileCache.php on line 65, referer: http://10.151.100.106/nagvis/frontend/nagvis-js/
[Thu Mar 07 11:07:48 2013] [error] [client 172.27.7.14] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/local/nagvis/share/server/core/classes/GlobalFileCache.php on line 65, referer: http://10.151.100.106/nagvis/frontend/n ... /index.php
[Thu Mar 07 11:11:39 2013] [error] [client 172.27.7.14] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/local/nagvis/share/server/core/classes/GlobalFileCache.php on line 65, referer: http://10.151.100.106/nagvis/frontend/n ... /index.php

Re: Can view the Map Index in Nagvis

Posted: Thu Mar 07, 2013 10:55 am
by lmiltchev
Try increasing the memory_limit in the /etc/php.ini file and see if this is going to help. You can view your current value by running:

Code: Select all

grep memory_limit /etc/php.ini
After you make changes, you need to restart apache.

Code: Select all

service httpd restart

Re: Can view the Map Index in Nagvis

Posted: Mon Mar 11, 2013 10:11 am
by mauricio.moya
I guess we have a new solved topic!

I changed the "memory_limit" on the php.ini and the "Map Index" on the overview nagvis get back to life.

Thanks a lot for your help!
~Mauricio

Re: Can view the Map Index in Nagvis

Posted: Mon Mar 11, 2013 10:16 am
by slansing
Oh great, thank you for letting us know what resolved this problem! Closing as resolved.