Daemon Monitor Plugin Specifications Version 0.01

Intro

A Daemon Monitor Plugin is like a monitor. However a dmonitor is always running. Like a monitor a dmonitor returns it's report via standard out put. Unlike a monitor a dmonitor has to spit out it's report on demand.

Report Format

The report format used by a dmonitor is identical to the report format of a normal monitor. Note that the closing line (DONE) is a *must* Esmd waits untill that line before it considers the report done. Otherwise it will timeout and report an error.

Communication

A dmonitor must be constantly reading standard input for the word STAT When a dmonitor gets STAT it should make it's report and send it via standard output.

If a dmonitor wants esmd to get the reports from the dmonitors immediately it should send esmd a SIGUSR1 signal. The pid of esmd can be found in /var/run/esmd.pid

Index


© 1999 Peter Todd
Created on 09/16/1999 Last update - $Id: dmonitor.html,v 4.0 1999/10/07 22:57:35 pete Exp $