I have run select * from librenms.eventlog order by event_id DESC limit 10 from the MariaDB interface, and it returns events as expected. However, none populate in the Web GUI.
However, the dashboard Eventlog widget DOES show events.
Component | Version
--------- | -------
LibreNMS | 23.9.0 (2023-09-15T06:05:55-07:00)
DB Schema | 2023_09_01_084057_application_new_defaults (259)
PHP | 8.2.10
Python | 3.8.10
Database | MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
[OK] Composer Version: 2.6.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python wrapper cron entry is not present
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
Hi All! First and foremost; Thanks for all your time and dedication to the LibreNMS project. As a long time user of this project I can say that I’m incredibly thankful for all that you have done.
Today we have noticed that we are unable to view Event Logs from any Device page. (device/device=260/tab=logs/section=eventlog/). We are unsure how long this has been going on but it has started within the last month.
Now doing the usual troubleshooting (./daily.sh and ./validate.php) I see that the “Scheduler is not running”. I’m not sure if the event log and scheduler problems are related but I’m assuming they are in some way so probably best to figure this out first…
So I attempted to try to fix the scheduler by running the commands offered to me. While I can copy the service/timer file to systemd and enable / start it with no errors ./validate.php continues to say it’s not running. I can see the librenms-scheduler.timer in systemd too… Also the servers /var/log/syslog appear to show the scheduler starting as well.
We too also have an empty event log. We don’t use librenms for syslogging so I can’t test/confirm that aspect but the eventlog is important to us and not functional without querying the mysql directly.
I see you queried your db for data in librenms.eventlog, but did you query librenms.syslog to see what data you’re recording there?
I’m not using the librenms syslog extension and have not enabled it so no data is being written to my librenms.syslog table. Even though the syslog widget is able to be placed on the dashboard doesn’t mean syslog is running.