lost trends in nagios-cvs?

Andreas Ericsson ae at op5.se
Sun Nov 13 16:41:01 CET 2005


Milos Wimmer wrote:
> On Tue, 8 Nov 2005, Milos Wimmer wrote:
> 
>  Hello,
> 
> I did not receive any answer to my previous bug report about missing 
> "View Trends For This Host" and "View Trends For This Service" links in 
> the nagios/cgi-bin/extinfo.cgi pages (in nagios-cvs tarball), so I 
> looked more detailed at this thing and I found where the problem is -
> configure script generates bad definitions in include/cgiutils.h file.
> 
> It creates following lines:
> 
> /* #undef USE_STATUSMAP */
> /* #undef USE_STATUSWRL */
> /* #undef USE_TRENDS */
> /* #undef USE_HISTOGRAM */
> 
> instead of:
> 
> #define USE_STATUSMAP 1
> #define USE_STATUSWRL 1
> #define USE_TRENDS 1
> #define USE_HISTOGRAM 1
> 

This is because the configure script doesn't pick up your GD 
installation (although it should build statuswrl regardless).

> 
> As a result of that extinfo.cgi does not support trends and does not 
> include them in its "Views menu".
> When I changed that definitions by the hand, all works fine.
> 
> Please, could you look at it?
> 

Where is your gd-library installed? Did you pass it as an option to 
./configure ?

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php




More information about the Developers mailing list