|
From: Volker F. <vol...@gm...> - 2014-07-10 12:32:46
|
Unfortunately this is true: https://support.zabbix.com/browse/ZBXNEXT-1049 If you need the same key, you can try a cheap trick, wich is adding parameters that are the default anyway, so the key looks different. Please also consider to vote on the following ticket: https://support.zabbix.com/browse/ZBXNEXT-1490 Greetings, Volker Am 2014-07-10 14:15, schrieb Nikolay Petrov:> Thanks for your reply! > > 1 question: regular_item.last() and delta_item.last(), they cannot have > same item.key, as when created second one with delta store,per your > recommendations, the error is "Item with key .... already exists", right? > If so, what is the second item that you pointed to? > My items are into Template and Template is currently assigned to the hosts. > > -- > /Regards,/ > /Nikolay G. Petrov!/ > Am 2014-07-08 16:38, schrieb Volker Fröhlich: > On 07/08/2014 04:11 PM, Nikolay Petrov wrote: >> [zabbix version 2.0] >> >> >> Hi! >> Do you know how can be implemented/integrated result of simple math >> operation into trigger name. >> >> Try to explain: >> >> for example, time-to-time we receive item1 with value=20 >> on the next check we receive item1 with value=26 >> >> Mt question is is it possible to put into trigger name result of >> difference between item.last-item.previous ? If yes could you please >> explain or show the example? >> >> > > Doesn't work! You can have an extra item with "Store Value: delta". > Include that in your trigger expression in a neutral way: > > {host.regular_item.last()}>10 & ({host.delta_item.last()}>0 | > {host.delta_item.last()}<1) > > The term in brackets is always true. If regular_item now goes over 10, > both parts are true, thus sending the trigger into PROBLEM state. > > Make your trigger description something like "Value above 10, change is > ITEM.VALUE2". VALUE2 references the value of the second item in your > expression. > > Greetings, > > Volker > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Zabbix-users mailing list > Zab...@li... > https://lists.sourceforge.net/lists/listinfo/zabbix-users > |