Ad Widget

Collapse

Has anyone ever experienced this ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jefte
    Senior Member
    • Oct 2015
    • 207

    #1

    Has anyone ever experienced this ?

    I created a script in php, to find out some ipv4, and I'm moving on to zabbix to create an item discovery, but I'm having this problem.



    Script works fine...


    and jsonlint is OK



    zabbix version 3.2.3

    -------------------------------------------------------
    I upgraded to 3.4.3 and the problem continues
    Last edited by Jefte; 19-10-2017, 19:27.
  • Jefte
    Senior Member
    • Oct 2015
    • 207

    #2
    ;(

    Using zabbix sender, with my LLD trapper worked, my json is correct.
    But , in this way it becomes unfeasible.

    zabbix_sender -z ZBXSERVER -s IPHOST -k KEYNAME -o "$(cat /dir/file.json)"



    my json returns only 46 values, in the ipv4 format...
    any idea ?
    Last edited by Jefte; 19-10-2017, 21:10.

    Comment

    • Clontarf[X]
      Member
      • Jan 2017
      • 80

      #3
      Do you have
      Code:
      data: [
      ?

      Code:
      {
        "data": [
          {
            "key":"value"
          }
        ]
      }

      Comment

      • Jefte
        Senior Member
        • Oct 2015
        • 207

        #4
        Yes , JSON IS OK...



        JSONLINT is valid....
        Zabbix Sender in LLD WORK (as shown above)

        but I need automatic discovery
        Last edited by Jefte; 25-10-2017, 14:44.

        Comment

        Working...