forums.meulie.net

How to send notification for first warning?

I’ve to diagnose a little transient peak and I’d like to obsess monitoring up to 1/check to minute and send warning notification at very first warning occurency. Immediatelòy not after tot times this event occours nor after tot minutes.

Context:

I’ve a server running very well since 2017.
In last 2 days we received every day 2 warning about cpu > 50%

To be able to identify which process is stressing cpu, I’ve lowered check of number of process down to ‘normalì’ number.

I need to received a notification every time this number is increased by 1

I CANNOT lower warning threasold of this notification because it will trigger some complex things into our company.

So now process count is normally 138.
I need a mail ASAP process count is > 138.

So i can trackdown which new process is fired.

Is it possible?