Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 5.0.5
-
Fix Version/s: 4.0.28rc1, 5.0.7rc1, 5.2.3rc1, 5.4.0alpha1, 5.4 (plan)
-
Component/s: Proxy (P), Server (S)
-
Labels:None
-
Team:Team C
-
Sprint:Sprint 71 (Dec 2020)
-
Story Points:1
Description
With snmpget i have:
ABC-MIB::PortActualStatus."E1_RA_01\14" = INTEGER: ok (1)
I have a discovery for MIB table:
discovery[{#PORTACTUALSTATUS}, ABC-MIB::PortActualStatus]
Item prototype:
Name: Port Actual Status of {#SNMPINDEX} OID: ABC-MIB::PortActualStatus.{#SNMPINDEX}
Here is the result when I test it in UI:
[{"{#SNMPINDEX}":"11.69.49.95.82.65.95.48.49.92.49.52","{#PORTACTUALSTATUS}":"1"},{"{#SNMPINDEX}":"11.69.49.95.82.65.95.48.49.92.49.53","{#PORTACTUALSTATUS}":"1"}]
So, I cannot use name of port in item name:
Port Actual Status of 11.69.49.95.82.65.95.48.49.92.49.53
Expected:
Port Actual Status of E1_RA_01\14
When I get the same for other OID:
ABC-MIB::operatorPositionActualStatus."CWP_001" = INTEGER: unknown(4)
It works good:
[{"{#SNMPINDEX}":"\"CWP_001\"","{#CWACTUALSTATUS}":"4"},{"{#SNMPINDEX}":"\"CWP_002\"","{#CWACTUALSTATUS}":"4"}]
So the difference is "\14" and it seems it is interpreted wrongly.