Configurable cisco_asa_failover unhandled state status in Setup
We would like to be able to set the criticality of the unhandled state check so as to set it critical instead of the hard coded warning level.
To be specific. In the cisco_asa_failover file in share/checkmk/checks on a site line 92 a yield 1 forces the state to be warning. We would like this to be configurable like the failover_state in line 88 in the same file is.
Reasoning - by default we have set a rule on failover_state that it does not matter if primary or secondary is active -> failover_state = OK. However, would want to get alerts with level critical if the failover status is not active or standby which currently only gives a warning.
Suggestion is to add a Setup configurable parameter that defines what is yielded at line 92.
This should be a relatively simple thing to implement as it only needs a variable in the Setup configuration and then modification of the yield to use this configuration.
Comments: 2
-
26 Sep, '22
Jonas Groth JakobsenPlease disregard this suggestion. This has been implemented in 2.1 where the cisco_asa_failover plugin has been rewritten.
-
26 Sep, '22
Thomas Lippert AdminOK, I will close this request as done. Thanks for the notification