Is there any way to monitor a service but to only go to critical or warning status if it was stopped for a period of time. We all know there are services that are constantly restarting or are not always up. I am looking to monitor if a service has been in a Not running or stopped state for xx minutes. If a service has been stopped for something like 5 minutes, go warning. If 10 minutes, go critical. Does anyone have this in place or have an idea of the easiest way to accomplish this?
↧