Freeradius monitoring issue with POLLER via SNMP

Hello community,
I have a problem with the radius monitoring. I don’t have any graph in RRD.
On the freeradius server, the script ./freeradius.sh is running.

FreeRADIUS-Total-Access-Requests = 52268492
FreeRADIUS-Total-Access-Accepts = 3825346
FreeRADIUS-Total-Access-Rejects = 983681
FreeRADIUS-Total-Access-Challenges = 47424458
....

On the librenms server, a snmpwalk on freeradius gives me the same result

snmpwalk -v2c -c public x.x.x.x .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115
STRING: "FreeRADIUS-Total-Access-Requests = 52293940
FreeRADIUS-Total-Access-Accepts = 3827255
FreeRADIUS-Total-Access-Rejects = 984384
FreeRADIUS-Total-Access-Challenges = 47447292
FreeRADIUS-Total-Auth-Responses = 52258931
FreeRADIUS-Total-Auth-Duplicate-Requests = 32898
....

But on the librenms server when I do a poller, I have no result, just a Load module application and … ?

./poller.php -h 470 -m applications/freeradius
>> Runtime for poller module 'core': 0.0362 seconds with 78512 bytes
>> SNMP: [2/0.03s] MySQL: [1/0.05s] RRD: [1/0.00s]  
#### Unload poller module core ####


#### Load poller module applications ####
Application: freeradius, app_id=13: .........................................


>> Runtime for poller module 'applications': 0.0197 seconds with 47296 bytes
>> SNMP: [1/0.01s] MySQL: [3/0.06s] RRD: [8/0.00s]  
#### Unload poller module applications ####

And of course the database is empty

MariaDB [librenms]> select * from applications;
+--------+-----------+------------+-----------+------------+----------------+------------+---------------------+--------------+------+
| app_id | device_id | app_type   | app_state | discovered | app_state_prev | app_status | timestamp           | app_instance | data |
+--------+-----------+------------+-----------+------------+----------------+------------+---------------------+--------------+------+
|     13 |       470 | freeradius | UNKNOWN   |          0 | NULL           |            | 2022-11-17 09:41:08 |              | NULL |
|     18 |       453 | dhcp-stats | OK        |          0 | LEGACY         | 3420/16126 | 2022-11-17 09:41:02 |              | NULL |

Can anyone help me? ( ./validate.php and ./daily.php have been updated. Everything is correct)

Thanks in advance !

I did a tcpdump while polling. I have a NoSuchObject error with the Oid.
However it matches with Oid that I test with snmpwalk and with the $oid in the /opt/librenms/includes/polling/applications/freeradius.inc.php

So maybe the community is not well passed in the request of freeradius.inc.php ?

$oid = '.1.3.6.1.4.1.8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115';
1:22:34.767908 IP librenms.60426 > freeradius.snmp:  GetRequest(44)  E:8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115
11:22:34.768067 IP freeradius.snmp > librenms.60426:  GetResponse(44)  E:8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115=[noSuchObject]

the community of my snmp was false
Sorry for this post :slight_smile:

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