Hello, I want to monitor UPs with zabbix 5.4 and it is partially working, the items that are created in template manually are working fine, but discovery does not work because MiB upsInputLineIndex, upsOutputLineIndex and UpsBypassLineIndex not exist in the device, and therefore zabbix does not receive any value for them.
Line indexes should just return 3 values 1,2,3 (for Line 1, Line 2 and Line 3) and from there Zabbix should just add Line Index to the MiB and Item name (discovery) and receive the value for different readings based on index...
So for example Line index is 1,2,3 from there zabbix should create items and query them
upsInputVoltage.1 - Input Line 1
upsInputVoltage.2 - Input Line 2
upsInputVoltage.3 - Input Line 3
if I do this with snmp walk i get the values

Does anybody know, can I somehow overwrite this variable SNMPINDEX to return those 3 values manually, or any other solution, maybe creating a macro or if i can overwrite it somwhere in the database, just to pass number 1,2,3 to zabbix, and than it will be able to read everything else from UPS and to discover items?
Thank you very much
Line indexes should just return 3 values 1,2,3 (for Line 1, Line 2 and Line 3) and from there Zabbix should just add Line Index to the MiB and Item name (discovery) and receive the value for different readings based on index...
So for example Line index is 1,2,3 from there zabbix should create items and query them
upsInputVoltage.1 - Input Line 1
upsInputVoltage.2 - Input Line 2
upsInputVoltage.3 - Input Line 3
if I do this with snmp walk i get the values
Does anybody know, can I somehow overwrite this variable SNMPINDEX to return those 3 values manually, or any other solution, maybe creating a macro or if i can overwrite it somwhere in the database, just to pass number 1,2,3 to zabbix, and than it will be able to read everything else from UPS and to discover items?
Thank you very much
Comment