Ad Widget

Collapse

Why Active check in Zabbix dont work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kostadin
    Junior Member
    • Aug 2018
    • 3

    #1

    Why Active check in Zabbix dont work

    Hi All,

    Can you help me with this issue

    I using only Ubuntu server. This is my zabbix.agent.conf:

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    Server=my zabbix server adress
    ListenPort=10051

    StartAgents=5

    ListenIP=my server adress
    ServerActive=my zabbix server adress:10051
    Hostname=my server host name
    Include=/etc/zabbix/zabbix_agentd.d/*.conf

    TLSConnect=psk
    TLSAccept=psk

    TLSPSKIdentity=PSK 015
    TLSPSKFile=/etc/zabbix/zabbix_agentd.psk

    and i wont to monitoring log fail. This is my item in upload file.
    Why, if i change StartAgents=0 my server don’t have connection.
    How i configuration my agent.conf to change to active check to monitoring log.file.


  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please check the log of Zabbix agent.
    If any kind of trouble has occurred, it should be output to the log.

    Comment

    • Kostadin
      Junior Member
      • Aug 2018
      • 3

      #3
      This is my zabbix log from zabbix server:
      zabbix_server.log - 8327:20180822:073939.973 cannot send list of active checks to "ip on my sever": host [host name on my server] not found
      zabbix_agent.log - 5424:20180822:073851.268 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'.

      This is log from my server in first post:
      Zabbib_agent.log - 21787:20180822:063538.727 no active checks on server [zabbix server IP:10051]: host [host name ot my server] not found

      If I change StartAgents=0. - this is the log:
      From Zabbix server:
      8318:20180822:074608.113 Zabbix agent item "agent.ping" on host "my server host name" failed: first network error, wait for 15 seconds
      8323:20180822:074623.265 Zabbix agent item "proc.num[]" on host "my server host name" failed: another network error, wait for 15 seconds
      8323:20180822:074638.270 Zabbix agent item "system.cpu.load[percpu,avg5]" on host "my server host name" failed: another network error, wait for 15 seconds
      8323:20180822:074653.274 temporarily disabling Zabbix agent checks on host "Scorpion2-Production": host unavailable
      8327:20180822:074743.467 cannot send list of active checks to "my server ip adress": host [my server host name] not found
      8327:20180822:074943.491 cannot send list of active checks to "my server ip adress": host [my server host name] not found
      8326:20180822:075143.515 cannot send list of active checks to "my server ip adress": host [my server host name] not found
      8296:20180822:075219.527 executing housekeeper
      8296:20180822:075221.914 housekeeper [deleted 66740 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit items in 2.379597 sec, idle for 1 hour(s)]
      8328:20180822:075343.538 cannot send list of active checks to "my server ip adress": host [my server host name] not found



      The log from server is the same:
      5424:20180822:075251.399 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 Kostadin; 22-08-2018, 10:04.

      Comment

      Working...