Greetings,
This feature sounds very cool. When I attempt to compile the snapshot I
receive the following error:
gcc -g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -I.
-I/Users/hobbit/Desktop/snapshot/include -I/opt/local/include -I.
-I../include -c -o acklog.o acklog.c
In file included from /Users/hobbit/Desktop/snapshot/include/libbbgen.h:69,
from acklog.c:28:
/Users/hobbit/Desktop/snapshot/include/../lib/msort.h:17: error: conflicting
types for 'mergesort'
/usr/include/stdlib.h:288: error: previous declaration of 'mergesort' was
here
acklog.c: In function 'do_acklog':
acklog.c:119: warning: pointer targets in passing argument 1 of 'nldecode'
differ in signedness
make[1]: *** [acklog.o] Error 1
make: *** [lib-build] Error 2
The referenced line from stdlib is:
int mergesort(void *, size_t, size_t,
int (*)(const void *, const void *));
Thanks,
Mike
On 3/13/07 1:20 PM, "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> wrote:
On Mon, Mar 12, 2007 at 04:11:22PM +0100, Kolbjørn Barmen wrote:
On Mon, 12 Mar 2007, lars ebeling wrote:
If you mean the graphical trends, you get previous periods by clicking
on the graph.
Almost - when you do that you dont get trends, you get previous periods
for that test. I'm looking for a way to watch get a trends view with all
the tests from the trends page, but from a different period.
I started doing this yesterday, thinking it would be a simple task ...
well, it was a bit more complicated than I thought. But I think it's
working now - unfortunately, it is also mixed in with some of the other
changes that have happened since 4.2.0.
So I won't make a patch against 4.2.0, but if you really want it then
you can grab the current snapshot and build it, then copy the
web/hobbitsvc.cgi to ~hobbit/server/bin/ and
hobbitd/webfiles/trends_form to the ~hobbit/server/web/ directory.
This has a small form at the top of the "trends" page where you can pick
how much time the graphs should cover. The default is 48 hours (as
before), but you can change that by setting TRENDSECONDS in
hobbitserver.cfg - as the name implies, it is in seconds.
The form layout on the trends page will probably change a bit, perhaps
to some drop-down boxes.
Regards,
Henrik
Michael Dunne
Network Support Specialist
AccuWeather, Inc.
XXX-XXX-XXXX Ext. XXXX
³Just because something bears the aspect of the inevitable one should not,
therefore, go along willingly with it.²
Philip K. Dick - The Transmigration of Timothy Archer