statistics with radsniff and collectd

Louis Munro lmunro at inverse.ca
Mon Nov 10 22:53:03 CET 2014


Hello,

I am trying to integrate radsniff with collectd as described on the wiki : http://wiki.freeradius.org/guide/stats-with-radsniff#collectd

I have compiled radsniff 3 statically (it is to be used on a 2.2.5 server) and it seems to be working fine as long as I don't try to write to the collectd socket. 
When I do however I get these errors back from collectd:

radsniff: Failed PUTVAL "pf-auth1-ddc.net.utah.edu/radsniff-exchanged/radius_count-coa_nak" interval=10 1415655243 : Server error: Type `radius_count' isn't defined.
radsniff: Failed PUTVAL "pf-auth1-ddc.net.utah.edu/radsniff-exchanged/radius_latency-coa_nak" interval=10 1415655243 : Server error: Type `radius_latency' isn't defined.
radsniff: Failed PUTVAL "pf-auth1-ddc.net.utah.edu/radsniff-exchanged/radius_rtx-coa_nak" interval=10 1415655243 : Server error: Type `radius_rtx' isn't defined.


So it looks like I need to define the types for the radius statistics in collectd's Types.db.

Has anyone got this working? The question is rhetorical as I assume that the wiki's author (at least) got it to work but I don't seem to have the relevant definitions with my version of collectd (5.4.1). 
Would anyone care to share their type definitions? 
I would be much obliged.

Regards,
--
Louis Munro
lmunro at inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141110/53aa9520/attachment.html>


More information about the Freeradius-Users mailing list