Ad Widget

Collapse

1 template for multiple hosts - give only 1 warning?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frankbarmentlo
    Junior Member
    • Sep 2015
    • 4

    #1

    1 template for multiple hosts - give only 1 warning?

    Hello all,

    I have been using Zabbix to monitor a small environment of about 7 hosts, just to be able to play with it.

    I have made a template which is used to check if the Webmin-instances on my Linux-servers are up, and give a warning if they go down (I can't stop locking myself out when playing with the firewalls :P ).
    I've tied this template to multiple hosts, on both VLAN's I use for servers.

    So far, so good.

    But, when for example the firewall decides to block everything out, I get 6 warnings for the same hosts.
    Is there a way to still check from some hosts, but only give a single warning?
    So when 1 warning is given, other hosts won't give me the same warning?

    Kind regards,
    Frank
    Last edited by frankbarmentlo; 08-09-2015, 16:47.
  • jamesNJ
    Senior Member
    • Jun 2015
    • 103

    #2
    Look at trigger dependencies. You can set up a test that verifies traffic can go through to your hosts and if that test fails make the host specific tests depend on it, they should not fire off.

    Look at the docs, there is an example there that is similar to what you desire.

    Comment

    • frankbarmentlo
      Junior Member
      • Sep 2015
      • 4

      #3
      Thanks so far, sorry for the obvious question,

      I got it to work, but I couldn't find an easy way.

      I now have one template for 1 single host ( I know I could add everything directly, but I prefer using templates).

      and another one for all other hosts.
      the last one template has all triggers dependent on the first one.

      Is there any way to "bridge" these templates in some way, so I don't have to create every item manually twice?
      I can't link them directly, as the dependency would be upon the triggers themselves.

      Kind regards,
      Frank

      Comment

      Working...