def METHOD_NAME(self, check_cmd):
    search_path = (
        '/usr/lib/nagios/plugins',
        '/usr/local/lib/nagios/plugins',
    )
    parts = shlex.split(check_cmd)
    for path in search_path:
        if os.path.exists(os.path.join(path, parts[0])):
            command = os.path.join(path, parts[0])
            if len(parts) > 1:
                command += " " + " ".join(parts[1:])
            return command
    log('Check command not found: {}'.format(parts[0]))
    return ''