Smokeping FastCGI
Monitoring over 1000 devices in smokeping can be a challenge. It gets SLOW. One of the best ways to speed it up is to implement FastCGI.
This is for Debian Buster but may apply to your distro.
Edit /etc/apache2/conf-available/smokeping.conf
and add
<Location /smokeping/smokeping.cgi> SetHandler fcgid-script </Location>
Next install libapache2-mod-fcgid
apt-get install libapache2-mod-fcgid
I also had to increase the fcgi timeout.
Edit /etc/apache2/mods-available/fcgid.conf
and change FcgidIOTimeout
to 600.
Restart both apache and smokeping.
Leave a Reply