Ad Widget

Collapse

Zabbix 2.2.3 Low level discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amlife
    Junior Member
    • Sep 2013
    • 15

    #1

    Zabbix 2.2.3 Low level discovery

    Hello everyone
    I'm trying to setup LLD, and when I use Zabbix_get to test, I get correct response, however looking at the UI I'm seeing "Value should be a JSON object". Please find the attached screenshot.

    Code:
    # /usr/bin/zabbix_get -s  ./zabbix_get -s 192.168.x.x -p 10050 -k "custom.amq.queue.discovery"
    Code:
    {
            "data":[
                    {
                            "{#AMQQ}":"DLQ_CPP_LTEST"},
                    {
                            "{#AMQQ}":"PCA"},
                    {
                            "{#AMQQ}":"LTEST_H"},
                    {
                            "{#AMQQ}":"ActiveMQ.DLQ"},
                    {
                            "{#AMQQ}":"CMS"},
                    {
                            "{#AMQQ}":"CPP_NM"},
                    {
                            "{#AMQQ}":"DLQ_CDR"},
    
                            "{#AMQQ}":"CMD_CMS"},
                    {
                            "{#AMQQ}":"CDR_FILTERED"},]}
    Any idea whats causing this?

    Thank you
    Attached Files
  • amlife
    Junior Member
    • Sep 2013
    • 15

    #2
    I found what the problem was

    I have used this site http://jsonlint.com/ to check my syntax and I found there was an extra "," appended to the bottom of my output.

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      one small extra comma before closing "]"
      Code:
                              "{#AMQQ}":"CDR_FILTERED"},]}
      ---------------------------------------------------------------------^
      Sincerely yours,
      Aleksey

      Comment

      • amlife
        Junior Member
        • Sep 2013
        • 15

        #4
        Hey Aleksey,

        thanks for your help!

        Toronto, here btw

        Comment

        • aib
          Senior Member
          • Jan 2014
          • 1615

          #5
          Go, Canada, Go!
          Sincerely yours,
          Aleksey

          Comment

          Working...