PDA

View Full Version : Trigger Problem


MADxHAWK
28-04-2011, 17:09
Hi,

im using 1.9.3 and tried to add a new trigger.

What i want is that the trigger is triggered if last value != previous value, so i tried the triggertype

Absolute difference between last and previous value NOT n

and set n to 0

If i understand it right, the trigger should become true if the difference between last and previous value is > 0 or < 0, for example 12 or -12

When i try to test the trigger, i always get false as result (Test Trigger function on create trigger Tab) regardles what i enter as value.

I have tried -10, 0, 10, and some other values but always got false as result.

So i dont know if i did something wrong or it it is a Problem with that trigger.

Greetz
MAD

richlv
01-05-2011, 16:24
please show the actual trigger expression

MADxHAWK
02-05-2011, 12:52
For the expression please see the screenshot below.

regardless of the value i enter (for eg, 1 or 10 or 100 or -1 or -10 or -100), the result is always shown as false when clicking on test.

The value i want to Monitor is the bitrate of my shoutcastserver, a numeric (unbsigned) decimal value between 0 and 320 kbps, received as integer from 0 to 320.
Normaly the value should always be 192 (192kbps). So i want to have triggered an info if the value change, for eg. to 128 or to 256.

Greetz
Martin

richlv
03-05-2011, 13:57
i can reproduce this both on 1.8 branch & trunk - could you please report it on the tracker ? thanks.

btw, i believe that server will evaluate it correctly, just the expression testing is broken

MADxHAWK
03-05-2011, 20:46
Hi,

well i would but seems like im blind, didnt find the bug tracker :S

-MAD

richlv
03-05-2011, 23:21
https://support.zabbix.com :)

trunk users are also especially welcome in #zabbix on freenode.

MADxHAWK
04-05-2011, 12:16
Done :)

nice bugtracker btw. Havent filled in a report since a long time LoL.

greets
MAD