SMOKEPING_CGI(1)
π SMOKEPING_CGI(1) β the SmokePing webfrontend, bestie
okay so real talk, this one's from the SmokePing manual section, and it's literally the page for smokeping_cgi π
β¨ NAME β¨
smokeping_cgi β the SmokePing webfrontend, no cap π
πΈ OVERVIEW πΈ
So basically this script is the "website" for your whole SmokePing monitoring situation π It takes the targets you're watching and shows them off in a tree structure, and then it draws graphs on demand β like, whenever somebody actually needs to look at one πΌοΈβ¨
π¦ DESCRIPTION π¦
To get smokeping_cgi up and running, you need a webserver that lets you run CGI or β highkey better β FastCGI scripts. The system has to be set up so that the cgi process is allowed to write to the image caching area as defined in the config file π (yes, it needs write access, don't @ me, it's literally in the config)
This script runs fine as a normal CGI, BUT β and hear me out β it will appear to be very slow π because it does a loooot of things when starting up. So if the script has to be started fresh on every single click, that's both slow and a tough thing for your webserver to deal with. So I therefore strongly recommend using FastCGI β‘ periodt.
π‘ Please refer to the installation document for detailed setup instructions β it's all there, iykyk.
π SETUP π
There's a sample htdocs directory in your smokeping installation root π Copy its content to the place where your webserver expects its files.
The fcgi script shows the preferred method for running smokeping β¨ You can also run smokeping as a cgi. But make sure to still use the wrapper β because exposing ARGV to the webserver represents a security vulnerability you may rather not want to deal with π like, fr fr, don't skip the wrapper.
Adjust the paths in the script and you should be ready to go π
π SEE ALSO π
π COPYRIGHT π
Copyright (c) 2011 by Tobias Oetiker. All right reserved.
π LICENSE π
This 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 π«Ά
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
π AUTHOR π
Tobias Oetiker <tobi@oetiker.ch> π§
okay that's the whole page, bestie, you're so welcome π this was SmokePing 2.9.0, dated 2025-06-30 β slay, go set up your FastCGI now πΈβ¨π¦
π¦ where this page comes from
- alpine 3.23: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- alpine 3.24: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms