Statusmap works but no image shows! Help please!


#1

I’ve compiled/installed/configured properly (I believe) including the gd, jpeg and png libraries. When I go to view statusmap it shows the screen and I can pick options but in the middle is a placeholder for the image with an X in the upper left.

When I put my mouse over the image it shows the floating dialog boxes for each node but I can’t see them.

Anyone have thoughts on how to get the image to show up?

Thanks,

Eugene
Edited ]


#2

Hi,

Check you have installed the developement librairies of png, jpeg and gd.
(gd-devel,png-devel,jpg-devel)

Check the permissions of the picture’s directory.

Check the path in html source.

Good luck.


#3

Guano,

Thanks for the ideas. I did have gd-devel, etc. all installed but your idea of looking at html source got me onto a different troubleshooting track. I ended up at the /var/log/httpd/error.log for Apache and found this:

/usr/local/nagios/sbin/statusmap.cgi: symbol lookup error: /usr/local/nagios/sbin/statusmap.cgi: undefined symbol: gdImagePng,…

So I went about removing gd rpm and built it from source. Now it’s working!

Thanks!