Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #6094] add 'is_reachable' to host and service state tables #1498
This issue has been migrated from Redmine: https://dev.icinga.com/issues/6094
Created by mfriedrich on 2014-04-29 15:32:59 +00:00
The host's 'state' in 1.x is unreachable, but in 2.x we do have that type for both hosts and services.
2014-05-10 18:37:09 +00:00 by (unknown) 97d51c4
2014-05-10 19:03:47 +00:00 by (unknown) f5e568d
2014-05-10 19:21:29 +00:00 by (unknown) 1e26d04
2014-05-10 19:27:56 +00:00 by (unknown) d98d0e9
2014-05-10 19:28:41 +00:00 by (unknown) 909c353
2014-05-10 19:38:23 +00:00 by (unknown) d13871e
Updated by tgelf on 2014-04-29 16:35:19 +00:00
Let's discuss this once you have time, I'm not sure whether a new column is a good idea here. IMO we should corretly "translate" state for hosts and think how to handle services. They have special treatment in 1.x too as they implicitely depend on their hosts. GUIs from Classic to Web2 implemented this by showing problem services on problem hosts being "handled". We should be very careful to not break things here.
Updated by mfriedrich on 2014-05-02 20:45:00 +00:00
Icinga 2's checkable objects have IsReachable() defined, and this is the only logical way of making this visible to external interfaces. The host's 'unreachable' and service's 'unknown' state isn't really designed through, and does not help in terms of reachability calculations.
Updated by mfriedrich on 2014-05-04 14:02:02 +00:00
that's a different behaviour with a host dependency where the core changes its state. we cannot change that behaviour for compatibility reasons, but an additional flag signalling that this checkable object is unreachable in terms of met dependencies will help future implementations where the web interface may chose upon this information what to present to the user.
Updated by mfriedrich on 2014-05-10 19:29:53 +00:00
Classic UI support is implemented with 1.11.3 in #6186