Good day. I want to monitor several services, which have instances running on several nodes.
I have several cases:
for active-standby services I want to display service as 'up' only if I receive 'up' from one node and 'down' from another node. And, I want to display it as 'down' if both nodes are down, or if both nodes are up.
For active-services I want to display status as 'up' if all nodes are sending 'up' status, then I want 'partial up' - when at least one node is sending 'up', and 'down' - when all nodes are sending 'down'.
The issue I currently face - is how to analyze events from different nodes and correlate them in one status? Could anybody, please, advise?