Availability map widget not sorting by Device Group properly

Someone else posted a while ago some problems with the availability map widget when using device groups. See here: Availability Map not sorting by Device Group properly

I am having the exact same issues.
Is this easy to fix? In the original thread it is mentioned exactly where in the code the issue lies, but i’m afraid i’m no coder…

Thanks!

Output of validate.php:

===========================================
Component | Version
--------- | -------
LibreNMS  | 23.2.0 (2023-02-23T23:27:42+01:00)
DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (248)
PHP       | 8.2.4
Python    | 3.9.14
Database  | MariaDB 10.5.16-MariaDB
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.5.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]    Distributed Polling setting is enabled globally
[OK]    Connected to rrdcached
[OK]    Active pollers found
[OK]    Dispatcher Service is enabled
[OK]    Locks are functional
[OK]    No python wrapper pollers found
[OK]    Redis is functional
[OK]    rrdtool version ok
[OK]    Connected to rrdcached

PS. The issue is most easily spotted when configuring the Availability Map widget to show only services and then select only a single device group (obviously make sure that you have a group with devices in it).

In this case I would expect to see only services from devices in the selected group, which does not work as expected.

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