Historical trends?
list Kolbjørn Barmen
Is there a way to get a historical trend view? Typical monday situation, I came to work to find a host down, but it happened more than 48 hours ago. Would be nice if there was a way to get trends view for previous periods :) -- Kolbjørn Barmen UNINETT Driftsenter
list Lars Ebeling
If you mean the graphical trends, you get previous periods by clicking on the graph. Regards Lars
▸
----- Original Message -----
From: "Kolbjørn Barmen" <user-5623b4f246b3@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, March 12, 2007 10:02 AM
Subject: [hobbit] Historical trends?
Is there a way to get a historical trend view? Typical monday situation, I came to work to find a host down, but it happened more than 48 hours ago. Would be nice if there was a way to get trends view for previous periods :) -- Kolbjørn Barmen UNINETT Driftsenter
list Kolbjørn Barmen
▸
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. -- Kolbjørn Barmen UNINETT Driftsenter
list Scott Walters
Yes, I'd like to request the same feature. From the "trends" page, be able to change the period view with links at the top of the page: Daily - Current Default, Weekly,Monthly,Quarterly Being able to see all the services for longer period of times together can be useful for troubleshooting and event correlation. Scott
▸
On 3/12/07, Kolbjørn Barmen <user-5623b4f246b3@xymon.invalid> 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. -- Kolbjørn Barmen UNINETT Driftsenter
list John Glowacki
▸
KolbjC8rn 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.
You can almost get what you want from the metrics report. It allows you to choose a system and a time frame, but will not display all graphs for a system. It would be a useful feature to do what you are asking for. John
list Henrik Størner
▸
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
list Michael Dunne
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
list Henrik Størner
▸
On Tue, Mar 13, 2007 at 02:01:15PM -0400, Michael Dunne wrote:
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 hereWhy must OSX always pick the same names for things that I want to use ??? Oh well ... I'll rename my mergesort() routine to "msort" and see if that works better. Regards, Henrik
list Dominique Frise
▸
Henrik Stoerner 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.
Useful feature indeed! We tried it under Hobbit 4.2.0 with allinonepatch and Solaris 9. The "Trends period" box is there but when we press "update" we get an internal server error: Premature end of script headers: bb-hostsvc.sh, referer: https://wwwexp.unil.ch/hobbit-cgi/bb-hostsvc.sh?HOST=zeb2&SERVICE=trends Any idea? Dominique UNIL - University of Lausanne
list Steve Aiello
▸
The form layout on the trends page will probably change a bit, perhaps to some drop-down boxes.
Since you mentioned that the trends page may change a bit, I would like to submit some ideas that I had about the trends page. 1. I consider the trends page to display the 'critical' trends. If too many graphs are displayed, the page can get overwhelming or confusing. I also find useful that more than one vmstat/netstat/etc graph is available. What I would like to see is, if a particular graph displayed on the trends page has sibling graphs (i.e. netstat1, netstat2, etc) that an icon would be displayed next to the zoom icon. This icon would link to a page with all of the sibling (netstat*) graphs. 2. On the graph page, offer the option to have the displayed graph data exportable(i.e. user can click a link and download a file with the raw RRD data points). This would also be great on the metrics report too. As to the export formats, I am not sure, possibly csv and xml. Just some thoughts, thanks again for Hobbit. ~Steve
list Mike Cormier
Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Michael Dunne
Henrik, The latest snapshot compiles and runs nicely. Thanks for making the change, and thanks again for Hobbit. Mike
▸
On 3/13/07 5:03 PM, "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Mar 13, 2007 at 02:01:15PM -0400, Michael Dunne wrote: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 hereWhy must OSX always pick the same names for things that I want to use ??? Oh well ... I'll rename my mergesort() routine to "msort" and see if that works better. Regards, Henrik
list Mike Cormier
Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Gary Baluha
From the looks of that graph, I'm guessing it is the CPU Load graph? If you make custom graphs, I know you have to manually set up the rrd definition (in hobbitgraph.cfg) to say how you want the graph to display, but the default ones should be fine. I wonder if there's a problem with the install of the rrdtool package on your machine (though I would think Hobbit wouldn't compile if there was).
▸
On 3/14/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote:Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Mike Cormier
Hi Gary, Thanks for replying. Yes it is the cpu graph, all the other graphs display the same way. Everything compiled with no errors; I'll try to create some test/sample rrd graphs to see if the labels display. If not then I will recompile rrdtool. ~Mike
▸
-----Original Message-----
From: Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid]
Sent: March 14, 2007 4:12 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Graph Display Error
From the looks of that graph, I'm guessing it is the CPU Load graph? If
you make custom graphs, I know you have to manually set up the rrd
definition (in hobbitgraph.cfg) to say how you want the graph to
display, but the default ones should be fine. I wonder if there's a
problem with the install of the rrdtool package on your machine (though
I would think Hobbit wouldn't compile if there was).
On 3/14/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote:
Hello,
I just recently installed Hobbit and when I click on the trends graph I
do not see any labels on any of the graphs. Any suggestions to how I
could rectify this issue?
~Mike
list Gary Baluha
I seem to recall running in to this problem myself at one point, though I can't recall what was done to fix it. What version of rrdtool are you running, and what version of Hobbit?
▸
On 3/14/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote:Hi Gary, Thanks for replying. Yes it is the cpu graph, all the other graphs display the same way. Everything compiled with no errors; I'll try to create some test/sample rrd graphs to see if the labels display. If not then I will recompile rrdtool. ~Mike -----Original Message----- *From:* Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] *Sent:* March 14, 2007 4:12 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Graph Display Error From the looks of that graph, I'm guessing it is the CPU Load graph? If you make custom graphs, I know you have to manually set up the rrd definition (in hobbitgraph.cfg) to say how you want the graph to display, but the default ones should be fine. I wonder if there's a problem with the install of the rrdtool package on your machine (though I would think Hobbit wouldn't compile if there was). On 3/14/07, *user-044f21f00cf0@xymon.invalid* <user-044f21f00cf0@xymon.invalid> wrote: Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Mike Cormier
rrdtool-1.2.19 hobbit-4.2.0 ~Mike -----Original Message----- From: Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] Sent: March 15, 2007 10:07 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Graph Display Error I seem to recall running in to this problem myself at one point, though I can't recall what was done to fix it. What version of rrdtool are you running, and what version of Hobbit? On 3/14/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote: Hi Gary, Thanks for replying. Yes it is the cpu graph, all the other graphs display the same way. Everything compiled with no errors; I'll try to create some test/sample rrd graphs to see if the labels display. If not then I will recompile rrdtool. ~Mike -----Original Message----- From: Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] Sent: March 14, 2007 4:12 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Graph Display Error From the looks of that graph, I'm guessing it is the CPU Load graph? If you make custom graphs, I know you have to manually set up the rrd definition (in hobbitgraph.cfg) to say how you want the graph to display, but the default ones should be fine. I wonder if there's a problem with the install of the rrdtool package on your machine (though I would think Hobbit wouldn't compile if there was). On 3/14/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote: Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Gary Baluha
It looks like from the RRD page that some problems with the RRD graphs can be fixed by using the latest version of libart. So, that's one other software package you might want to check the version on.
▸
On 3/15/07, user-044f21f00cf0@xymon.invalid <user-044f21f00cf0@xymon.invalid> wrote:rrdtool-1.2.19 hobbit-4.2.0 ~Mike -----Original Message----- *From:* Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] *Sent:* March 15, 2007 10:07 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Graph Display Error I seem to recall running in to this problem myself at one point, though I can't recall what was done to fix it. What version of rrdtool are you running, and what version of Hobbit? On 3/14/07, *user-044f21f00cf0@xymon.invalid* <user-044f21f00cf0@xymon.invalid> wrote: Hi Gary, Thanks for replying. Yes it is the cpu graph, all the other graphs display the same way. Everything compiled with no errors; I'll try to create some test/sample rrd graphs to see if the labels display. If not then I will recompile rrdtool. ~Mike -----Original Message----- *From:* Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] *Sent:* March 14, 2007 4:12 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Graph Display Error From the looks of that graph, I'm guessing it is the CPU Load graph? If you make custom graphs, I know you have to manually set up the rrd definition (in hobbitgraph.cfg) to say how you want the graph to display, but the default ones should be fine. I wonder if there's a problem with the install of the rrdtool package on your machine (though I would think Hobbit wouldn't compile if there was). On 3/14/07, *user-044f21f00cf0@xymon.invalid* <user-044f21f00cf0@xymon.invalid> wrote: Hello, I just recently installed Hobbit and when I click on the trends graph I do not see any labels on any of the graphs. Any suggestions to how I could rectify this issue? ~Mike
list Dominique Frise
▸
Henrik Stoerner 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.
Hi Henrik,
We found why we receive "Internal Server Error" when using this new feature.
We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to
the hobbitsvc.cgi.
Here an example with NAME="arwen (ESX Server for Linux)":
<CENTER>
<TABLE WIDTH=80% BORDER=0 CELLSPACING=5 SUMMARY="Trends period">
<TR><TD>Trends period</TD></TR>
<TR>
<TD BGCOLOR="#333333">
<BR>
<CENTER>
<FORM METHOD="GET" ACTION="/hobbit-cgi/bb-hostsvc.sh">
Days: <INPUT TYPE=TEXT NAME="backdays" SIZE=4
VALUE="3">
Hours: <INPUT TYPE=TEXT NAME="backhours" SIZE=4
VALUE="0">
Minutes: <INPUT TYPE=TEXT NAME="backmins" SIZE=4
VALUE="0">
Seconds: <INPUT TYPE=TEXT NAME="backsecs" SIZE=4
VALUE="0">
<INPUT TYPE="HIDDEN" NAME="HOST" VALUE="arwen (ESX Server for Linux)">
<INPUT TYPE="HIDDEN" NAME="SERVICE" VALUE="trends">
<INPUT TYPE="SUBMIT" NAME="Go" VALUE="Update" ALT="Update">
</FORM>
</CENTER>
</TD>
</TR>
</TABLE>
</CENTER>
Could you have a look at this?
Thanks.
Dominique
UNIL - University of Lausanne
list Ralph Mitchell
▸
On 3/20/07, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:
We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to the hobbitsvc.cgi. Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses?? They can make a shell script do unexpected things... Ralph Mitchell
list Dominique Frise
▸
Ralph Mitchell wrote:
On 3/20/07, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to the hobbitsvc.cgi. Here an example with NAME="arwen (ESX Server for Linux)":Have you tried it without the parentheses?? They can make a shell script do unexpected things... Ralph Mitchell
Yes I did. The thing is the code should use the hostname not what is specified with the NAME tag. Dominique _UNIL - University of Lausanne
list Dominique Frise
▸
Dominique Frise wrote:
Ralph Mitchell wrote:On 3/20/07, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to the hobbitsvc.cgi. Here an example with NAME="arwen (ESX Server for Linux)":Have you tried it without the parentheses?? They can make a shell script do unexpected things... Ralph MitchellYes I did. The thing is the code should use the hostname not what is specified with the NAME tag. Dominique _UNIL - University of Lausanne
The problem was solved by using the &BBHIKEY variable instead of &BBHOST in ~hobbit/server/web/trends_form Cheers Dominique UNIL - University of Lausanne