Skip to content

Commit b832edb

Browse files
authored
Fix issue when interference stat is missing on old radios. (librenms#18092)
1 parent a1be12c commit b832edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/polling/aruba-controller.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
'nummonclients' => $data['WLSX-WLAN-MIB::wlanAPRadioNumMonitoredClients'] ?? null,
4949
'numactbssid' => $data['WLSX-WLAN-MIB::wlanAPRadioNumActiveBSSIDs'] ?? null,
5050
'nummonbssid' => $data['WLSX-WLAN-MIB::wlanAPRadioNumMonitoredBSSIDs'] ?? null,
51-
'interference' => isset($data['WLSX-WLAN-MIB::wlanAPChInterferenceIndex']) ? ($data['WLSX-WLAN-MIB::wlanAPChInterferenceIndex'] / 600) : null,
51+
'interference' => isset($data['WLSX-WLAN-MIB::wlanAPChInterferenceIndex']) ? ($data['WLSX-WLAN-MIB::wlanAPChInterferenceIndex'] / 600) : 0,
5252
]);
5353

5454
Log::debug(<<<DEBUG

0 commit comments

Comments
 (0)