On the testing setup we have various different historic bills for the bill-id5, so there is data of more than one complete billing period.
Any advice would be apreciated.
Output of ./validate.php
./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 24.4.1 (2024-04-20T14:26:51+00:00)
DB Schema | 2024_04_10_093513_remove_device_perf (291)
PHP | 8.2.8
Python | 3.11.2
Database | MariaDB 10.11.3-MariaDB-1
RRDTool | 1.7.2
SNMP | 5.9.3
===========================================
[OK] Composer Version: 2.7.4
[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] rrd_dir is writable
[OK] rrdtool version ok
The problem
According to the docs one can request the last period for a bill (by id) by sending a request to: /api/v0/bills/:id?period=previous
However no useful data is returned.
However the API appears to be somewhat working, as the "history" can be requested.
On the testing setup we have various different historic bills for the bill-id5, so there is data of more than one complete billing period.
Any advice would be apreciated.
Output of ./validate.php
What was the last working version of LibreNMS?
No response
Anything in the logs that might be useful for us?
No response