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
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
Comment