smokeping

I'm installing and configuring smokeping again on FreeBSD 14.1.

However I'm not seeing the graphs show up. I have permissions in /usr/local/var/smokeping:

Code:
@smokeping:~ $ ls -la /usr/local/var/smokeping/
total 20
drwxr-xr-x  4 smokeping smokeping 512 Jun  5 15:43 .
drwxr-xr-x  3 root      wheel     512 Jun  5 15:23 ..
drwxrwxrwx  7 smokeping smokeping 512 Jun  5 15:44 data
drwxrwxrwx  7 smokeping smokeping 512 Jun  5 17:20 imgcache
-rwxrwxrwx  1 smokeping smokeping   6 Jun  6 09:50 pid
@smokeping:~ $

They were more restrictive. But for testing I did this.

Here is my apache config:

Code:
LoadModule cgi_module libexec/apache24/mod_cgi.so
LoadModule fcgid_module libexec/apache24/mod_fcgid.so
LoadModule fastcgi_module   libexec/apache24/mod_fastcgi.so

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .fcgi
</IfModule>
ScriptAlias /smokeping.fcgi /usr/local/smokeping/htdocs/smokeping.fcgi
Alias       /smokeping      /usr/local/smokeping/htdocs/
<Directory "/usr/local/smokeping/htdocs/">
       AddHandler      fcgid-script .fcgi
       AddHandler      cgi-script .cgi .fcgi
       AllowOverride   None
       DirectoryIndex  index.html smokeping.fcgi smokeping.cgi sm.cgi
       Options         FollowSymLinks ExecCGI Indexes
       Require         all granted
</Directory>
 
I forgot to mention that I put smokeping in the www group and www in the smokeping group. But I gave the folder write access and restarted apache and smokeping. STill can't see anyhting. I wonder if I need to delete what is in there and recreate it...?
 
I wrote write access, but I think the web interface really only needs read access. That said, /usr/local/var? That's an odd directory, are you sure that's correct?
 
You might want to look into something more "modern" than something relying on cgi scripts.
Netdata supports ping graphing via plugins and there are multiple tools utilizing Prometheus and Grafana for data storage and graphing.
 
You might want to look into something more "modern" than something relying on cgi scripts.
Netdata supports ping graphing via plugins and there are multiple tools utilizing Prometheus and Grafana for data storage and graphing.
I actually use grafana. But it has become very sluggish since 11.0. I haven't gotten it to do what smokeping does yet....
 
Back
Top