Hello,
In the last 24-48 hours graphs associated with Health Sensors has stopped rendering and I’m at a loss to what might be the issue. Here is the ./validate.php output, error messages I found in the librenms.log and screen shot of the about page. Based on the log entry mayb it has something to do with laravel framework?
Any direction / help would be greatly appreciated.
===========================================
Component | Version
--------- | -------
LibreNMS | 24.11.0-75-g57bdbad3e (2024-12-07T12:12:08-06:00)
DB Schema | 2024_10_20_154356_create_qos_table (310)
PHP | 8.3.14
Python | 3.10.12
Database | MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
[OK] Composer Version: 2.8.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[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 not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@librenms:~$
In librenms.log I’m seeing the following message for every graph that does not render:
Call to undefined method App\Models\Sensor::unit() {"userId":1,"exception":"[object] (BadMethodCallException(code: 0): Call to undefined method App\\Models\\Sensor::unit() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:67)"}
Screenshot of About page
Cheers