Hey all,
I'm curious to know if there's a trigger function that I can call in Zabbix to obtain the value of an item 24 hours ago to compare it to the current value in order to detect any abnormalities. As far as I can tell, there's no function that allows me to look back into the history of a particular item (apart from the immediate previous value) from within the context of a trigger.
The only solution that I've thought of so far is to output the current value into a script in order to compare it to the past value drawn from the SQL database in order to calculate the difference.
That's a rather clumsy alternative, so if anybody out there has a simpler solution, please let me know!
Thanks in advance.
I'm curious to know if there's a trigger function that I can call in Zabbix to obtain the value of an item 24 hours ago to compare it to the current value in order to detect any abnormalities. As far as I can tell, there's no function that allows me to look back into the history of a particular item (apart from the immediate previous value) from within the context of a trigger.
The only solution that I've thought of so far is to output the current value into a script in order to compare it to the past value drawn from the SQL database in order to calculate the difference.
That's a rather clumsy alternative, so if anybody out there has a simpler solution, please let me know!
Thanks in advance.
Comment