'Check to see if curator is up and working. Returns: error string'

def check_curator(self, pods):

    if (not pods):
        raise OpenShiftCheckException('MissingComponentPods', 'There    are    no    Curator    pods    for    the    logging    stack,\nso    nothing    will    prune    Elasticsearch    indexes.\nIs    Curator    correctly    deployed?')
    not_running = self.not_running_pods(pods)
    if (len(not_running) == len(pods)):
        raise OpenShiftCheckException('CuratorNotRunning', 'The    Curator    pod    is    not    currently    in    a    running    state,\nso    Elasticsearch    indexes    may    increase    without    bound.')
    if ((len(pods) - len(not_running)) > 1):
        raise OpenShiftCheckException('TooManyCurators', "There    is    more    than    one    Curator    pod    running.    This    should    not    normally    happen.\nAlthough    this    doesn't    cause    any    problems,    you    may    want    to    investigate.")
