jarischaefer / docker-librenms

Docker image for LibreNMS
MIT License
115 stars 37 forks source link

Smokeping integratin with WEB UI #133

Open bavtan opened 2 years ago

bavtan commented 2 years ago

Hi,

Smokeping integration works fine but WEB UI is not as it needs fcgiwrapper socket, unfortunately fcgiwrapper is not starting after apt install even after boot, there are env variables to enable/disable for nginx,PHP-FPM and rrdcache but not for fcgiwrapper as well

root@72bde49cac87:/# /etc/init.d/fcgiwrap
root@72bde49cac87:/# service --status-all
 [ + ]  cron
 [ - ]  fcgiwrap <----------
 [ ? ]  hwclock.sh
 [ - ]  ipmievd
 [ + ]  nginx
 [ + ]  php7.4-fpm
 [ - ]  procps
 [ + ]  rrdcached
 [ + ]  sendmail
 [ + ]  smokeping
 [ - ]  snmpd
 [ - ]  snmptrapd
 [ + ]  syslog-ng
 [ - ]  x11-common
jarischaefer commented 2 years ago

@bavtan Sorry for the delay. Are you referring to the steps at https://docs.librenms.org/Extensions/Smokeping/#nginx-configuration-ubuntu-debian-and-alike? A new environment variable such as ENABLE_SMOKEPING_WEBUI could be used for that purpose, does that sound reasonable?

bavtan commented 2 years ago

@bavtan Sorry for the delay. Are you referring to the steps at https://docs.librenms.org/Extensions/Smokeping/#nginx-configuration-ubuntu-debian-and-alike? A new environment variable such as ENABLE_SMOKEPING_WEBUI could be used for that purpose, does that sound reasonable?

Yes correct, steps mentioned in the link. and yes that would be really good to make this optional via an env variable.