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 (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