Value Mappings

Print version

5. Value Mappings

Responses from Several OID objects are unsigned integers, but these values do have a special meaning.

Example 5.1. Example RacomRay.systemStatus

  • “0” stands for “na” (not available)

  • “1” stands for “ok”

  • “2” stands for “warning”

  • “3” stands for “alarm”

Unfortunately, by default, you can see only the numeric values at the Zabbix front-end. The Value mappings are automatically imported with the RAy2 template or it can be imported separately in the Administration – General – Value Mappings menu.

[Note]Note

This syntax feature is used throughout all MIB tables, not only the RAy MIB table.

If you create any Value map manually, follow this procedure.

To add new value mappings, go to Administration → General → Value Mapping. Click on the “Create value map” button and insert the values, which are mentioned on the following lines. There is an Item list, which uses these value mappings (either link them manually or automatically by importing the template).

RacomRay.AlarmStateItems:
0 → naTemperature alarm state
1 → upLow voltage alarm state
2 → downHigh voltage alarm state
3 → ackRSS alarm state
 SNR alarm state
 Local Ethernet $1 Link Down alarm state
 RF Power Fail alarm state
 Net bitrate (air speed) below Limit alarm state
 BER alarm state
 Peer disconnect alarm state
RacomRay.channelArrangementItems:
0 → naChannel arrangement
1 → accp 
2 → acap 
3 → ccdp 
RacomRay.duplexItems:
0 → naEthernet duplex – index $1
1 → full 
2 → half 
RacomRay.lineStatusIIItems:
0 → naRadio link status
1 → setup 
2 → single 
3 → connecting 
4 → authorizing 
5 → ok 
6 → analyzer 
RacomRay.mdixItems:
0 → naEthernet MDI-X / MDI – index $1
1 → mdi 
2 → mdi-x 
RacomRay.modulationIndexItems:
0 → naTx modulation index
1 → qpskRx modulation index
2 → qam16 
3 → qam32 
4 → qam64 
5 → qam128 
6 → qam256 
RacomRay.OptionSettingItems:
0 → naManagement interface: Telnet
1 → onManagement interface: VLAN on/off
2 → offManagement interface: HTTP
 Secure peer mode
 Channel matching
 Ethernet pause – index $1
 Ethernet autonego – index $1
 Ethernet asymmetric pause – index $1
RacomRay.rfPowerStatusItems:
0 → naRF Power amplifier OK/Failure
1 → ok 
2 → fail 
RacomRay.ServiceStateItems:
0 → naPeer station user Ethernet $1 link status
1 → up 
2 → down 
RacomRay.sshdItems:
1 → naManagement interface: SSH
2 → onlykey 
3 → off 
RacomRay.systemStatusItems:
0 → naUnit status
1 → ok 
2 → warning 
3 → alarm 
RacomRay.voltageSourceItems:
0 → naSource of supply voltage
1 → aux 
2 → poe 
ICMP ping – AccessibilityItems:
0 → ICMP ping failsICMP ping – Accessibility
1 → ICMP ping successful 

5.1. How can I Edit an Item to Link with a Value Map?

Go to Configuration → Templates and choose one of the imported template. Open the item configuration window and click on the chosen item to view and edit its settings.

Choose the appropriate value map in the Menu “Show value” and save the changes.

Example: RacomRay.sshd

Linking a value map to an item

Fig. 5.1: Linking a value map to an item