Hi all.
Have a server that runs part of a messaging system, and when working normally it hovers around 40% CPU useage. There is a bug in it that is proving tricky to trace, and when it occurs the system stops passing messages and the CPU useage drops to around 5%.
I need to know when this happens, so am wondering what is the simplest way to set up a trigger that'll fire when the CPU useage for a process drops below a set amount for a set amount of time. I want the even to the then email me.
I've been looking into existing systems to do this, Nagios is one that keeps coming up but it seems totally OTT for what I want / need for the moment.
Have a server that runs part of a messaging system, and when working normally it hovers around 40% CPU useage. There is a bug in it that is proving tricky to trace, and when it occurs the system stops passing messages and the CPU useage drops to around 5%.
I need to know when this happens, so am wondering what is the simplest way to set up a trigger that'll fire when the CPU useage for a process drops below a set amount for a set amount of time. I want the even to the then email me.
I've been looking into existing systems to do this, Nagios is one that keeps coming up but it seems totally OTT for what I want / need for the moment.