In Nagios the returned value is “null”

I have the same problem! If I use this check in the command line its working fine but the Nagios with the same command arent working properly. Nagios returned value is “null”… Any experience about this problem?