Page 1 of 3

Network Status Map

Posted: Mon Apr 16, 2012 4:13 pm
by dmanem
Hi,

When I try to load Network Status map in layered mode I do not get any result. When I right click and select "view image", it gives a page like the one attached. The tool is monitoring almost 500 devices and is this number too much for it to show in the layered format? Can you please let me know the issue.

Thank you,
Deepika Manem

Re: Network Status Map

Posted: Mon Apr 16, 2012 6:28 pm
by scottwilkerson
Can you run

Code: Select all

tail -f /var/log/httpd/error_log
Then try accessing the page (don't do view as image because it isn't just an image) to see if the error show up.

Re: Network Status Map

Posted: Tue Apr 17, 2012 8:40 am
by dmanem
Hi,

I see this same error in the error_log folder. It states " [error] [client 172.19.177.139] PHP Notice: Undefined variable: varr in /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php on line 282, referer: http://172.19.178.196/nagiosxi/dashboar ... d=cbb7vo13". I do not think this is related to the network status map. This error shows up when opening the dashboard. Other than this there are no other errors.

Thank you.

Re: Network Status Map

Posted: Tue Apr 17, 2012 9:57 am
by mguthrie
Can you check and see if this map is viewable in the Core interface?

[url]http://<yourserver>/nagios[/url]

I'd like to narrow down if the issue is coming from the Core CGI or if it's some issue with the headers being declared in the XI interface. The image is actually there, but for some reason the browser is rendering it as text.

Re: Network Status Map

Posted: Tue Apr 17, 2012 11:03 am
by dmanem
It is not working in Nagios Core as well. Only the circular layouts are showing up.

Re: Network Status Map

Posted: Tue Apr 17, 2012 11:21 am
by mguthrie
What linux distro and version are you using?


What version of Nagios XI are you running?


Can you post the output from the following command:

Code: Select all

yum list installed | grep gd

Re: Network Status Map

Posted: Tue Apr 17, 2012 11:52 am
by dmanem
I am using Centos 6.2 and NagiosXI version 2011R2.2. I have attached the output after running the above command.

Thank you.

Re: Network Status Map

Posted: Tue Apr 17, 2012 2:21 pm
by mguthrie
Hmm, looks like all of the packages are there ok.

Do you happen to have error messaging turned on in the browser in your /etc/php.ini settings? (If you have no idea what I'm talking about, then you probably don't).

You can verify in your /etc/php.ini file:

Code: Select all

display_errors=off
Also, are you using https or a proxy to access your server?

Re: Network Status Map

Posted: Tue Apr 17, 2012 2:43 pm
by dmanem
In /etc/php.ini file, display_errors = Off. I am not using https or a proxy.

Re: Network Status Map

Posted: Tue Apr 17, 2012 4:33 pm
by scottwilkerson
you didn't by chance try to edit any of the .cgi files in a text editor did you?