smokeping_cgi (1) - Linux Man Pages
smokeping_cgi: SmokePing webfrontend
smokeping_cgi - SmokePing webfrontend
OVERVIEWThis script acts as a 'website' for your SmokePing monitoring operation. It presents the targets you are looking at in a tree structure and draws graphs as they are required by people looking at the pages.
DESCRIPTIONTo get smokeping_cgi going, you need a webserver which allows you to run CGI or better FastCGI scripts. The system must be setup so that the cgi process is allowed to write to the image caching area as defined in the config file.
This script runs fine as a normal CGI, BUT it will appear to be very slow, because it does a lot of things when starting up. So if the script has to be started a fresh on every click, this is both slow and a tough thing for your webserver. I therefore strongly recommend using FastCGI.
SETUPThere is a sample htdocs directory in your smokeping installation root. Copy its content to the place where your webserver expects its files. There are also two sample cgi scripts showing how to launch the smokeping cgi in your website. The only difference is the file extension. Adjust the paths in the script and you should be ready to go.
COPYRIGHTCopyright (c) 2011 by Tobias Oetiker. All right reserved.
LICENSEThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHORTobias Oetiker <tobi [at] oetiker.ch>