LibreNMS tips and tricks

Weathermap: file not found

./weathermap.php --config configs/config.conf \
--output output/mymap.png --htmloutput output/config.html \
--base-href /opt/librenms/html/plugins/Weathermap/
Also patch is required maybe https://github.com/librenms-plugins/Weathermap/pull/85
cd /opt/librenms/html/plugins/Weathermap/
wget  https://patch-diff.githubusercontent.com/raw/librenms-plugins/Weathermap/pull/85.diff
cat 85.diff | git apply -R
git pull

LibreNMS keep alert while syslog.msg was far away

Use syslog.msg >= macros.past_5m and backquotes! Backquotes is a must. Without it nothing will work!
 










Get ChatID for telegram bot

https://api.telegram.org/botTOKEN/getupdates

bot word is required before actual token! Get your token from botfather.

Got daily.sh to work via proxy

git config --global http.proxy http://a.b.c.d:3128 from user librenms from /opt/librenms dir.

Комментарии

Популярные сообщения из этого блога

Система защиты от протечек Нептун Ложные Срабатывания

Apache Superset. Unable to login with default login password Docker.