Nagstamon icon indicating copy to clipboard operation
Nagstamon copied to clipboard

Feature Request: Filter based service in soft state that failed x times

Open paulcalabro opened this issue 10 years ago • 5 comments

It would be nice to filter our hosts that are close to approaching a hard state, while ignoring hosts that just entered a soft state.

paulcalabro avatar Jun 12 '14 20:06 paulcalabro

Like soft = 1/3 attempts, hard = 3/3 and close to approachign a hard state = 3/3? Why just filtering soft state?

HenriWahl avatar Jun 20 '14 14:06 HenriWahl

Can you add a regex filer on the attempt or duration column? I would like to catch our alerts before they reach 10/10, but not be distracted by the noise of the under 5 min alerts that self clear.

sidharrell avatar Jun 25 '16 08:06 sidharrell

@sidharrell isn't this a perfect usecase for filtering out soft state events?

HenriWahl avatar Jun 25 '16 20:06 HenriWahl

The job requirement is to be on top of the alert at 5 min. By the time it goes hard at 10/10 I have to be in the box with a handle on the problem. When it goes hard notifications go out to the customers and it generates a ticket, there is back and forth, and it's more work I don't have time for. The more I can catch early the better, but the flashing every minute for a traffic spike that clears on it's own is driving me crazy. I did turn the refresh rate down to 3 minutes, and that's helped.

sidharrell avatar Jun 25 '16 20:06 sidharrell

I would love to have this too.

Notify only after attempt x.

we got quite a few alerts at attempt 1 (hardstate is 5), therefore i don't want to filter out soft state events, but a nagstamon-notification at 2/5 attempts would be great.

luke5sky avatar Jan 31 '19 12:01 luke5sky