Skip to content

Graphite: Set state to 0 when result is 'no response'#27

Open
LordGaav wants to merge 1 commit into
NLNOG:masterfrom
LordGaav:graphite-state-fix
Open

Graphite: Set state to 0 when result is 'no response'#27
LordGaav wants to merge 1 commit into
NLNOG:masterfrom
LordGaav:graphite-state-fix

Conversation

@LordGaav
Copy link
Copy Markdown

@LordGaav LordGaav commented Jun 3, 2025

This brings the behaviour in line with the InfluxDB logic.

Additionally: shouldn't specifically check for result == 'ok'? Looking at the code, the possible values are:

  • ok
  • connection refused
  • network unreachable
  • no response (the default)

It looks to me that the host is only 'up' when the result is ok.

This brings the behaviour in line with the InfluxDB logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant