Skip to content

COHESITY_CLUSTER_STORAGE UNKNOWN: ZeroDivisionError: division by zero #85

Description

@ldezorzi

Hi,
We have an issue with the command check_cohesity_storage.py
We upgraded our cohesity to 7.1.2 the last month and occasionally the check_cohesity_storage.py command returns COHESITY_CLUSTER_STORAGE UNKNOWN: ZeroDivisionError: division by zero

Image

The requirements are satisfy for the cohesity sdk (requests==2.31.0, cachecontrol==0.11.7, python-dateutil==2.5)
and python 3.11.2 with argparse, logging, nagiosplugin, configparser for nagios chck commands.

The others check alerts, status, protection_runs, metastorage, objects_unprotected work fine.

It seems that the command storage = self.get_cluster_storage() in the probe(self) function returns 0.

Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions