You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backwards compatibility with existing checks should be provided by still supporting Warn.
For background, I am using a statement like this getattr(nagiosplugin.state, nagios_state_string, nagiosplugin.state.Unknown) to use an already existing Nagios state (nagios_state_string) in a custom Context class.
What do you think?
The text was updated successfully, but these errors were encountered:
Hi,
I just stumbled across what I think is an inconsistency. Those states exist currently:
I think this module should rather support
Warning
instead ofWarn
to comply with the exact wording used in the plugin API spec: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/pluginapi.htmlBackwards compatibility with existing checks should be provided by still supporting
Warn
.For background, I am using a statement like this
getattr(nagiosplugin.state, nagios_state_string, nagiosplugin.state.Unknown)
to use an already existing Nagios state (nagios_state_string
) in a custom Context class.What do you think?
The text was updated successfully, but these errors were encountered: