Comment 2 for bug 1934406

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 1934406] Re: Set blocked status for deferred restarts to indicate operator intervention required

On Mon, 2022-05-30 at 23:14 +0000, Andrea Ieri wrote:
> On top of setting status to blocked or notifying the operator via juju
> status in some other way, it would probably be useful to also set up
> nrpe alerting. After all, you eventually do want to apply any pending
> restart or hook so it would seem appropriate to treat a deferred restart
> as a type of "error" condition.
>
this is one of those scenarios where a nagios check is too strict (OK or not),
so proably the check should encapsulate some logic around the number of deferred
restarts and the age of those events to transition from OK -> Warning ->
Critical.