Hey there,
I'm having troubles to understand how the fuzzytime trigger works. Here's my situation.
I have a bash script that checks the warranty end date of a few servers
This script is ran once a week, sunday night.
The response I have is a date such as 2018-01-01
My script converts this date to a timestamp (with a date -d 2018-01-01 +%s), then pushes the value (zabbix_sender) to a numeric item (unsigned)
I have associated the following trigger, to fire if the warranty end date is higher than 90 days: {Template X:timestamp.fuzzytime(90d)}=1
First time I manually ran the script, it worked.
Now, it does not. Whatever the number of days in my trigger, no alarm is triggered anymore for this template. Alarms already triggered are not switched from "PROBLEM" to "OK"
Did I miss something with this trigger?
Hints appreciated!
Thanks!
(Zabbix 4.2.1)
I'm having troubles to understand how the fuzzytime trigger works. Here's my situation.
I have a bash script that checks the warranty end date of a few servers
This script is ran once a week, sunday night.
The response I have is a date such as 2018-01-01
My script converts this date to a timestamp (with a date -d 2018-01-01 +%s), then pushes the value (zabbix_sender) to a numeric item (unsigned)
I have associated the following trigger, to fire if the warranty end date is higher than 90 days: {Template X:timestamp.fuzzytime(90d)}=1
First time I manually ran the script, it worked.
Now, it does not. Whatever the number of days in my trigger, no alarm is triggered anymore for this template. Alarms already triggered are not switched from "PROBLEM" to "OK"
Did I miss something with this trigger?
Hints appreciated!
Thanks!
(Zabbix 4.2.1)
Comment