[naemon-users] Keep acknowledgements on unknown/timeout flaps
Florian Panzer - PLUSTECH GmbH
fp at plustech.de
Fri Jul 23 10:24:25 CEST 2021
Dear naemon-users,
let's say I have this one service (disk space) which is in "WARNING"
forever, because some volume is filled 83% and never changes.
I (non-sticky) acknowledge the service state. A few hours the service
goes to UNKNOWN for one check, because the check times out once, and
then it goes back to WARNING.
As is expected behaviour, the acknowledgement is removed by the state
changes.
I could
a) acknowledge again, and repeat that like once or twice a day, or
b) set a sticky acknowledgement.
I don't really want to do both of them. If i choose option B, I won't be
notified if the status changes to CRITICAL.
My question: Is there a way to acknowledge a service, keep the
acknowledgement on transitions between UNKNOWN<-->WARNING, but have it
removed on OK and CRITICAL?
Do I need to modify the check to throw a WARNING exit code on timeout,
or can this be done within naemon itself?
--
Florian Panzer
-----------------------------------
PLUSTECH GmbH
Jäckstraße 35
96052 Bamberg
Telefon: +49 951 299 09 716
https://plustech.de/
Geschäftsführung: Florian Panzer
Amtsgericht Bamberg - HRB 9680
-----------------------------------
More information about the Naemon-users
mailing list