Migration of Librenms

We have a version of Librenms installed and running on an old Ubuntu OS on an old hypervisor. Rather than attempt to upgrade it, it was easier to migrate the librenms server from the old server to a new one, I followed the instructions of how to set up and install Librenms and the instructions on how to migrate from an old server to a new one. Everything seems to have gone smoothly except for when I come to use the new install of the migrated Librenms it is reporting “Graph: ERROR: Unable to connect to”

I can’t see anything in the logs as to what it’s referring that it can’t connect to, all of the previous hosts from the old server are present and are all displaying this message on all graphs and Processors / Memory etc.

  • The output of ./validate.php
    librenms@librenms:~$ ./validate.php
    Component | Version
    --------- | -------
    LibreNMS | 23.8.2-39-g0f7a066f3 (2023-09-11T00:18:28+01:00)
    DB Schema | 2023_09_01_084057_application_new_defaults (259)
    PHP | 8.1.2
    Python | 3.10.12
    Database | MariaDB 10.11.5-MariaDB-1:10.11.5+maria~ubu2204-log
    RRDTool | 1.7.2
    SNMP | 5.9.1

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

Issue resolved.

I was missing the config of /etc/default/rrdcached from the old server to the new one I had migrated too.

rsynced them over and restarted rrdcached service and is now working correctly.