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.
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.
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
If the sender succeeds it should return "SUCCEED" via standard output.
Otherwise it should return "FAIL" with an error message on further lines.
Index