Systemd error

I notice my Systemd graph has error on all device monitored. And found that when I manually run

./lnms device:poll all

The poller will always error at line 28:

Application: systemd, app_id=81Cannot redeclare data_update_helper() (previously declared in /opt/librenms/includes/polling/applications/ {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Cannot redeclare data_update_helper() (previously declared in /opt/librenms/includes/polling/applications/ at /opt/librenms/includes/polling/applications/"}

In line 28:

  Cannot redeclare data_update_helper() (previously declared in /opt/librenms/includes/polling/applications/

However, if I poll only to each individual host, the poll finishes but still no graph.

./poller.php -h 13

This is my validate.php result

librenms@librenms:~$ ./validate.php
Component | Version
--------- | -------
LibreNMS  | 23.9.1-90-g78a4bfb9d (2023-10-14T10:45:03+07:00)
DB Schema | 2023_10_12_184652_bgp_peers_table_unsigned_stats (265)
PHP       | 8.1.2-1ubuntu2.14
Python    | 3.10.12
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1

[OK]    Composer Version: 2.6.5
[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 not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrdtool version ok
[OK]    Connected to rrdcached

Because you have more than one device using the application. functions should not be defined in these files :frowning:

Does it mean Librenms can monitor only 1 node of systems?
It used to work fine for months until recently that the graph start to corrupt.

No, I mean whoever wrote that application made a mistake.

Thanks. So for now. I have to wait for dev to look at it since I have no coding experience.

I was fixing something else, so I added a fix for that. It should work now.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.