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!!
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!!
!
Comment