BI for checking "only one primary"

CMK version: 2.1.0p11
OS version:

Error message:

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

We hoped that the BI can check things like if there is only one Primary which we had before to control possible split-brains for keepalived or postgresql and so on. But it seems like the aggregation doesn’t have an option that only 1 can be OK and not more than one. Does someone have an idea?

Kind regards
Mathias

Hi @matze218,

maybe you can build something with clustered hosts and process monitoring. It’s possible to define processes which only have to be active once and alert if a second process is running. We use this highly in fail over clusters and it serves us well.

Hi @tosch thanks for your answer. Could you explain a little bit more what you mean and which settings you have set? The process is running here for both but and if you mean that aggregation of clustered services which is called “failover” then we recognized that it is not working very well because it expects the first server to be ok and just ignores the state of the other - so this would not be a solution.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.