check_snmp_extend.sh returns command retcode

Previously check_snmp_extend.sh used to parse the beginning of
the returned command output and looked for OK, WARNING, etc.

That is now replaced by a more robust checking of the remote command
return value.

No change on the client side is required.