PDA

View Full Version : Trigger expression will not evaluate


cooper
07-11-2004, 17:32
I am trying to set up a trigger for when free memory goes below 10%, or any other arbitratry %. This is the trigger expresion I am using.

{server2k.mynet.com:memory[free].last(0)}/{server2k.mynet.com:memory[total].last(0)}<0.10

and these are the errors i get in zabbix_suckerd.log

014725:20041107:103140 Evaluation of expression [272199680.000000/{11286}<0.10] failed
014725:20041107:103140 Expression [{11285}/{11286}<0.10] cannot be evaluated.

What am i doing wrong?

Thanks

cooper

cooper
07-11-2004, 19:08
I think I figured this one out. The trigger will fail with the above errors until both values have been checked. For me the memory[total] was only being updated once every 30 minutes, so until it did, the trigger did not work. All is well now.