[ZBX-22000] Discovery failure after Zabbix 6 upgrade Created: 2022 Nov 30 Updated: 2024 Apr 10 Resolved: 2022 Dec 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 6.0.11 |
Fix Version/s: | 6.0.12rc2, 6.2.6rc2, 6.4.0beta5, 6.4 (plan) |
Type: | Problem report | Priority: | Blocker |
Reporter: | Evren Yurtesen | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 1 |
Labels: | bug, filter, template | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
||||||||||||||||
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | Sprint 95 (Dec 2022) | ||||||||||||||||
Story Points: | 1 |
Description |
Steps to reproduce:
[{"{#SNMPINDEX}":"0.1","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"11"},{"{#SNMPINDEX}":"0.2","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"6"},{"{#SNMPINDEX}":"0.3","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"6"},{"{#SNMPINDEX}":"0.6","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"7"},{"{#SNMPINDEX}":"0.10","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"7"},{"{#SNMPINDEX}":"0.12","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.14","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.15","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"11"},{"{#SNMPINDEX}":"0.16","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.17","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.18","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.19","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.20","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.21","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.22","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.23","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.24","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.25","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.26","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.27","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.29","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"5"},{"{#SNMPINDEX}":"0.31","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"5"},{"{#SNMPINDEX}":"0.33","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"5"},{"{#SNMPINDEX}":"0.35","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"5"},{"{#SNMPINDEX}":"0.41","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"3"},{"{#SNMPINDEX}":"0.42","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"},{"{#SNMPINDEX}":"0.43","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"},{"{#SNMPINDEX}":"0.44","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"},{"{#SNMPINDEX}":"0.45","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"},{"{#SNMPINDEX}":"0.46","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"},{"{#SNMPINDEX}":"0.47","{#SNMPVALUE}":"0","{#SENSOR_LOCALE}":"10"}] Result:
Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")".Cannot evaluate expression: unexpected token at ")". Expected: This happens with template which was in Zabbix 5 after upgrade. I even have tried Zabbix5 and Zabbix6 simultaneously against same HP server. It works in Zabbix5 and fails in Zabbix6 Note: Changing "Type of calculation" in filtes for this discovery item from "And/Or" to "And" seems to fix it. But this makes no sense because manual says: And/Or - uses And with different macro names and Or with the same macro name; So `And/Or` and `And` should do the same thing for this discovery item: |
Comments |
Comment by Evren Yurtesen [ 2022 Nov 30 ] |
Sorry, this was on version 6.0.11 |
Comment by Andris Zeila [ 2022 Dec 02 ] |
Released
|