[Spacewalk-list] new script monitoring-data-cleanup
Miroslav Suchý
msuchy at redhat.com
Fri Aug 28 12:56:16 UTC 2009
Since Spacewalk 0.7 (or now in nightly) will be available new script,
which is able to delete old monitoring data.
From "man monitoring-data-cleanup":
monitoring-data-cleanup - Delete unused and old data from
monitoring probes.
SYNOPSIS
monitoring-data-cleanup [OPTIONS]
DESCRIPTION
This script deletes data from monitoring probes older than given
time frame. It can be useful to run from
cron to periodicaly delete data which is not interesting for you.
Additionaly - in Spacewalk 0.5 and older we did not deletes data
when probe has been deleted. And if you
did not push scout configs you will be getting data for deleted
probes too. This script will delete them
too.
OPTIONS
--dry-run
No changes will be commited. All data will remain intact.
--delete-unmatched --no-delete-unmatched
Delete data from probes, which have been already
deleted. Default is to delete them.
--keep-monitoring-data DELTA
Delete data older than DELTA. Recognized deltas are of
the form:
+Yy +Mm +Ww +Dd +Hh +MNmn +Ss
Examples:
"1year 2 months 3hours"
"2 business days"
For more information about format see ParseDateDelta
section of Date::Manip(3)
--help
Display this help.
SEE ALSO
Date::Manip(3)
AUTHOR
Miroslav Suchý <msuchy at redhat.com>
COPYRIGHT AND LICENSE
Copyright (c) 2009 Red Hat, Inc. Released under GNU General
Public License, version 2 (GPLv2).
--
Miroslav Suchy
Red Hat Satellite Engineering
More information about the Spacewalk-list
mailing list