Next: spong-cleanup | Previous: spong | [Table of Contents] | [Index] |
spong-ack - Spong acknowledgment tool
spong-ack [--debug] [--batch] host services time [message]
spong-ack [--debug] --delete ack-id
When a spong event occurs (or will occur), you can use this tool to acknowledge that you know that there is a problem. You can provide text that will be seen by others looking at the event (via a spong display program). You can specify at time limit that the problem will occur. If a problem has been acknowledged, you will no longer received notifications of the problem, and the display programs will show the status of the service as "blue".
Here is a description of the arguments for creating acks:
Here is a description of the arguments for deleting acks:
spong-cleanup reads the standard spong.conf and spong.conf.<host> configuration files.
SPONGHOME/etc/spong.conf
, SPONGHOME/etc/spong.conf.<host>
spong-ack mailhub.my-inc.com all '05/27/2000 06:00:00' 'Server is being upgraded' spong-ack www5.my-inc.com http +1h 'Web server is randomly dying. Investigating.'
In a shell script: ... HOST=`hostname` ACKID=`spong-ack --batch $HOST cpu +8h 'Database exports are running'` ... # Database exports are done here ... spong-ack --delete $ACKID ...
Perl v5.005_03 or greater is required.
No know bugs.
the spong-server entry elsewhere in this document, the spong.conf manpage, the developer-guide entry elsewhere in this document
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.