Script problem

How to solve this problem?
[root@CLIENT01 libexec]# ./check_raid.pl
OK: megacli:[Volumes(1): NoName:Optimal; Devices(6): 12,13,10,09,11,08=Online]
[root@CLIENT01 libexec]# ./check_nrpe -H 172.30.0.46 -c check_raid.pl
OK: megacli:[Volumes(0): ; Devices(0): ]