[ZBX-24024] APC template can't properly use sensors Created: 2024 Jan 31  Updated: 2024 May 10  Resolved: 2024 May 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 6.4.11, 7.0 (plan)
Fix Version/s: 6.0.30rc1, 6.4.15rc1, 7.0.0rc1, 7.0 (plan)

Type: Problem report Priority: Major
Reporter: Ihor Romanyshyn Assignee: Evgenii Gordymov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2024-01-31-16-19-01-062.png     PNG File image-2024-01-31-16-37-54-263.png     File zbx_export_templates.yaml    
Team: Team INT
Story Points: 1

 Description   

Steps to reproduce:

  1. Add the NMC (AP9631) to APC UPS.
  2. Connect the external sensor to port 1.
  3. Add this NMC to Zabbix.
  4. Wait until Zabbix discovers the sensor.
  5. Go to the Items list of that asset.
  6. See the "External sensor port 1 discovery: Sensor: Humidity sensor" and two others as "Not supported" with the error saying "No Such Instance currently exists at this OID".

Result:

**

Expected:
Working external sensors.

snmpwalk:

snmpwalk -v3 -a SHA -A xxxx -l authPriv -u ups-monitoring -x AES -X xxxxxx 10.10.x.x 1.3.6.1.4.1.318.1.1.25.1
iso.3.6.1.4.1.318.1.1.25.1.1.0 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.2.1.1.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.2.1.2.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.2.1.3.2.1 = STRING: "Sensor"
iso.3.6.1.4.1.318.1.1.25.1.2.1.4.2.1 = STRING: "Rack"
iso.3.6.1.4.1.318.1.1.25.1.2.1.5.2.1 = INTEGER: 63
iso.3.6.1.4.1.318.1.1.25.1.2.1.6.2.1 = INTEGER: 17
iso.3.6.1.4.1.318.1.1.25.1.2.1.7.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.2.1.8.2.1 = INTEGER: 0
iso.3.6.1.4.1.318.1.1.25.1.2.1.9.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.2.1.10.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.3.0 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.1.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.4.1.2.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.3.2.1 = STRING: "Sensor"
iso.3.6.1.4.1.318.1.1.25.1.4.1.4.2.1 = STRING: "Rack"
iso.3.6.1.4.1.318.1.1.25.1.4.1.5.2.1 = INTEGER: 10
iso.3.6.1.4.1.318.1.1.25.1.4.1.6.2.1 = INTEGER: 13
iso.3.6.1.4.1.318.1.1.25.1.4.1.7.2.1 = INTEGER: 22
iso.3.6.1.4.1.318.1.1.25.1.4.1.8.2.1 = INTEGER: 30
iso.3.6.1.4.1.318.1.1.25.1.4.1.9.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.10.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.4.1.11.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.4.1.12.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.4.1.13.2.1 = INTEGER: 2
iso.3.6.1.4.1.318.1.1.25.1.4.1.14.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.4.1.15.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.4.1.16.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.4.1.17.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.4.1.18.2.1 = INTEGER: -1
iso.3.6.1.4.1.318.1.1.25.1.4.1.19.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.20.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.21.2.1 = INTEGER: 1
iso.3.6.1.4.1.318.1.1.25.1.4.1.22.2.1 = INTEGER: 1


 Comments   
Comment by Ihor Romanyshyn [ 2024 Jan 31 ]

I see the item created has 1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1 while it must be .3.6.1.4.1.318.1.1.25.1.2.1.6.2.1

Comment by Ihor Romanyshyn [ 2024 Jan 31 ]

I have attached the template with my changes.

Comment by Evgenii Gordymov [ 2024 May 08 ]

Fixed in:

Generated at Sat Apr 19 05:51:02 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.