NAME

  plotter.php - generate a dmon history plot


SYNOPSIS

  Usage : plotter.php
  Params :
    HOST : target host
    SHOW : target host's shortname
    WRKR : target host's worker ; usually <HOST>
    COLS : target item
    IVAL : target interval
    KIND : target item's kind
    SERV : hostname server
    DEBUG : debug-flag ; default 0


DESCRIPTION

PHP-script plotter.php generates a png-plot (graph) of the history-data of some HOST's item (specified as COLS) for some interval IVAL.

The script first retrieves the data for HOST.

If the script runs on the server (SERV == localhost), it can send a HIST command to WRKR (usually HOST) ; otherwise, it has to issue a CLIENT command to the server.

  CLIENT <WRKR> HIST ...

With the data, the plot is generated using jpgraph.

IF/when argument DEBUG is true, plotter.php generates debug text, instead of a png image.

CGI-script gen-dmon-page generates plotter.php IMG-refs.


SEE ALSO

dmon, gen-dmon-page


LICENSE

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl 5.10.0 README file.


AUTHOR

plotter © 2015-2016 Henk P. Penning - All rights reserved ; dmon-0.05-p216 - Thu Oct 13 18:21:27 2016