[ZBXNEXT-3884] Extend item preprocessing with custom expression Created: 2017 May 23 Updated: 2019 Sep 03 Resolved: 2019 Sep 03 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 3.4.0alpha1 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Minor |
Reporter: | Glebs Ivanovskis (Inactive) | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 12 |
Labels: | preprocessing | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Can be used to convert temperatures from centigrade to Fahrenheit or vice versa and, I suppose, in many other applications. Custom multiplier is not sufficient in this case. We can use our universal "calculator" we use for trigger expressions, calculated item formulas, custom action condition expressions, etc. |
Comments |
Comment by Vitaly Zhuravlev [ 2017 Sep 18 ] |
we need ability to use a pow(x,y) function inside those expressions. Example use case described in |
Comment by Ian Kelly [ 2018 Sep 12 ] |
getting times back and converting the timezone part to numbers for comparison in a trigger. |
Comment by Pimmetje [ 2018 Nov 26 ] |
I think it would be better if we can define scripts that are executed on the zabbix server for pre-processing values. In my case i want to convert a IP-address to int to be able to compare it to something else. I now have the conversion on the client side. But in some cases it could be useful to do this server side. I think it's possible to think of 100+1 things u normally can't do. Having user defined scripts could solve them all. But maybe it will go to far. Just me 2 cents. |
Comment by Vitaly Zhuravlev [ 2019 Feb 18 ] |
Please see JS custom script,
|