Easypanel LogoEasypanel LogoFeedbackChangelogSupport
Voters
JJean

LibreNMS

Templates
JJean
•4/10/2025
Open

Network monitoring tool.

3 comments

Comments

M
Muhammad Ahsan Shaikh4/14/2025

Jean Thanks for your help and dedication for us. I have added more changes, please verify them and let me know please.

M
Muhammad Ahsan Shaikh4/16/2025

Jean Okay. Thanks again. Let me check for the System Time mismatch.

J
Jean4/16/2025

Muhammad Ahsan Shaikh here is a validation of the librenms config a FAIL. The librenm app has these logs continuously crond: USER librenms pid 2176 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 crond: USER librenms pid 2179 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 crond: USER librenms pid 2182 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 crond: USER librenms pid 2185 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 crond: USER librenms pid 2188 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 crond: USER librenms pid 2191 cmd php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1 librenms-db: 2025-04-15 8:36:35 14 [Warning] Aborted connection 14 to db: 'librenms6' user: 'mariadb' host: '10.11.193.51' (Got timeout reading communication packets) 2025-04-15 8:36:35 15 [Warning] Aborted connection 15 to db: 'librenms6' user: 'mariadb' host: '10.11.193.51' (Got timeout reading communication packets) 2025-04-15 8:36:35 16 [Warning] Aborted connection 16 to db: 'librenms6' user: 'mariadb' host: '10.11.193.51' (Got timeout reading communication packets) 2025-04-15 8:36:35 17 [Warning] Aborted connection 17 to db: 'librenms6' user: 'mariadb' host: '10.11.193.51' (Got timeout reading communication packets)

M
Muhammad Ahsan Shaikh4/15/2025

Jean Okay - Can you check if the system is working or not?

J
Jean4/14/2025

Muhammad Ahsan Shaikh the librenms-msmtpd service is UP and the variables are present. :) the other 2 service down and no log

M
Muhammad Ahsan Shaikh4/14/2025

https://github.com/easypanel-io/templates/pull/888 I have pushed the fixes for dispatcher and msmtpd. Please go through the template again and let me know if anything else is required. Jean

M
Muhammad Ahsan Shaikh4/14/2025

Jean Alright. Let me go through this again.

J
Jean4/14/2025

Muhammad Ahsan Shaikh sorry my dear, librenms-msmtpd variables are always empty. The 3 services are down. thank you

J
Jean4/14/2025

Muhammad Ahsan Shaikh To begin with, librenms-dispatcher works very well now. Service down-->librenms-msmtpd the environment section is empty and I don't think the info is going to the right place :librenms-snmptrapd. I added this and then it worked : SMTP_HOST=smtp.myweb.com SMTP_PORT=587 SMTP_TLS=on SMTP_STARTTLS=on SMTP_TLS_CHECKCERT=on SMTP_AUTH=on SMTP_USER=foo SMTP_PASSWORD=******** [email protected] Service down-->librenms-snmptrapd no log or history The environment : TZ=Europe/Paris PUID=1000 PGID=1000 DB_HOST=$(PROJECT_NAME)_librenms-db DB_NAME=$(PROJECT_NAME) DB_USER=mariadb DB_PASSWORD=************* DB_TIMEOUT=60 SIDECAR_SNMPTRAPD=1 SMTP_HOST=smtp.myweb.com SMTP_PORT=587 SMTP_TLS=on SMTP_STARTTLS=on SMTP_TLS_CHECKCERT=on SMTP_AUTH=on SMTP_USER=foo SMTP_PASSWORD=******** [email protected] sorry

M
Muhammad Ahsan Shaikh4/11/2025

https://github.com/easypanel-io/templates/pull/888 Thanks for the recommendation. We have made a template for this. I would need your help regarding this. Please test this and let me know if its is good to go for production. Thanks!

M
Muhammad Ahsan Shaikh4/14/2025

Jean Thanks for letting us know. We gonna push the fixes for the above two services. Additionally, I'm not able to understand the metrics part in the devices. If you are available on our discord community, we can further dive in.

J
Jean4/12/2025

Muhammad Ahsan Shaikh Hello muhammad, thank you in advance. I have deployed the json in easypanel, in the services I have 2 errors --> librenms-msmtpd [cont-init.d] 02-config.sh: executing... ERROR: SMTP_HOST must be defined [cont-init.d] 02-config.sh: exited 1. --> librenms-dispatcher ERROR: REDIS_HOST or REDIS_SENTINEL must be defined [cont-init.d] 05-svc-dispatcher.sh: exited 1. The website works well, but adding equipment for monitoring is possible, but it doesn't look for any metrics in the devices. For your information, I've validated with another zabbix tool and with this one it works, so it's really at the librenms level. thx