PDA

View Full Version : Percentage trigger


fahrvergnugen
05-10-2005, 15:37
Hi,

I'm trying to create a trigger based on the percentage of free disk space available. I am basing my calculation on ((100 divided by total space) multiplied by free space)

I have tried the following to trigger when less than 30%, but it doesnt appear to do anything. Is this even a legitimate trigger equation?

((100/{SERVER01:disktotal[c:].last(0)})*{SERVER01:diskfree[c:].last(0)})<30

Any suggestions would be most welcome

Thanks

Fahrvergnugen

fahrvergnugen
05-10-2005, 16:25
Actually I think it was fine, its just that zabbix was only polling the total disk space once an hour, so it wasnt finding any data when I first set up the trigger.

Although I have modified it to

{SERVER01:diskfree[c:].last(0)}/{SERVER01:disktotal[c:].last(0)}<0.3

which is a little less complex.