Hello,
during night our virtual machine with librenms crashed due to no free space on hdd.
We fixed it and now everything look like its working except rules.
When i try to create rule, i dont see those fancy filter options:
when i click on save rule, nothing happens.
when i click on edit on some existing rule, i get exactly same window (with predefined “aa” in rule name)
when i try to delete rules, i get ajax post failed; unable to delete alert rule
Everything else look like its working, i can add/remove devices, rrds and graphs are updated continually.
in librenms.log i got only these messages:
/opt/librenms/poller.php 14 2020-04-03 14:55:35 - 1 devices polled in 32.26 secs
validate looks ok:
→ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.62-16-g7d2a1ae79 |
DB Schema | 2020_03_25_165300_add_column_to_ports (161) |
PHP | 7.2.28-4+0~20200224.38+debian9~1.gbp1ca010 |
MySQL | 10.1.44-MariaDB-0+deb9u1 |
RRDTool | 1.6.0 |
SNMP | NET-SNMP 5.7.3 |
==================================== |
[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
[FIX]:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/.git/index
thanks for any help!