Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve error handling when monitored appliance is not available #30

Merged
merged 1 commit into from
Aug 2, 2022

Commits on Aug 1, 2022

  1. fix: Improve error handling when monitored appliance is not available

    Previously, the program yielded the rather cryptic error message
    `<built-in function get> returned NULL without setting an error` and
    also added a traceback, not catching the exception.
    
    Now, any such exceptions are caught and cleanly converged into the
    `UNKNOWN` state, so that the program croaks with:
    
        UNKNOWN - timed out while connecting to remote host
    
    The improved error handling will only be available with easysnmp>=0.2.6.
    amotl committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    385e40f View commit details
    Browse the repository at this point in the history