Throughput Monitor monitors or analyzes event frequency in log files. Its main purpose is to detect if frequency crosses specified theresholds and report about it. Alerts can be mailed or logged in realtime on running logs. Old logs can also be analyzed. Log events are described by regexes, so almost every format is readable. It can be used to detect spam, too-frequent system resource usage (for example POP or IMAP), etc.
Radiuslib is a complete RADIUS protocol and utility library for the Ruby programming language. It includes a very featureful, RFC- compliant protocol implementation, as well as parser classes for RADIUS dictionaries, Cistron-format "users" files, and standard "detail" accounting logs.