Cannot view trends
Joerg Linge
pitchfork at ederdrom.de
Tue Apr 1 10:51:15 CEST 2008
Am Montag, 31. März 2008 21:10 schrieb Ethan Galstad:
> Hendrik Bäcker wrote:
> > Hi List,
> >
> > I've spent some time with the gdb too.
> >> Running trends.cgi in gdb, it apparently fails at this point:
> >>
> >> <snip>
> >> ~ printf("</table>\n");
> >> ~ }
> >>
> >> #ifndef DEBUG
> >> ~ /* check authorization... */
> >> ~ if(display_type==DISPLAY_HOST_TRENDS){
> >> ~ temp_host=find_host(host_name); // fail here!!!
> >> <snip>
> >>
> >> because the call to find_host() returns NULL. Again, running the other scripts
> >> from the command line, with the same host entry, *does* work fine.
> >>
> > That's true. find_host() returns NULL cause skiplist_find_first()
> > returns NULL behind.
> >
> > I am not familar with the new skiplist logic, so perhaps someone else
> > can make a review of that gdb run.
> >[snip]
>
>
>
> I think I tracked down the problem. A fix has been posted to CVS - I'll
> make a new 3.0.1 release tomorrow if the patch works for people.
Hi Ethan,
cvs version works for me.
Jörg
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list