Skip to content

error "No more monitors are runnable!" when ping fails but within threshhold #1174

@jmcclelland

Description

@jmcclelland

I seem to get the errror "No more monitors are runnable!" when a ping fails but is within the given threshhold.

Here's the sample output from journald when running simplemonitor via systemd:

Mar 13 17:07:25 monitor001 python3[760525]: 2023-03-13 17:07:25  WARNING (simplemonitor) monitor failed but within tolerance: network (Command '['ping', '-c1', '-W5', '8.8.8.8']' returned non-zero exit status 1.)
Mar 13 17:07:25 monitor001 python3[760525]: 2023-03-13 17:07:25    ERROR (simplemonitor) No more monitors are runnable!

Is this expected? If so I can work-around it. But - I'm not sure I fully understand what it means (even after looking in the code).

Thanks for any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions