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.
./validate.php output:
===========================================
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
Yes, there seems something be wrong.
On my install I see no eventlogs via the main page in the GUI anymore. Empty results.
But syslog is working here in my case.
Latest Librenms Version (monthly)
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.
Event logs seem to be empty while viewing from the Device page but still appear to be populating mysql and are visible from the dashboardās Event Log widget.
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.
At this point Iām confused why the librenms says the scheduler is not running and Iām hoping this is the reason why our Event Logs have no results when viewed from any deviceās logs page.
Thank you again! I hope this is an obvious one and Iām just missing something simple
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.