[ZBX-4533] xml templates -> valuemapid does not map when imported and applied to host Created: 2012 Jan 11  Updated: 2017 May 30  Resolved: 2012 Jan 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Sol Arioto Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: valuemapping, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu 8.04 Mysql zabbix 1.8.3


Issue Links:
Duplicate
duplicates ZBX-3631 XML import/export ignores/omits value... Closed

 Description   

valuemapid from template does not map when imported and applied to host received data is not mapped or even applied when looking at item configuration

Value mapping < General < Administration

Cisco < valuemapid=4
1 ? UP
2 ? DOWN
3 ? Testing
4 ? Unkown
5 ? Dormant
6 ? Not Present
7 ? Lower Layer Down

Template with valuemapid to be imported

<item type="4" key="ifOperStatus.10136" value_type="3">
<description>GigabitEthernet0/36 - State</description>
<delay>300</delay>
<history>90</history>
<trends>365</trends>
<status>1</status>
<snmp_community>public</snmp_community>
<snmp_oid>.1.3.6.1.2.1.2.2.1.8.10136</snmp_oid>
<snmp_port>161</snmp_port>
<valuemapid>4</valuemapid>
<applications>
<application>Interfaces</application>
</applications>
</item>

imports successfully!

Upon viewing Latest Data > Host with template applied

GigabitEthernet0/36 - State 04 Oct 2011 01:01:59 1 <=Value displayed from pull.. correct other then the valuemapid is not applied


Generated at Sat Apr 20 08:29:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.