Smokeping on Debian 11

I’ve followed the cookbook for smokeping integration but I’m greeted with a 404 when trying to access mylibre.nms/smokeping. I noticed the configuration cited for Debian has the user modify the /etc/nginx/conf.d/librenms file which the main setup guide for Debian replaces with /etc/nginx/sites-enabled/librenms.vhost when using Debian.

However entering the information from the smokeping cookbook into either file results in an nginx configuration validation error:

root@libre:/etc/nginx# sudo nginx -t
nginx: [emerg] "location" directive is not allowed here in /etc/nginx/sites-enabled/librenms.vhost:24
nginx: configuration file /etc/nginx/nginx.conf test failed

Can anyone shed some light on these issues?

Anybody have an idea? I’m still coming up empty.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Your nginx configuration is incorrect. Since you didn’t post your config file, I could only speculate on the problem.