Monitoring FreeRADIUS

Hi,
trying to monitor FreeRADIUS as per instructions.
Script is running an returns output, like

FreeRADIUS-Total-Access-Requests = 397
FreeRADIUS-Total-Access-Accepts = 12
FreeRADIUS-Total-Access-Rejects = 30
FreeRADIUS-Total-Access-Challenges = 355
...

However, LibreNMS poller shows errors, like

Application: freeradius, app_id=87PHP Error(2): Undefined array key 1 in /opt/librenms/includes/polling/applications/freeradius.inc.php:20
PHP Error(2): Undefined array key "FreeRADIUS-Total-Access-Requests" in /opt/librenms/includes/polling/applications/freeradius.inc.php:31
PHP Error(2): Undefined array key "FreeRADIUS-Total-Access-Accepts" in /opt/librenms/includes/polling/applications/freeradius.inc.php:32
PHP Error(2): Undefined array key "FreeRADIUS-Total-Access-Rejects" in /opt/librenms/includes/polling/applications/freeradius.inc.php:33
PHP Error(2): Undefined array key "FreeRADIUS-Total-Access-Challenges" in /opt/librenms/includes/polling/applications/freeradius.inc.php:34
PHP Error(2): Undefined array key "FreeRADIUS-Total-Auth-Responses" in /opt/librenms/includes/polling/applications/freeradius.inc.php:55
PHP Error(2): Undefined array key "FreeRADIUS-Total-Auth-Duplicate-Requests" in /opt/librenms/includes/polling/applications/freeradius.inc.php:56
PHP Error(2): Undefined array key "FreeRADIUS-Total-Auth-Malformed-Requests" in /opt/librenms/includes/polling/applications/freeradius.inc.php:57
...

Actually, all other LibreNMS scripts return json output, but this one does not.
So is the script out of date or is it something else?
How do you monitor FreeRADIUS?

Thanks.

The error looks to me as if the output never reaches the poller-script as expected. The output seems to more or less empty but a single “1”.

I would try the following:

snmpget -v <1/2c> -c <your community> <target IP> .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115

For example:

snmpget -v 2c -c public 192.168.1.10 .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115

If that gives the output of the script as if run locally, the problem must be somewhere in Libre or it’s configuration
If that does not give the same output, check the “SNMP extend” configuration on the Freeradius-host again.

Just linking the issue in Github here: no output received from FreeRADIUS snmp query · Issue #17964 · librenms/librenms · GitHub