Ad Widget

Collapse

Discovery "cache" not clearing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mirek
    Junior Member
    • Jul 2014
    • 2

    #1

    Discovery "cache" not clearing

    Hi All,

    I was tasked with creating a way to monitor SSL certificates expiration via Zabbix. I produced following: there is a text file containing all domains to be checked, the script reads it and generates JSON for dicovery rule which then is used in item that does actual check for how many day is left on the SSL for particular domain and then the trigger is evaluated.

    All works fine with one exception - once the alert flags up it stays up! I even removed the triggered domains from the text file but alerts stayed. To me it looks like there is some sort of cache for doscovery. Am I right? If so how to clear it?

    The only way to actuall refresh it is to remove the host that does the check and then re-create it.

    I'm intereased to keep this configured the way it is now - just need to know how to refresh the discovered domains.

    I'm running this check from Zabbix server/agent at version 2.2.3.

    Kind regards
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    As long as the condition which fired the trigger evaluates to TRUE, the trigger remains active.
    It clears by itself when the trigger condition becomes FALSE.

    Comment

    • mirek
      Junior Member
      • Jul 2014
      • 2

      #3
      Thank you steveboyson. Looked for reason everywhere but not where I should start from.

      Comment

      Working...