Next:
spong-client
Previous:
spong-ack
 [Table of Contents][Index]

spong-cleanup



NAME

spong-cleanup - perform nightly maintenance to the spong database

SYNOPSIS

spong-cleanup

DESCRIPTION

This program performs routine, regular maintenance of the spong database.

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.

CONFIGURATION

Configuration Files

spong-cleanup reads the standard spong.conf and spong.conf.<host> configuration files.

Configuration Variables

$SPONGDB
This defines the directory where the Spong database will be stored. Each host will have a subdirectory in this directory which is named for the host.
$SPONG_ARCHIVE
The directory where to put old history file entries for each host. Each host has it's own file in this directory.
$OLD_HISTORY
This is the number of days of history to keep for each host in the spong-server database. Any old history is append to the file for the host under the $SPONG_ARCHIVE directory.
$OLD_SERVICE
This is the number of days to retain stale service status (i.e. purple status) entries in the spong-server database. Any service service status entries older than <$OLD_SERVICE> days old are deleted from the database.

FILES

spong.conf, spong.conf.[hostname]

DEPENDENCIES

Perl v5.005_03 or greater is required.

BUGS

None know bugs.

SEE ALSO

the spong-server entry elsewhere in this document, spong.conf

AUTHOR

Ed Hill <ed-hill@uiowa.edu>, Unix System Administrator, The University of Iowa

Stephen L Johnson <sjohnson@monsters.org>

HISTORY

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.


[Top] Generated by Pod::HTML 0.43 on Wed Jun 13 11:17:41 2001