DeLL RAID monitoring thru Nagios

Now, that I can manage my RAID controllers via a command line interface (See this story), the next step was to integrate this tool to Nagios.
I found the following URL: http://www.linagora.org/article76.html (in French).
But the check_raid script was written to check local RAID only. So I patched my nagios_statd perl deamon and wrote my own check_raid plugin:

Service          Status Last Check          Duration      Attempt Status Information
---------------- ------ ------------------- ------------- ------- -----------------------
RAID Volume afa0 OK     07-01-2005 20:19:32 0d 2h 29m 39s 1/5     afa0: [00: Ok] [01: Ok]