Ad Widget

Collapse

Can't open JSON/JASON object or array - Error in 1.6.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #1

    Can't open JSON/JASON object or array - Error in 1.6.6

    After upgrading zabbix from 1.6.5 to 1.6.6 zabbix_agentd reports the following errors in logs:

    Linux-Systems:
    Code:
    21763:20090910:020718 Can't open JSON object or array ""delay":"5","lastlogsize":"0"},{"key":"net.tcp.port[,3551]","del"
    Windows-Systems:
    Code:
     
    9344:20090910:022607 Can't open jason object
    9344:20090910:022807 Can't open jason object
    9344:20090910:023007 Can't open jason object
    9344:20090910:023207 Can't open jason object
    9344:20090910:023407 Can't open jason object
    9344:20090910:023607 Can't open jason object
    It seems to be the same error as reportet in ZBX-668 which should be fixed in 1.6.2 - But now it seems to be back...

    What could I do to fix this error??
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #2
    And the main problem is not the logentry. With zabbix_agentd 1.6.6 NO item-value is sent to zabbix-server!

    I've downgraded the agents to 1.6.5 - everything works fine. Whats going on with the 1.6.6-version? Does no one else has tested the current release?

    Comment

    • simonc
      Member
      • Jul 2009
      • 73

      #3
      Originally posted by rrr
      And the main problem is not the logentry. With zabbix_agentd 1.6.6 NO item-value is sent to zabbix-server!

      I've downgraded the agents to 1.6.5 - everything works fine. Whats going on with the 1.6.6-version? Does no one else has tested the current release?
      Same problem here... what's wrong ???

      This is my agent log :
      I get this in debug 3 level :

      Can't open JSON object or array ""delay":"60","lastlogsize":"0"},{"key":"net.tcp.s ervice[smtp]",""
      And in debug 4 level :
      18673:20090917:105104 In send_buffer('192.168.11.24','10051')
      18673:20090917:105104 Values in the buffer 0 Max 100
      18673:20090917:105104 Sleeping for 1 seconds
      18673:20090917:105105 In send_buffer('192.168.11.24','10051')
      18673:20090917:105105 Values in the buffer 0 Max 100
      18673:20090917:105105 Sleeping for 1 seconds
      18673:20090917:105106 In send_buffer('192.168.11.24','10051')
      18673:20090917:105106 Values in the buffer 0 Max 100
      18673:20090917:105106 Sleeping for 1 seconds
      I don't know why but i got this every second...
      I haven't UserParameter...
      Last edited by simonc; 17-09-2009, 08:33.

      Comment

      • simonc
        Member
        • Jul 2009
        • 73

        #4
        Note that this only affects the active agents.

        Comment

        • rrr
          Senior Member
          • Sep 2007
          • 100

          #5
          Whats going on with development of zabbix?
          This is a major bug and it won't get fixed since 1 month! Still with the last nightly build (revision 8031) the bug isn't fixed.

          But for all that, some additional infos about the behaviour of buggy zabbix_agentd versions:
          Normaly zabbix logentry on starting is:
          Code:
          3920:20090914:073654 zabbix_agentd started. ZABBIX 1.6.5 (revision 7409).
          on the newer (buggy) nightly build the revision number is only a placeholder/variable:
          Code:
          868:20091005:200752 zabbix_agentd started. ZABBIX 1.6.7 (revision {ZABBIX_REVISION}).

          Comment

          • igor
            ZABBIX Support Specialist
            • Mar 2009
            • 40

            #6
            Hi all!
            This issue has been fixed in version pre1.6.7, revision 8135.

            Comment

            • simonc
              Member
              • Jul 2009
              • 73

              #7
              Originally posted by igor
              Hi all!
              This issue has been fixed in version pre1.6.7, revision 8135.
              Nice ! Thanks !

              Comment

              • NOB
                Senior Member
                Zabbix Certified Specialist
                • Mar 2007
                • 469

                #8
                Originally posted by igor
                Hi all!
                This issue has been fixed in version pre1.6.7, revision 8135.
                Hi igor

                how about updating the precompiled agents for AIX 5.3,
                now that 1.6.7 has been released.

                We need it.

                Thanks and regards

                Norbert.

                Comment

                • igor
                  ZABBIX Support Specialist
                  • Mar 2009
                  • 40

                  #9
                  Hi NOB!

                  I sent pre-compiled zabbix_agent of v1.6.7 for AIX 5.3 platform to you by e-mail. On our site it will be published a bit later together with all pre-compiled agents for all available platforms.

                  Best regards,
                  Igor

                  Comment

                  • NOB
                    Senior Member
                    Zabbix Certified Specialist
                    • Mar 2007
                    • 469

                    #10
                    Originally posted by igor
                    Hi NOB!

                    I sent pre-compiled zabbix_agent of v1.6.7 for AIX 5.3 platform to you by e-mail. On our site it will be published a bit later together with all pre-compiled agents for all available platforms.

                    Best regards,
                    Igor
                    Hi igor

                    thanks a lot.
                    Unfortunately our MS Exchange infrastructure blocked this "exe" file
                    successfully. So, it didn't arrive.
                    I am trying to get the binary directly from the Exchange people, but I'm not sure whether
                    this will work.
                    Can you please zip or gzip it and send it, again.
                    Thanks !

                    Sorry for the inconvenience.

                    UPDATE: The zipped file Igor did send me worked and the agent is now running fine on one of our
                    AIX 5.3 system. Thanks a lot for the incredible support ! The problem seems to be solved.

                    Regards

                    Norbert.
                    Last edited by NOB; 06-12-2009, 18:18. Reason: Received binary for AIX - working fine.

                    Comment

                    • Blackblade
                      Junior Member
                      • Mar 2010
                      • 1

                      #11
                      Error back in 1.8.x on Windows 7

                      Hi all,

                      I'm just starting with Zabbix and tried to monitor my workstation with Windows 7 Ultimate 32bit using zabbix_agentd.exe in version 1.8 or 1.8.1.

                      Unfortunatly this seems not functional.... In the zabbix_agentd logfile I receive the "Can't parse list of active checks. Can't open JSON" Error and the agent doesn't report anything to the zabbix server.

                      Reading the discussion here and the changelogs, the error should be fixed since 1.6.7.
                      Maybe this comes back because of Windows 7.
                      Is there anything I can do? A workaround?
                      All my searches came to this thread and the corresponding bug/fix in 1.6.6 and 1.6.7, so nothing that helps me.

                      Regards
                      Michael

                      Comment

                      Working...