See www.zabbix.com for the official Zabbix site.

Data Domain-Value Mapping

From Zabbix.org
Jump to: navigation, search

Value Mapping

See XML Import Format bellow.

Value Mapping for use with Template SNMP Data Domain

Data Domain DiskState

1 ⇒ OK
2 ⇒ Unknown
3 ⇒ Absent
4 ⇒ Failed
5 ⇒ Spare

Data Domain FanLevel

0 ⇒ Unknown
1 ⇒ Low
2 ⇒ Medium
3 ⇒ High

Data Domain FanStatus

0 ⇒ Not Found
1 ⇒ OK
2 ⇒ Fail

Data Domain SensorStatus

0 ⇒ Failed
1 ⇒ OK
2 ⇒ Not Found
3 ⇒ Over Heat Warning
4 ⇒ Over Heat Critical

Data Domain VtlLibraryStatus

0 ⇒ Unknow
1 ⇒ Online
2 ⇒ Offline

XML Import Format

Value mappings can be imported with XML spec[1] since version 3.0[2] through web UI Import button with drop menu option Value Mapping from Administration / General.

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>3.0</version>
    <date>2018-04-13T18:39:40Z</date>
    <value_maps>
        <value_map>
            <name>Data Domain DiskState</name>
            <mappings>
                <mapping>
                    <value>1</value>
                    <newvalue>OK</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Unknown</newvalue>
                </mapping>
                <mapping>
                    <value>3</value>
                    <newvalue>Absent</newvalue>
                </mapping>
                <mapping>
                    <value>4</value>
                    <newvalue>Failed</newvalue>
                </mapping>
                <mapping>
                    <value>5</value>
                    <newvalue>Spare</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Data Domain FanLevel</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>Unknown</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>Low</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Medium</newvalue>
                </mapping>
                <mapping>
                    <value>3</value>
                    <newvalue>High</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Data Domain FanStatus</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>Not Found</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>OK</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Fail</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Data Domain SensorStatus</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>Failed</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>OK</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Not Found</newvalue>
                </mapping>
                <mapping>
                    <value>3</value>
                    <newvalue>Over Heat Warning</newvalue>
                </mapping>
                <mapping>
                    <value>4</value>
                    <newvalue>Over Heat Critical</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Data Domain VtlLibraryStatus</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>Unknown</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>Online</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Offline</newvalue>
                </mapping>
            </mappings>
        </value_map>
    </value_maps>
</zabbix_export>

References

  1. Docs/specs/ZBXNEXT-1679
  2. Release Notes for Zabbix 3.0.0