Ad Widget

Collapse

Monitoring Cluster Servers (HA)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Luisbiz
    Junior Member
    • Jun 2023
    • 5

    #1

    Monitoring Cluster Servers (HA)

    Hello!
    First of all, look at the context:
    We are monitoring a Linux server that is actually two (Cluster), but only one of them is active at a time. When one of them goes offline, the other takes over the entire operation of the company.
    Let's call here primary (active) and secondary (inactive) server.

    For technology reasons, we are using the Zabbix Agent (v1) in ACTIVE mode, that is, we define that if we don't have data from the servers for 2 minutes, they are offline.
    Item: agent.ping
    Trigger: nodata(/NOC/agent.ping,120)=1​

    Now comes the problem:
    As both Hosts are registered in Zabbix but only 1 of them is active, we always have a "Disaster" in progress, because the "secondary" server is "offline" for Zabbix (no connection Agent → Zabbix server) The idea until then was to create Dependencies, but as one of them is always active and without problems, the trigger is activated in the secondary.

    Can anyone help us? Thanks in advance!​
Working...