Hey guys,
i'm reaching some point of frustration with jsonpath and LLD discovery.
I'm trying to monitor some milestones in our gitlab environment. I query the gitlab api with a http agent discovery item.

The testquery gets me a result.

I created an itemprototype with this, but the items will not be created.

I get this error:
If I escape the ID LLD macro in the prototype, zabbix will start create the items, but cannot query them, because the LLD macros will be stored with square brackets.
I also tried the mentioned solutions from this thread, but this does not work either.
Any ideas?
Thanks and kind regards,
Ulli
i'm reaching some point of frustration with jsonpath and LLD discovery.
I'm trying to monitor some milestones in our gitlab environment. I query the gitlab api with a http agent discovery item.
The testquery gets me a result.
I created an itemprototype with this, but the items will not be created.
I get this error:
Code:
Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "[22]].state". Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "[15]].state". Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "[14]].state". Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "[13]].state". Cannot create item: invalid value for preprocessing step #1: unsupported construct in jsonpath starting with: "[12]].state".
I also tried the mentioned solutions from this thread, but this does not work either.
Any ideas?
Thanks and kind regards,
Ulli

Comment