Next: spong.conf | Previous: spong-server-mod-template | [Table of Contents] | [Index] |
spong-status - send various type of messages to a spong-server
spong-status [--help] spong-status [--ttl #] (--file name | --message "message text") CMD HOST SERVICE COLOR "SUMMARY TEXT" spong-status [--cmd cmd] --host name --service name --color color --summary text (--message text | -f filename) [--ttl seconds]
This program allows you to create your own extern spong client programs or integrate existing monitoring program or scripts in Spong. spong-status hides all of the details of the Spong Client/Server communication protocol.
spong-cleanup reads the standard spong.conf and spong.conf.<host> configuration files.
SPONGHOME/etc/spong.conf
, SPONGHOME/etc/spong.conf.<host>
spong-status --cmd status --host www.my-inc.com --service fping --color yellow --summary "Host contacted. Response time more then 30 ms" --file /tmp/fping.out spong-status --ttl 86400 --message "Backup failed for /usr,/var" page www.my-inc.com red backup "Backup failed"
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.