Ad Widget

Collapse

Template to monitor a node from two proxies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cameron.mcgregor
    Junior Member
    • May 2016
    • 5

    #1

    Template to monitor a node from two proxies

    We are implementing a distributed monitoring platform, where we monitor ours hosts from two different locations via two different proxies. Because these are connected via VPN currently we aren't getting reliable data on devices as most of the time it is the VPN that has gone down instead of the device.

    So we want to move to a solution where a device is monitored by two proxies and will only alert if both proxies detect the device as down.

    It seems like we will have to define each node twice, one for each proxy, and then set the trigger if both proxies detect the device is down.

    We have got that setup and working, the problem we are facing is defining a template that automatically add all the correct triggers. Currently we have a template that detects if ping fails:

    {TestTemplate:icmpping.max(#3)}<1

    So when it is applied to a host it looks like:

    {Proxy1 - HostName:icmpping.max(#3)}<1

    But then we have to manually add in the second trigger so it looks like this:

    {Proxy1 - HostName:icmpping.max(#3)}<1 and {Proxy2 - HostName:icmpping.max(#3)}<1


    We're trying to make a template so that it automatically checks the trigger against both proxies, but can't work out how to do it. Adding in manually for 1200 devices will be too time consuming.

    Any help is much appreciated.
  • cameron.mcgregor
    Junior Member
    • May 2016
    • 5

    #2
    Bump.

    Anyone at all out there using multiple proxies to monitor one node?

    Comment

    • jrbeilke
      Junior Member
      • May 2016
      • 4

      #3
      In the process of setting this up as well. I've got a shared template that we apply to 2 different hosts in Zabbix which point to separate proxies. Each host then gets their own triggers and I'm trying to set up actions to check whether items on both hosts are triggering events before alerting.

      Comment

      Working...