Ad Widget

Collapse

Having proxy as dependency for its hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #1

    Having proxy as dependency for its hosts

    Hi,

    I'm looking for a trigger function that I can use to detect the state of the Zabbix proxy, but it shouldn't release it from problem state until it has been stable for at least 5 minutes.
    I want to use that trigger as a dependency for most (if not all) the triggers of the hosts behind that proxy.

    Currently my trigger that uses fuzzytime(30) recovers way too quickly, and then I'm getting hundreds of host unreachable notifications.

    The best/closest thread that I've seen so far is this old thread: http://www.zabbix.com/forum/showthread.php?t=13827

    Otherwise I think I'll have to do a combination trigger that is something in the line of:
    Code:
    <server>:zabbix[proxy,<proxy>,lastaccess].fuzzytime(30)| 
    ({trigger.value}=1} & <proxy>:agent.ping.last(180)#1)
    I'm currently using Zabbix 1.8.11 and I wrote a patch for dual Y axis limits, so I do have a good understanding of Zabbix

    Help would be greatly appreciated!
    Thank you in advance.
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    I'm now going to try a trigger based on this thread that I gave in my original post, but with a slight adjustment:
    Code:
    ({x.fuzzytime(30)}=0)|(({TRIGGER.VALUE}=1)&((({x.avg(#6)}-{x.last(#6)}-75)>5)|(({x.avg(#6)}-{x.last(#6)}-75)<-5)))
    This trigger should go into PROBLEM state as soon as 1 proxy request was missed within 60 seconds, and it should only release it from PROBLEM state once the proxy successfully reported back for 180 seconds.
    This trigger only works if the last access time for the proxy is requested every 30 seconds.

    * I only changed the following parts and removed spaces from the original post:
    "delta(#5)" replaced with "fuzzytime(30)"
    ">2" replaced with ">2"
    "<-2" replaced with "<-2"
    Last edited by Pada; 28-05-2012, 18:58.

    Comment

    Working...