Monitor Plugin Specifications Version 0.01

Inro

A Sender Plugin is any executable program that sends a report to the system administrator. The Sender Plugin should send the text it recives via standard input and return any errors via standard output.

System Report Format

BEGINREPORT #

Marks the start of the report. # is the format
version of the report.

MONITOR name

The name of the monitor that the following
report was collected from.

Between MONITOR and DONEMONITOR is the
report from the monitor. See Monitor Plugin
Specifications for the format.

DONEMONITOR

Marks the end of a monitor report.

DONEREPORT

Marks the end of the report.

Example System Report

BEGINREPORT 0.01
MONITOR CPU Temperature
BEGIN 0.01
URGENCY 2
REPORT
CPU Temperature 30 degrees.
DONE
DONEMONITOR
MONITOR Network Status
BEGIN 0.01
URGENCY 4
REPORT
Network usage at %100 of available bandwidth.
DONE
DONEMONITOR
DONEREPORT

Succeed/Fail Report

If the sender succeeds it should return "SUCCEED" via standard output. Otherwise it should return "FAIL" with an error message on further lines.

Index


© 1999, 2000 Peter Todd
Last update - $Id: sender.html,v 5.1 2000/05/02 00:38:44 pete Exp $