Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Some fields isn't updated in 'radmin> stats home_server acct' #1339
Comments
|
Why would you expect it to be? |
|
@arr2036 It is helpful to collect metrics about "which" home_server has X invalid/... packets. And if something wrong happens... Like timeout/invalid/... during the Proxy over home_server.... I think that is necessary to increase some field. Or we can add a new field like "failed". What do you think? |
|
In my example you can notice that has a gap between requests and response. so, (requests - responses) = X, In this case X will be "failed"
After check the code, I noticed that would be better to add a new field "failed". |
Because those fields have pre-defined meaning. And timeout isn't part of their meaning. The "elapsed" fields are defined by FreeRADIUS See the RADIUS MIB RFCs for definitions of the rest of the fields.
|
|
@alandekok I know about "elapsed.*", I said about handle the stats isn't count the error packets like:
You can notice that related to ACCT
exist a gap between 83525 and 57782. But isn't counted by no field. |
|
errm, but your events are not error packets. they are not invalid packets. On 23 October 2015 at 13:08, Jorge Pereira notifications@github.com wrote:
|
|
I agree with you @alanbuxey! make sense! @alandekok and @arr2036, what do you think? What we can do about the "Proxy .* due lack packets"? Increase the current "timeout"? btw, I made in my repo! |
|
The "lack of response" message increments the "timeouts" field. See the code in process.c |
|
@alandekok ok, but maybe we have a bug. check the below output and notice that exist a gap between request x response. should be the timeouts?
|
|
I found the
@alandekok This case will be a new section in "radmin" to print the "stats proxy". agree? |
alandekok
added a commit
that referenced
this issue
Oct 23, 2015
|
|
alandekok |
9980526
|
alandekok
added a commit
that referenced
this issue
Oct 23, 2015
|
|
alandekok |
1f6aedb
|
|
Yes, the timeouts should be printed. |
Done. |
|
@alandekok I found another issue, I fixed in #1343 |
alandekok
added a commit
that referenced
this issue
Oct 23, 2015
|
|
alandekok |
577b7c7
|
|
@alandekok I found another issue.... more critical! #1346 |
jpereira
added a commit
to jpereira/freeradius-server
that referenced
this issue
Oct 23, 2015
|
|
alandekok + jpereira |
1f22b48
|
jpereira
added a commit
to jpereira/freeradius-server
that referenced
this issue
Oct 23, 2015
|
|
alandekok + jpereira |
b319d2f
|
alandekok
added a commit
that referenced
this issue
Oct 23, 2015
|
|
alandekok |
0280c1e
|
|
I checked about the numbers, and now after our fixes. It's completely correct! nice job! :) |
jpereira commentedOct 23, 2015
Hi,
I noticed that always when i receive the message
The field 'invalid or malformed' isn't updated in "radmin stats".