Next: spong-client | Previous: spong-ack | [Table of Contents] | [Index] |
spong-cleanup - perform nightly maintenance to the spong database
spong-cleanup
This program performs routine, regular maintenance of the spong database.
Cleans out any history older then 7 days. It moves the old history for each host into the $SPONG_ARCHIVE directory. If you don't think you would ever want to get at that history, then you can just change the script so that it is deleted.
* Removes any acknowledgements that are no longer valid.
* Removes any services that don't seem to be reported any more (if you stop monitoring something on a machine - the old entry will still hang around and show up as purple).
The spong-cleanup program should be run every night as a cronjob. This will ensure that database queries are speedy especially the History Log displays.
spong-cleanup reads the standard spong.conf and spong.conf.<host> configuration files.
spong.conf
, spong.conf.[hostname]
Perl v5.005_03 or greater is required.
None know bugs.
the spong-server manpage, spong.conf
Ed Hill <ed-hill@uiowa.edu
>, Unix System Administrator, The University of
Iowa
Stephen L Johnson <sjohnson@monsters.org
>
Based on code/ideas from Sean MacGuire (BB), and Helen Harrison (Pong). Ed Hill original converted Big Brother (http://www.bb4.com) into Perl which diverged from Big Brother to become Spong. Ed Hill continued Spong development until version 2.1. Stephen L Johnson took over development in October, 1999 with his changes which became Spong 2.5.