Cluster Service With XOR

Hello,
I have 2 windowsservices from 2 hosts with same name.
I want this monitor with clusterservices.
But it is an error when the service is running on both hosts such as XOR !
Zero und both started is error and one service running is ok.

Any idea how can I configure this in check_mk?

Best Regards
Udo

Perhaps I have expressed myself incomprehensibly.
That is why I am trying to describe it in more detail:
In the normal case of clustered services of Check_mk the status of the cluster resource is OK if at least on one of the cluster nodes the corresponding service is OK.
In contrast to this, in our case the cluster resource should become critical if the service is OK on both cluster nodes (XOR link). Does anyone have an idea how this can be solved?

Best Regards
Udo

Hi Udo,

I don’t think this works with the windows services check, but you could count the number of processes (i.e. “process discovery” + “state and count of processes” rules), and if there are two processes running on the cluster node, make that a warn/crit. Only 1 Process running would be ok.
This of course doesn’t work if your service may start mutiple services on the same host…
Maybe someone else has a good idea for that …

Gerd

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.