Ad Widget

Collapse

agent.ping is checked once, then goes silent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ThomasGU
    Junior Member
    • Jun 2019
    • 6

    #1

    agent.ping is checked once, then goes silent

    Hi,

    I'm having an issue with my Zabbix 4.2.1 installation on RHEL 7.2 with PostgreSQL 9.2.13 :

    All host monitored with the Zabbix agent trigger the "Unreachable for 5 min" alert, yet the zabbix_get -k agent.ping command returns 1 on all of them and the refresh time is lower than 5 min.

    Latest data indicates "Up (1)", but the last check happened when the server restarted. So when I restart the zabbix-server service, the alerts are RESOLVED for 5 mins then go back to PROBLEM state for lack of data during 5 min :

    (Just after restarting the service at ~12:10)
    Click image for larger version  Name:	agenthelp-recovery.PNG Views:	1 Size:	21.8 KB ID:	380547
    (After 5 min)

    Click image for larger version  Name:	agenthelp-trigger.PNG Views:	1 Size:	29.4 KB ID:	380548

    Using the "Check now" feature for the Agent Ping item doesn't generate a new value on any of the hosts and the server monitors successfully all other agent items :
    Click image for larger version  Name:	agenthelp-values.PNG Views:	1 Size:	30.9 KB ID:	380549

    With Zabbix server DebugLevel on 5, I seem to get successful polls :

    In get_value_agent() host:'hostname' addr:'address' key:'agent.ping' conn:'unencrypted'
    Sending [agent.ping]
    get value from agent result: '1'
    End of get_value_agent():SUCCEED
    End of get_value():SUCCEED

    This looks like a bug but I'm probably missing something so any help is greatly appreciated, thanks in advance


    Thomas
    Last edited by ThomasGU; 11-06-2019, 16:08.
  • ThomasGU
    Junior Member
    • Jun 2019
    • 6

    #2
    Solved, the "Discard unchanged" option was enabled on the Agent app template....

    Comment

    Working...