[ZBX-1148] mixing agent checks and simple checks cause unreachable hosts to flap between available and unavailable Created: 2009 Oct 28  Updated: 2017 May 30  Resolved: 2009 Oct 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 1.6.6
Fix Version/s: 1.6.6

Type: Incident report Priority: Major
Reporter: Alexander Vladishev Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

If simple checks like "ssh" are mixed with agent checks, the host availability of hosts that are unreachable becomes unstable.

Since the only criteria for enable_host seems to be the existence of at least one item that can be fetched, the simple check will cause the host availability to be set to HOST_AVAILABLE_TRUE, even if the check is negative (e.g. because the ping or ssh check failed to reach the host).
On the other hand, the agent checks will cause the availability to be set back to HOST_AVAILABLE_FALSE after CONFIG_UNREACHABLE_PERIOD.

This leads to continuous flapping of the host availability and thus the "status" item will also continuously flap.



 Comments   
Comment by Alexander Vladishev [ 2009 Oct 28 ]

Fixed in version pre1.6.7, revision 8136.

Comment by richlv [ 2009 Dec 16 ]

closing resolved issues

Comment by Alexander Willner [ 2011 Apr 14 ]

I experienced this issue with 1.8.2. Maybe a regression? Also see http://www.zabbix.com/forum/showthread.php?p=82493

Generated at Fri Mar 29 13:31:17 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.