Make mapping of realserver state to service check state configurable for kemp_loadmaster_realserver

1 votes

The check plugin kemp_loadmaster_realserver has a hard coded mapping from the real server state to the service check state:

_RS_STATE_MAP: Final = {
"1": (State.OK, "in service"),
"2": (State.CRIT, "out of service"),
"3": (State.CRIT, "failed"),
"4": (State.CRIT, "disabled"),
}

It would be good to be able to configure that.

E.g. we would want to set State.WARN for RS_STATE 4 ("disabled").

Under consideration Suggested by: Robert Sander Upvoted: 13 Sep Comments: 0

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators