[ZBXNEXT-5201] JavaScript preprocessing: allow secondary items Created: 2019 Apr 30  Updated: 2019 May 17

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Alexey Asemov Assignee: Andris Zeila
Resolution: Unresolved Votes: 5
Labels: items, javascript, preprocessing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A feature request follows.

Given we now have preprocessing function(value) in JavaScript, may it be possible one day to add secondary items to these?

I mean, function is called like function(value), but maybe it can be called like function(value, item2_value, item3_value, ...) with additional source items defined per preprocessing step. Of course, called only on 'master' item change, tracking of secondary items may be even desirable but would be too complex.

This would allow to effectively combine data from multiple item data sources and create complex checks / discoveries for cases where full dataset is not available from a single source.



 Comments   
Comment by Alexey Asemov [ 2019 May 17 ]

Or maybe there can be another way to access something like Zabbix host information and then item functions from the JavaScript to get last() or other stuff.

Generated at Tue Apr 23 22:40:44 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.