Can't display trends in web interface

Scott nagios at troutpocket.org
Fri Dec 10 21:00:03 CET 2004


I've been happily using nagios since 1.0.  I settled on 1.0b4 because
everything has worked stupendously since then.  However, my ability to
generate graphs disappeared when I upgraded from RH8.0 to RH9.0 a couple
months ago.

I've downloaded the tarballs for every version between 1.0b4 up to 1.2 and
still can't get it to compile nicely.  I get the infamous missing gd
libraries errors.  It won't even compile auth.c, cgiutils.c, edata.c,
getcgi.c, histogram.c lifo.c, popen.c, statusmap.c, or trends.c.

I checked my old 1.0b4 trends.cgi (which used to work):

www:cgi# ldd /usr/lib/nagios/cgi/trends.cgi
        libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x4001d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4004f000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4005d000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x4007f000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400a1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400bf000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40111000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

All other cgi's return favorable results as well.  /usr/lib is in
/etc/ld.so.conf and ldconfig runs fine.

My configure script is:

./configure --prefix=/etc/nagios --with-gd-lib=/usr/lib \
--with-gd-inc=/usr/include --with-jpeg-lib=/usr/lib \
--with-jpeg-inc=/usr/include --with-png-lib=/usr/lib \
--with-png-inc=/usr/include

The only thing that has caught my eye is:

     libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x4001d000)

That library is from gdbm-devel-1.8.0-20.  Should it be using libgd.so.1.3
instead?

-Scott




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list