[Xymon] RRD files are too big
Mills,David (HHSC Contractor)
David.Mills at hhsc.state.tx.us
Wed Mar 28 16:53:30 CEST 2018
Brilliant, Jeremy. Thx for the assist!
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(512) 595-1238 (mobile)
From: Jeremy Laidman [mailto:jeremy at laidman.org]
Sent: Wednesday, March 28, 2018 8:54 AM
To: Mills,David (HHSC Contractor) <David.Mills at hhsc.state.tx.us>
Cc: xymon at xymon.com
Subject: Re: [Xymon] RRD files are too big
Forgot to cc the list.
On Wed., 28 Mar. 2018, 10:50 am Jeremy Laidman, <jeremy at laidman.org<mailto:jeremy at laidman.org>> wrote:
I see the same thing.
Run "rrdtool info /path/to/file.rrd | grep cf" on both old and new RRD files. I'm guessing you will see many more consolidation functions in the newer RRD files. This may be due to an enhanced rrddefinitions.cfg file in the Terabithia package, apparently extended for the 4.3.13 release. The additional CFs are related to Holt-Winters prediction (HWPREDICT).
I suspect you could copy in the previous rrddefinitions.cfg file, delete an RRD file, and it'll get created without the extra CFs, and much smaller.
It may be possible to export, edit, import so as to not lose data.
J
On 28 March 2018 at 08:35, Mills,David (HHSC Contractor) <David.Mills at hhsc.state.tx.us<mailto:David.Mills at hhsc.state.tx.us>> wrote:
Hey, Folks…
I posted on this issue a few months ago (cf http://lists.xymon.com/archive/2017-November/045048.html), but still need help.
I migrated / upgraded from Xymon 4.3.3 on a Solaris 10 host to a Linux host (RHEL 6) using the Terbithia binaries (4.3.28), and things have been doing well for the most part. Unfortunately the new RRD files are massively bigger than the original ones on the old server, causing a lot of space issues on the file system.
The old RRD files took up around 38KB each (avg.) but the new ones are fairly uniform at 400+KB each.
Can anyone please tell me how to get those big files down-sized back to something much closer to the old sizes? Or, perhaps, someone can point me at the parameters Xymon uses that determine the RRD file sizes?
FWIW, this is a representative listing of one host’s RRD files:
16:33:08 lwmp043:[xymon]/xymon-data/rrd> ls twiu003/
total 13M
drwxr-xr-x 2 xymon xymon 4.0K Feb 26 12:14 ./
drwxr-xr-x 6284 xymon xymon 204K Mar 22 07:39 ../
-rw-r--r-- 1 xymon xymon 213K Mar 27 15:57 clock.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:52 disk,dev,odm.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:36 disk,dev,vx,dmp.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:31 disk,dev,vx,rdmp.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 16:12 disk,dpool.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:41 disk,etc,dfs,sharetab.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:57 disk,etc,svc,volatile.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:31 disk,export.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 16:17 disk,export,zones,cit032.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:01 disk,export,zones,clt031.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:41 disk,export,zones.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:16 disk,root.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:46 disk,tmp.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:56 disk,var.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:56 ifstat.aggr2.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 15:01 ifstat.aggr3.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:31 ifstat.e1000g3.rrd
-rw-r--r-- 1 xymon xymon 423K Mar 27 14:31 ifstat.nxge0.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 15:01 la.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 15:11 memory.real.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 14:36 memory.swap.rrd
-rw-r--r-- 1 xymon xymon 3.3M Mar 27 16:17 netstat.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 14:51 procs.rrd
-rw-r--r-- 1 xymon xymon 844K Mar 27 15:53 sar.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 15:56 tcp.conn.rrd
-rw-r--r-- 1 xymon xymon 213K Mar 27 15:26 users.rrd
TIA!
david
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(512) 595-1238 (mobile)
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180328/6a071bba/attachment.html>
More information about the Xymon
mailing list