Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Metrics from README not available #18

Open
rhys-powell-kore opened this issue Mar 20, 2024 · 0 comments
Open

Some Metrics from README not available #18

rhys-powell-kore opened this issue Mar 20, 2024 · 0 comments

Comments

@rhys-powell-kore
Copy link

rhys-powell-kore commented Mar 20, 2024

Hello!

I have been working on implementing this exporter for some RADIUS servers I use.

I was looking over the README and can see the the following metrics are listed:

freeradius_last_packet_recv

freeradius_last_packet_sent

freeradius_state

freeradius_queue_use_percentage

After setting up the exporter on a couple different RADIUS systems, I am noticing the above 4 metrics are not present.

I also tried using radclient to emulate the commands pointed at RADIUS status server but did not have much luck.

[root@bru-cprad-1dev ~]# echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 185, FreeRADIUS-Stats-Server-Port = 1812, FreeRADIUS-Stats-Server-IP-Address = 127.0.0.1" | radclient -x localhost:18121 status testing
Sent Status-Server Id 34 from 0.0.0.0:39544 to 127.0.0.1:18121 length 74
        Message-Authenticator = 0x00
        FreeRADIUS-Statistics-Type = 185
        FreeRADIUS-Stats-Server-Port = 1812
        FreeRADIUS-Stats-Server-IP-Address = 127.0.0.1
Received Access-Accept Id 34 from 127.0.0.1:18121 to 0.0.0.0:0 length 128
        FreeRADIUS-Stats-Start-Time = "Mar 18 2024 11:07:44 EDT"
        FreeRADIUS-Stats-HUP-Time = "Mar 18 2024 11:07:44 EDT"
        FreeRADIUS-Queue-Len-Internal = 0
        FreeRADIUS-Queue-Len-Proxy = 0
        FreeRADIUS-Queue-Len-Auth = 0
        FreeRADIUS-Queue-Len-Acct = 0
        FreeRADIUS-Queue-Len-Detail = 0
        FreeRADIUS-Queue-PPS-In = 0
        FreeRADIUS-Queue-PPS-Out = 0
[root@bru-cprad-1dev ~]# echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 184, FreeRADIUS-Stats-Server-Port = 1812, FreeRADIUS-Stats-Server-IP-Address = 127.0.0.1" | radclient -x localhost:18121 status testing
Sent Status-Server Id 98 from 0.0.0.0:35769 to 127.0.0.1:18121 length 74
        Message-Authenticator = 0x00
        FreeRADIUS-Statistics-Type = 184
        FreeRADIUS-Stats-Server-Port = 1812
        FreeRADIUS-Stats-Server-IP-Address = 127.0.0.1
Received Access-Accept Id 98 from 127.0.0.1:18121 to 0.0.0.0:0 length 128
        FreeRADIUS-Stats-Start-Time = "Mar 18 2024 11:07:44 EDT"
        FreeRADIUS-Stats-HUP-Time = "Mar 18 2024 11:07:44 EDT"
        FreeRADIUS-Queue-Len-Internal = 0
        FreeRADIUS-Queue-Len-Proxy = 0
        FreeRADIUS-Queue-Len-Auth = 0
        FreeRADIUS-Queue-Len-Acct = 0
        FreeRADIUS-Queue-Len-Detail = 0
        FreeRADIUS-Queue-PPS-In = 0
        FreeRADIUS-Queue-PPS-Out = 0

Any input on these 4 metrics would be greatly appreciated!

Thanks!
Rhys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant