Page 1 of 1
Does a warning alert reset the counter before a Hard alert?
Posted: Tue Jan 28, 2020 9:03 am
by hbouma
We have some services setup to require 3 failures before they go to a hard state. Looking at some of them, they are going Critical Soft, Warning Soft, Critical Hard. Is the Warning state suppose to reset the counter?
We are running Nagios XI 5.6.10 on 64BIT RHEL 7.6 VMs. No Mod Gearman.
2020-01-28 09_00_14-Nagios XI.png
Re: Does a warning alert reset the counter before a Hard ale
Posted: Tue Jan 28, 2020 5:28 pm
by mbellerue
That should be read bottom to top. So the first time it checked, it got a CRITICAL, and went to soft state because it had 2 more checks to make. The second time it checked, it returned a WARNING, so still in soft state. The third time it checked, it got a CRITICAL again, reached its max check attempts, and went into a hard state.
The warning won't reset the counter. The counter continues to increment as non-OK states are returned.