Xymon Mailing List Archive search

monitor a series of files for absolute size (alert & trending)

list Ralph Mitchell
Thu, 3 Aug 2006 08:23:55 -0500
Message-Id: <user-aba0f4673fed@xymon.invalid>

On 8/3/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:
greetings,

 I need to monitor some os and db backup files for their sizes for alert
based on absolute sizes as well as rrd trending. Does Hobbit do this now? I
am running 4.2-RC-20060712 on CentOS 4.3/i386.

 A twist is the file names are timestamped
(os-backup-YYYYMMDD-HHmm.star.gz).  any suggestions/tricks? I thought of
making a copy to a fixed name for monitoring, but it is kinda expensive due
to the size of the backups themselves.
Why not make a hardlink to each file and change it at midnight with a
cron entry??  That gives you the fixed names without the overhead of
copying the files.

Ralph Mitchell