I did some cleaning this morning and threw away old disk rrd files that were no longer in use. After I restarted hobbit, I now have 12 rrd graphs under DISK column but only 10 contains any data. How do I remove the other 2 that are blank ?
They do not show up under trends (e.g the blank rrd graphs)
-- Jon Bjorn Njalsson <jonbjorn at hi.is>
On Tue, May 17, 2005 at 01:01:02PM, Jon Bjorn Njalsson wrote:
I did some cleaning this morning and threw away old disk rrd files that were no longer in use. After I restarted hobbit, I now have 12 rrd graphs under DISK column but only 10 contains any data. How do I remove the other 2 that are blank ?
You should be able to remove it from data/rrd/HOSTNAME/disk,<partition>.rrd
Just to be safe just mv it to *.rrd to *.rrd.bak just for that partition and within a min or so that sh'd disappear.
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
I did that already. I have 10 graphs with four partitions on each rrd graph, and then I have 2 graphs totally empty, no partitions, and I have verified that I have 40 .rrd files in the directory for this server.
On mið, 2005-05-18 at 18:05 -0400, Asif Iqbal wrote:
On Tue, May 17, 2005 at 01:01:02PM, Jon Bjorn Njalsson wrote:
I did some cleaning this morning and threw away old disk rrd files that were no longer in use. After I restarted hobbit, I now have 12 rrd graphs under DISK column but only 10 contains any data. How do I remove the other 2 that are blank ?
You should be able to remove it from data/rrd/HOSTNAME/disk,<partition>.rrd
Just to be safe just mv it to *.rrd to *.rrd.bak just for that partition and within a min or so that sh'd disappear.
-- Jon Bjorn Njalsson <jonbjorn at hi.is>
On Tue, May 17, 2005 at 01:01:02PM +0000, Jon Bjorn Njalsson wrote:
I did some cleaning this morning and threw away old disk rrd files that were no longer in use. After I restarted hobbit, I now have 12 rrd graphs under DISK column but only 10 contains any data. How do I remove the other 2 that are blank ?
They do not show up under trends (e.g the blank rrd graphs)
What does you "disk" status message look like ? Hobbit basically makes a guess at how many filesystems to graph when showing the "disk" graph, based on the number of non-blank lines in the disk status message. This usually gets it right, but it can count a bit too many, especially if you have filesystems in a yellow- or red-state (they show up twice in the status message).
The "trends" status page actually counts how many disk RRD files are available, so it will get the number right.
Henrik
participants (3)
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net
-
jonbjorn@hi.is