Is there any way to get the count of thresholds triggered and comes back to ok. state in any given time.
Hi @Amit_Kumar_Singh. You can retrieve this information through Kapacitor using a TICK script. The relevant documentation can be found here, under “Available Statistics”: AlertNode | Kapacitor 1.5 Documentation
It looks like the statistics you would need are alerts_triggered
and oks_triggered
.
Hope this helps.