PDA

View Full Version : unable to use some decimal numbers in trigger


ShivaS
23-10-2005, 16:29
Hi, I need to monitor swap usage
or being exact, to not allow swap being used (otherwise need add more memory)
I use an expression like:
({myserver:system.swap.total.last(0)})/({myserver:system.swap.free.last(0)})>1.01

and get Unable to get value for functionid [11344]

i also tried divide swap.free by swap.total and make it less than 0.99 (<0.99)
but it didn't work too.
however using 1.5 in expression doesn't provide me with error

Anyone got an idea how to make it work?
10x

lorell
11-11-2005, 23:19
I am getting the same error with some of my triggers.

Zabbix1.0beta2

{DVR:icmpping.last(0)}=1&{DVR:icmpping.diff(0)}=1

Unable to get value for functionid [11231]

The 11231 is not the same as the function id of the function itself which is 12219.

lorell
05-12-2005, 23:02
I have found that this error usually means that the system needs to go through a couple of state changes with that device before it will begin functioning normally.

That means I have to force a down situation and then force it back up (either by physically unplugging the device in question from the network or changing its IP address.)

After zabbix has a longer data trail, then it begins to act normally. But if I change the trigger, then I have to force the device through these state changes before zabbix changes the "unknown" status to known or OK.