sensu-plugins / sensu-plugins-influxdb

This plugin provides native InfluxDB instrumentation for monitoring and metrics collection, including: service health via `/ping`, running queries, and service metrics.
http://sensu-plugins.io
MIT License
18 stars 33 forks source link

Flapping status for NoData #89

Closed rajiv-g closed 4 years ago

rajiv-g commented 4 years ago

Following #73 issue, We have flapping status as NoData becomes Ok state.

Scenario: If failed checks are followed by NoData, it will return Ok & resolve the check. But again when the data is ingested, it is go back to warning/critical. Also NoData, doesn't affect on checks history with ok status.

Solution: It is possible to avoid this if we have values that are ingested regularly in InfluxDB. But if data ingestion in InfluxDB is random, we need to lookback previous state for NoData.