[ZBXNEXT-114] Default values and mapping of ranges in value maps Created: 2009 Nov 03  Updated: 2024 Apr 10  Resolved: 2021 May 30

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 5.4.1rc1, 5.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Mārcis Lielturks Assignee: Andrejs Kozlovs
Resolution: Fixed Votes: 20
Labels: flexibility, usability, valuemapping
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

zabbix GUI


Issue Links:
Causes
Duplicate
is duplicated by ZBXNEXT-1324 [Patch] Value map "all other values" Closed
is duplicated by ZBXNEXT-6516 Support of ranges in valuemaps Closed
Sub-task
depends on ZBXNEXT-6572 Frontend changes for default values a... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-6572 Frontend changes for default values a... Specification change (Sub-task) Closed Gregory Chalenko  
Team: Team C
Sprint: Sprint 75 (Apr 2021), Sprint 76 (May 2021)
Story Points: 3

 Description   

Ways to create default mapping and mapping of ranges could allow extended use of value mapping.

http://www.zabbix.com/forum/showthread.php?p=53255&posted=1#post53255



 Comments   
Comment by Mārcis Lielturks [ 2009 Nov 03 ]

Possible uses:

create mappings for item, that holds radio power level to something like:
-70 and lower => "low power level"
between -70 (inclusive) and -66 => "poor power level"
above -66 (inclusive) => "power level ok"

value mappings for command exit codes:
0 => "Cmd exit OK"
default => "Command returned error"

network interface statistics, that are stored as "delta speed per sec" and measured in bits/sec
above 95000000 => "link capacity limit reached"

Comment by richlv [ 2010 Apr 29 ]

slightly similar issue at ZBXNEXT-339 (about value mapping for all types)

Comment by richlv [ 2012 Jul 20 ]

proof of concept patch for "default" available at ZBXNEXT-1324

Comment by Alexei Vladishev [ 2012 Oct 11 ]

I believe it could be implemented relatively easy.

Comment by Raymond Kuiper [ 2013 Apr 16 ]

Ranges would indeed be very useful in some use cases. Since work on 2.2 has recently done some improvements on value mapping, could this be implemented as well?

Comment by Tobias Marx [ 2016 Mar 30 ]

Any news on this? Default values would be a great addition to value maps!

Comment by richlv [ 2016 Mar 30 ]

zabbix roadmap is probably a secret now, so no 100% info on it. http://zabbix.org/wiki/Docs/roadmap

the best bet probably is to get some company to finance it - http://www.zabbix.com/development_services.php

Comment by richlv [ 2016 May 12 ]

this could be also useful for the failed step item in web monitoring - 0 could be mapped to "success", while anything else to "failure at step "

Comment by pfoo [ 2017 Sep 13 ]

This should be implemented as it can make value reading a lot easier (wifi signal strength, voltage, ...)

Comment by Nathan van Dalen [ 2019 Aug 01 ]

Looking forward to this feature request. Would indeed be really useful for frontend users.

Any news on this?

 

Lmk. Kind regards,

Nathan

Comment by Brian van Baekel [ 2021 Feb 19 ]

After I created ZBXNEXT-6516 it turns out this one was there present.

 

So, The need for this feature is still here (after years). Looking forward to the implementation and make the product even better

Comment by Alexei Vladishev [ 2021 Feb 23 ]

This functionality along with ability to match by regex will be implemented in Zabbix 6.0. I just included it to the roadmap. 12 years of waiting is over!

Comment by Alexander Vladishev [ 2021 May 30 ]

Implemented in:

Updated documentation:

  • What's new: 5.4.0
  • Value mapping configuration: 5.4, 6.0
Generated at Thu Apr 25 03:56:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.