[hobbit] "disk1" graphs
Re-visiting this topic again, as I seem to be unable to turn on the disk1 graphs, either in the trends column, or in the normal disk display.
The latest hobbit now has the disk1 entry already in hobbitgraph.cfg, so what change do I need to make in order to have the graph displayed in addition to the normal disk graph?
-Charles
On Thu, Mar 17, 2005 at 02:03:27PM -0700, Charles Jones wrote:
BB (by default?) displays 2 disks graphs, the first one (disk) shows the percentage used, and the other (disk1) shows the actual total used in megabytes of each partition. How do I activate the disk1 graph? [snip]
I assume that part of the answer is adding a disk1 entry to hobbitgraph.cfg
Right, and this is the part that would make the graphs work with the URL you tried. This definition should do it:
[disk1] FNPATTERN disk(.*).rrd TITLE Disk Utilization YAXIS Used DEF:p (at) RRDIDX@= (at) RRDFN@:used:AVERAGE LINE2:p (at) RRDIDX@# (at) COLOR@:@RRDPARAM@ -u 100 -l 0 GPRINT:p (at) RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p (at) RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p (at) RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
- How do I add the disk1 graph so it is shown in addition to the normal disk graph when you click a disk service?
Right now you cannot do that. The status-report webpage only shows one graph, and you cannot configure which one. Sorry ...
- How do I add the disk1 graph so that it is displayed in the trends section?
LARRDS is used to figure out how a status report is parsed to extract the RRD data; GRAPHS is used to decide which graphs show up on the "trends" page. So you'll want to add it to the GRAPHS setting.
Henrik
On Mon, Jul 31, 2006 at 02:25:21PM -0700, Charles Jones wrote:
Re-visiting this topic again, as I seem to be unable to turn on the disk1 graphs, either in the trends column, or in the normal disk display.
For the trends display, you can do it on a per-host basis by adding TRENDS:*,disk:disk|disk1 to the host entry in the bb-hosts file.
For the disk status display, you can have either the normal %-graph, or the disk1-graph - not both. And it's a global setting. In hobbitserver.cfg, change TEST2RRD so instead of "disk" there is "disk=disk1"; just below that, change GRAPHS to have a "disk1" entry instead of "disk".
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
jonescr@cisco.com