Hello all,
(Sorry if i have a wrong langage, i dislike google translate
)
I would like to make a new trigger in my Windows Template.
In discovery mode, i have vfs.fs.size[{#FSNAME},free] available. Then i make a new item in calculated with this command :
last("vfs.fs.size[{#FSNAME},free]") / (last("vfs.fs.size[{#FSNAME},free]",90d) - last("vfs.fs.size[{#FSNAME},free]"))
But this command return "Error division by 0 impossible".
I try only this command in my item for compare : last("vfs.fs.size[{#FSNAME},free]",90d)
It return 13,512 GB
I try this now : last("vfs.fs.size[{#FSNAME},free]")
It return 13,512 GB.
Now i understand the problem, last(90d) and last() return the same value.
My question : How can i get the value for HDD State 90 days ago. (In my graphics i have ~28GB, and today 13,512GB)
Thanks for your help. (I will try min() tomorrow but, if anyone have already make it or are better on Zabbix than me ^^)
(Sorry if i have a wrong langage, i dislike google translate
)I would like to make a new trigger in my Windows Template.
In discovery mode, i have vfs.fs.size[{#FSNAME},free] available. Then i make a new item in calculated with this command :
last("vfs.fs.size[{#FSNAME},free]") / (last("vfs.fs.size[{#FSNAME},free]",90d) - last("vfs.fs.size[{#FSNAME},free]"))
But this command return "Error division by 0 impossible".
I try only this command in my item for compare : last("vfs.fs.size[{#FSNAME},free]",90d)
It return 13,512 GB
I try this now : last("vfs.fs.size[{#FSNAME},free]")
It return 13,512 GB.
Now i understand the problem, last(90d) and last() return the same value.
My question : How can i get the value for HDD State 90 days ago. (In my graphics i have ~28GB, and today 13,512GB)
Thanks for your help. (I will try min() tomorrow but, if anyone have already make it or are better on Zabbix than me ^^)
Comment