Skip to content

NaN returned for CPU Usage #4

Description

@g-m-o-n-e-y

We're getting check output that's not helpful

check-cpu-usage OK: NaN% CPU usage | cpu_idle=NaN, cpu_system=NaN, cpu_user=+Inf, cpu_nice=NaN, cpu_iowait=NaN, cpu_irq=NaN, cpu_softirq=NaN, cpu_steal=NaN, cpu_guest=NaN, cpu_guestnice=NaN

It seems that the check is not safe from dividing by zero.

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