GithubHelp home page GithubHelp logo

Comments (4)

Al2Klimov avatar Al2Klimov commented on June 6, 2024

Hello Jose!

Does just Web mis-indicate the reachability or the Icinga 2 API, too?

Best,
A/K

from icinga2.

jjuanino avatar jjuanino commented on June 6, 2024

Hi Alexander,

in the icinga2 console I get the following (output snipped):

<1> => get_host("poc_child")
{
	__name = "poc_child"
	check_attempt = 1.000000
	check_command = "dummy"
	check_interval = 300.000000
	last_check_result = {
		active = true
		command = "dummy"
		exit_status = 0.000000
		output = "Check was successful."
		previous_hard_state = 99.000000
		vars_after = {
			attempt = 1.000000
			reachable = false    ◄◄◄◄◄◄◄◄◄◄◄◄◄◄◄◄
			state = 0.000000
			state_type = 1.000000
		}
		vars_before = {
			attempt = 1.000000
			reachable = true
			state = 0.000000
			state_type = 1.000000
		}
	}
	last_reachable = false   ◄◄◄◄◄◄◄◄◄◄◄◄◄◄◄◄
}

Best regards

from icinga2.

Al2Klimov avatar Al2Klimov commented on June 6, 2024

The issue is as follows: when poc_grand_parent becomes down, poc_parent_0 becomes unreachable (as usual), but poc_child also, which is unexpected.

poc_child indeed seems to misbehave, but only after yet another check of itself after poc_grand_parent is down.

from icinga2.

jjuanino avatar jjuanino commented on June 6, 2024

Yes, that is right, you have to check the services several times to reproduce the issue. The test presented is a bit contrived to show the behavior, but in the real world you get the issue in a more natural way. Regards.

from icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.