usage: ./check_arcconf.pl -i [-c ] [-w ]
-c critical level battery capacity (def. 30)
-w warning level battery capacity (def. 80)
-h print this help
For a proper function you have to install and configure 'sudo'. You have to allow the nagios user the execution of the 'raidctl' command with NOPASSWD. Depending on your installation it might be also necessary to adapt the path of 'sudo'. Please check section 'declarations' from script.
comments are welcome