Ad Widget

Collapse

Problem getting my Agent Ping Item working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • etiennea56
    Junior Member
    • May 2017
    • 2

    #1

    Problem getting my Agent Ping Item working

    Hi,

    sorry for my english.

    I'm new to the zabbix world. I'm trying to trigger the Agent Ping item for testing purpose, but I got no luck so far.

    Version= 3.2.5, server and agent

    What I did :
    - On the same machine, I installed my Zabbix Server and agent (node#1)
    - On another machine, only the agent (node#2)

    I got everything working, I did make my server see both agents without problem (ZBX is green in my Availability column). In "Lasted Data" for Agent Ping, I can see the graph at 1 stating that my agents are returning data.

    Now, I didn't change anything in the Agent ping Item from the "Template App Zabbix Agent", so my trigger is the default one :
    {Template App Zabbix Agent:agent.ping.nodata(5m)}=1

    To test it out, I stopped my agent on both servers, now I can see that my Availability for ZBX is now in red and in "Lasted Data" I got no data at all (no green line)... but still, no event is triggered on the dashboard, no action taken, just nothing.

    For fun, I restarted the agent on node#2, and switch "{Template App Zabbix Agent:agent.ping.nodata(5m)}=1" for "{Template App Zabbix Agent:agent.ping.nodata(5m)}=0". Now I can see the my trigger fire up for my working node#2 (which is normal, because I have data), but still, no trigger for my stopped agent.

    On my zabbix server, when I run zabbix_get, for a working agent, I got "1" (which is the desired return), and when it's stopped, I got "zabbix_get [4029]: Get value error: cannot connect to [[1.2.3.4]:10050]: [111] Connection refused" because nothing listen behind that port.

    Is my "Connection refused" is considered as data for the no_data function? Am I missing on something?

    Thank for you help!!
  • ovas
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2017
    • 138

    #2
    Hello!

    Possible bug here? Can you please try to attach the patch in ticket and see if the error persists?

    Comment

    • etiennea56
      Junior Member
      • May 2017
      • 2

      #3
      Thank very much ovas!! I didn't found anything linked to that bug while searching with Google.

      It's all good now, it works like a charm! I'll keep this bug tracker in my fav !

      cya

      Comment

      Working...