I would like use freeradius app chek under librenms. I have set up , but when the poller run, i got a following error .
freeradiusSNMP[’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/var/www/html/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.8072.1.3.2.3.1.2.10.102.114.101.101.114.97.100.105.117.115’]
No Such Instance currently exists at this OID
I have removed the first dot before the OID number in the includes/polling/applications/freeradius.inc.php
.
After that the script work , but the validate give the following error
Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
includes/polling/applications/freeradius.inc.php
Debian 10 buster.
snmpget -V
NET-SNMP version: 5.7.3
I have an another problem with graph.
If I run freeradius.sh script I get this.
2503:~$ freeradius.sh
FreeRADIUS-Total-Access-Requests = 431861
FreeRADIUS-Total-Access-Accepts = 284687
FreeRADIUS-Total-Access-Rejects = 142222
but the graph show this.
Hi @hintalo68
This looks good. SNMP provides total amount, but graph is showing the DERIVATIVE value (meaning current value minus previous value, divided by the interval of time).
Bye
Hmmm. It would be great …
Can you help me a bit more.
The default polling intervallum is 5 minutes. So in my graph the total request was 13.91x 600 =8346 (seconds) ?
Script, and graph show this.
date
Tue 30 Mar 2021 10:29:23 PM CEST
tothz@sl2503:~$ freeradius.sh
FreeRADIUS-Total-Access-Requests = 272815
date
Tue 30 Mar 2021 10:36:37 PM CEST
tothz@sl2503:~$ freeradius.sh
FreeRADIUS-Total-Access-Requests = 285115
Looking at this graphs/legend, the average request per second is 8.63 requests/s during the last 24 hours. Take the request counter value 24 hours ago, substract it to today, and you should be around 745000 requests in the last 24 hours.
With the figures you provide below, that same method gives :
12300 hits difference in 7min and 15 seconds, ie 435 seconds -> that comes to about 28 requests per seconds average during those 7 minutes.
Usually, it is easier to verify this over longer time interval.