Ad Widget

Collapse

cannot parse list of active checks: cannot parse as a valid JSON object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • igalsc
    Junior Member
    • Jan 2021
    • 20

    #1

    cannot parse list of active checks: cannot parse as a valid JSON object

    Hi Guys,

    I'm running Zabbix on AWS, my setup is :

    Zabbix Server 5.2.2 running on Ubuntu, client is Windows 2019 with Zabbix Agent 5.2.4

    My zabbix_agentd.conf on the server is

    Code:
    PidFile=/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=10
    DebugLevel=3
    ##### Passive checks related
    Server=127.0.0.1,zabbix.rest_of_FQDN.here,10.10.11.145, 10.10.10.66
    ListenPort=10051
    # StartAgents=3
    ServerActive=127.0.0.1,zabbix.zabbix.rest_of_FQDN.here
    Hostname=HOST-NAME
    The 10.10.11.145 and 10.10.10.66 IPs are the internal LB IPs

    My zabbix_agentd.conf on the Windows 2019 is

    Code:
    LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
    LogFileSize=10
    DebugLevel=3
    Server=10.0.2.231,10.0.1.108
    ListenPort=10050
    ServerActive=zabbix.rest_of_FQDN.here
    Hostname=HOST-NAME
    Timeout=10
    My host is setup in Zabbix UI as HOST-NAME, with
    IIS by Zabbix agent active
    This is what I get when I run the agent on the Windows

    Code:
     3008:20210224:125333.184 In refresh_active_checks() host:'zabbix.rest_of_FQDN.here' port:10051
    3008:20210224:125333.220 sending [{"request":"active checks","host":"HOST-NAME"}]
    3008:20210224:125333.221 before read
    3008:20210224:125333.237 got [ZBX_NOTSUPPORTED]
    3008:20210224:125333.238 In parse_list_of_checks()
    3008:20210224:125333.240 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
    Last edited by igalsc; 25-02-2021, 17:33.
Working...