Ad Widget

Collapse

Take action ONLY if two servers agree?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • christruk42
    Banned
    • Mar 2021
    • 3

    #1

    Take action ONLY if two servers agree?

    We would like to take an automated action - but only in really bad situations. Our thinking is if 2 different Zabbix servers agree a service is offline, then STONITH of sorts - essentially power cycle the box that has that service. What I can't figure is how to trigger an action only I 192.168.l.lf both server A and B ag routerlogin ree it is indeed dead.
    Last edited by christruk42; 17-03-2021, 11:23.
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    Hi

    There is no federation for zabbix servers in the way you need the approach might be to utilize zabbix api - and build custom check that will get values for the specific metric via api from both servers and based on it execute action ( on one of the servers ).

    Honestly I can't see the benefit of it - I'd go with two hosts monitored via 2 proxies in one zabbix environment - those 2 hosts will be the same device ( just differenet name ) and create some sort of aggregated metric you'll fire an alert and execute action.

    Comment

    • Engraf
      Member
      • Sep 2014
      • 41

      #3
      deleted...
      Last edited by Engraf; 29-03-2021, 17:06.

      Comment

      Working...