LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios GD related CGIs not working! (https://www.linuxquestions.org/questions/linux-software-2/nagios-gd-related-cgis-not-working-83493/)

masterJ 08-19-2003 09:23 AM

Nagios GD related CGIs not working!
 
Hi,

I am using Nagios, which is really great, but I just have one major problem! Anyone out there actually managed to get the StatusMap, Trends, Availability etc CGIs working properly? There's some good documentation on Nagios installs out there, but info on this bit seems to be sketchy at best. I have installed all the required libraries listed on http://www.nagios.org/faqs/viewfaq.p...&showdesc=true and the configure script says it finds the GD libraries.

However, whenever I use these CGIs, the picture generated is just an empty window with an X in the corner (and this happens on ANY browser). What could be wrong?!?!

The box is running Slackware 9.0

Also, here's my output from an ldd statement...

root@lumpy:/usr/local/nagios/sbin# ldd statusmap.cgi
libgd.so => /usr/lib/libgd.so (0x40025000)
libz.so.1 => /usr/lib/libz.so.1 (0x40058000)
libm.so.6 => /lib/libm.so.6 (0x40066000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40089000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400b3000)
libc.so.6 => /lib/libc.so.6 (0x400d1000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40204000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4022f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

PLEASE someone help me on this!! It's such a great program, but I just need to get this part working!!

recentcoin 08-16-2004 06:49 PM

You will probably need to recompile GD. GD has several requiements in order to display the images properly. You'll need libjpeg, libpng, libungif and a couple of other things.

HTH,

Recent Coin

masterJ 08-17-2004 03:07 AM

OMG - such an old thread!!

Well, have been a happy user of Nagios for months now, with working pictures and maps and everything...

Thanks anyway for the help, and well done for finding such an old thread!!

AciDFluX 01-05-2005 11:39 AM

What did you do to get the statusmap cgi working. I am currently having the same problem?


All times are GMT -5. The time now is 10:43 PM.