Ad Widget

Collapse

Percentage trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fahrvergnugen
    Junior Member
    • Sep 2005
    • 3

    #1

    Percentage trigger

    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
    Junior Member
    • Sep 2005
    • 3

    #2
    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.

    Comment

    Working...