Ad Widget

Collapse

zabbix-agent unreachable for 5 minutes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rewilliamscpro
    Junior Member
    • Dec 2015
    • 8

    #1

    zabbix-agent unreachable for 5 minutes

    Hello, starting yesterday after a firewall issue I have been getting the following alarms.

    Zabbix agent on server.example.com is unreachable for 5 minutes

    My Zabbix server have been running for over 2 years and i have not seen this problem. It seems that the zabbix server believes that the agent is down. Once the alarm fails it immediately okays which is the weird thing. The correct ports are open between agents and zabbix server.


    Zabbix Server zabbix_agentd.conf

    egrep -v '^$|^#' /etc/zabbix/zabbix_agentd.conf

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=4
    Server=::ffff:127.0.0.1
    ServerActive=server1.tpms
    Hostname=server1.example
    Timeout=15
    Include=/etc/zabbix/zabbix_agentd.d/

    Zabbix Server zabbix_server.conf

    egrep -v '^$|^#' /etc/zabbix/zabbix_server.conf

    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    DebugLevel=4
    PidFile=/var/run/zabbix/zabbix_server.pid
    DBName=zabbix
    DBUser=zabbix
    DBSocket=/var/lib/mysql/mysql.sock
    StartPollers=256
    SNMPTrapperFile=/var/log/snmptt/snmptt.log
    Timeout=15
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=secret

    Zabbix client zabbix_agent.conf

    egrep -v '^$|^#' /etc/zabbix/zabbix_agentd.conf

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    Server=10.10.10.10
    ServerActive=10.10.10.10
    Hostname=Zabbix server
    Include=/etc/zabbix/zabbix_agentd.d/
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Hello,

    Any errors in regarding this server in zabbix_server.log or in zabbix_agent.log on affected host ?

    Does the agent collect metrics or no ? Does the agent is running , check it using
    Code:
    ps -aux | grep zabbix_agentd
    Regards,
    Alex!

    Comment

    Working...