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

Should the check_statuspage_components plugin report timeouts as UNKNOWN state? #90

Open
atc0005 opened this issue Feb 25, 2022 · 1 comment
Assignees
Labels
app/check_statuspage_components question Further information is requested
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Feb 25, 2022

See #89 for details.

This GH issue is meant to address whether the problem should be reported as a CRITICAL state (current behavior), or if UNKNOWN is more appropriate.

@atc0005 atc0005 added question Further information is requested app/check_statuspage_components labels Feb 25, 2022
@atc0005 atc0005 added this to the Future milestone Feb 25, 2022
@atc0005 atc0005 self-assigned this Feb 25, 2022
@atc0005
Copy link
Owner Author

atc0005 commented Feb 28, 2022

This GH issue is meant to address whether the problem should be reported as a CRITICAL state (current behavior), or if UNKNOWN is more appropriate.

I've gone around in circles on this topic before and keep coming back to this entry in the "Plugin Return Codes" section of the plugin dev guidelines:

Numeric Value Service Status Status Description
3 Unknown Invalid command line arguments were supplied to the plugin or low-level failures internal to the plugin (such as unable to fork, or open a tcp socket) that prevent it from performing the specified operation. Higher-level errors (such as name resolution errors, socket timeouts, etc) are outside of the control of plugins and should generally NOT be reported as UNKNOWN states.

Specifically this admonition:

Higher-level errors (such as name resolution errors, socket timeouts, etc) are outside of the control of plugins and should generally NOT be reported as UNKNOWN states.

refs https://nagios-plugins.org/doc/guidelines.html#AEN78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/check_statuspage_components question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant