]> git.ipfire.org Git - ipfire-2.x.git/commit
crontab: add periodic cleanup the collectd RRD (graphs)
authorJon Murphy <jon.murphy@ipfire.org>
Thu, 25 Aug 2022 00:31:29 +0000 (19:31 -0500)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 23 Sep 2022 10:38:11 +0000 (10:38 +0000)
commit73b404314372b36c788b709bcf18793f0a1abcbc
tree810cf7cfd10dd58b9308ff661efb0083cde81e66
parentc2993d5e587f5111943d3d0452e8a9b1646b69f0
crontab: add periodic cleanup the collectd RRD (graphs)

- Created (mostly) for old openvpn graphs
- RRD removed when no graph modification for +365 days
  - chosen since graph max out is 365 days
- fcron job runs once per week
  - chosen since this is just a cleanup and it doesnt need to run everyday
Note: logging can be added if needed.

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
config/cron/crontab