[Xymon] Cleaning up history logs

Novosielski, Ryan novosirj at umdnj.edu
Tue Dec 4 22:12:24 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2012 04:03 PM, Henrik Størner wrote:
> On 04-12-2012 18:11, Michael Beatty wrote:
>> What does Xymon check to determine if my history logs directory
>> is full?
> 
> It uses the "statvfs()" function, which should return how much
> space is available for unprivileged users (i.e. non-root users).
> Same info as a "df" will give you. If less than 5% is free, it will
> stop saving history logs.
> 
> The threshold can be changed via the --minimum-free=N option to 
> xymond_history.

Interesting, so I guess I stand corrected! I guess it is possible this
is happening to me on my Solaris install and I don't realize it? My
drive is 99% full according to df, but I never understood this
reserved space to be part of the "100%" of the drive -- after the
drive is 100% free, there is still 5% left in blocks/kilobytes.

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC+ZzgACgkQmb+gadEcsb7UvgCfSGvbZHdK4dh+1itIScEIzML+
q5MAoLfSMJ0QfYblG1R9ySPKZNUzQLI+
=aRQt
-----END PGP SIGNATURE-----




More information about the Xymon mailing list