On Mon, 21 Jul 2008 14:29:42 +0200, Alan DeKok <aland@deployingradius.com> wrote:
Thomas Fagart wrote:
Seems to work for me,
That's good to hear.
Yes it also work on 64 bit OSes
I'll test that on 64 bits OS, and then we'll be very impatient for the 2.0.6 to come out.
Adding a little more "productization" wouldn't hurt. i.e. daemonising the script, and/or forking it from the server and having the server re-start it if it dies.
Of course but this is working properly like that, which is a great improvement.
Thanks a lot to sky networks services.
It's a short script, but a valuable one. And a *heck* of a lot easier than adding AgentX code to the server in C.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Still got questions about status server implementation. When I have a look at http://www.oidview.com/mibs/0/RADIUS-AUTH-SERVER-MIB.html And when I compare it with my snmpwalk output, I still got OIDs missing. www# snmpwalk -m /usr/local/share/snmp/mibs/RADIUS-AUTH-SERVER-MIB.txt -cpublic -v1 localhost 1.3.6.1.2.1.67 RADIUS-AUTH-SERVER-MIB::radiusAuthServIdent = STRING: snmp(over)radius RADIUS-AUTH-SERVER-MIB::radiusAuthServUpTime = Timeticks: (92800) 0:15:28.00 RADIUS-AUTH-SERVER-MIB::radiusAuthServResetTime = Timeticks: (92800) 0:15:28.00 RADIUS-AUTH-SERVER-MIB::radiusAuthServConfigReset = INTEGER: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalAccessRequests = Counter32: 1 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalInvalidRequests = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalDupAccessRequests = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalAccessAccepts = Counter32: 47 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalAccessRejects = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalAccessChallenges = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalMalformedAccessRequests = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalBadAuthenticators = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalPacketsDropped = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusAuthServTotalUnknownTypes = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.1 = STRING: "snmp(over)radius" RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.2 = Timeticks: (92800) 0:15:28.00 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.3 = Timeticks: (92800) 0:15:28.00 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.4 = INTEGER: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.5 = Counter32: 2 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.6 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.7 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.8 = Counter32: 2 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.9 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.10 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.11 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.12 = Counter32: 0 RADIUS-AUTH-SERVER-MIB::radiusMIB.2.1.1.1.13 = Counter32: 0 In the other hand, in the status virtual server, I've the feeling that this could be configurable with FreeRADIUS-Statistics-Type parameters. So I've played with that, but it does not seems to change anything. For sample, I would like to be able to differentiate proxy packets from TotalAccessRequests packets. Thomas