Ad Widget

Collapse

Discovery Rule not supported: cannot parse as a valid JSON object

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cyberphantom
    Member
    • Dec 2021
    • 67

    #1

    Discovery Rule not supported: cannot parse as a valid JSON object

    Hello!
    I have some discovery rules in my Zabbix, but some of then are with status "not supported" and the error info is: "Invalid discovery rule value: cannot parse as a valid JSON object: invalid JSON object value starting character at: ']}'".
    This discovery rule value is something like this:
    {"data":[{"{#NAME}":"XXX","{#EVENT}":"1"},
    {"{#NAME}":"YYY","{#EVENT}":"1"},
    {"{#NAME}":"ZZZ","{#EVENT}":"1"},]}

    I've made some researches about it but I don't understand what is the problem with my scenario...
  • Answer selected by cyberphantom at 16-03-2022, 14:12.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    Extra comma there in the end, I think.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Extra comma there in the end, I think.

      Comment

      Working...