Hello,
I have a question about the way the trigger methods are functionning.
I want to trigger an alarm if the wearout of my SSDs is decreasing to fast.
In the Trigger prototype of the template definition I wrote:
avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d:now-30d) - avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d) >= 2
It should trigger an alarm if the difference between the average (on one day) a month ago and the average on the current day is more than 2.
My data history for that item is 7 days, trends is 2 years.
The trigger is not functionning because I have an error in zabbix saying: not enough datas for avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d:now-30d).
So, is it the normal behaviour that the avg function to use only the history values and not the trends (if it needs it) ?
Thank you for clarifying it.
I have a question about the way the trigger methods are functionning.
I want to trigger an alarm if the wearout of my SSDs is decreasing to fast.
In the Trigger prototype of the template definition I wrote:
avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d:now-30d) - avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d) >= 2
It should trigger an alarm if the difference between the average (on one day) a month ago and the average on the current day is more than 2.
My data history for that item is 7 days, trends is 2 years.
The trigger is not functionning because I have an error in zabbix saying: not enough datas for avg(/Template_HDD_SMARTMONTOOLS_2_WITH_LLD/uSSD["{#DISKCMD}",SSD wearout],1d:now-30d).
So, is it the normal behaviour that the avg function to use only the history values and not the trends (if it needs it) ?
Thank you for clarifying it.
Comment