Perl5-nagios-plugin-cas is a project mainly written in ..., it's free.
Nagios plugin to check CAS login