Was wondering if there was a way to setup Nagios to send out alerts for services/processes that freeze. The way I have it setup now is it will only send alerts if for some reason the service/processes gets stopped or crashes. Lately i've noticed some processes are just frozen but I don't find out until somethings broken.
Any help would be appreciated. I'm running Nagios core 4.1.1 and have it living on my ubuntu machine
Alerts to detect a frozen service
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alerts to detect a frozen service
This may be possible, but the "frozen" process must exhibit some behavior that your plugin can detect. An your Ubuntu machine doesn't mark the process "frozen", does it do something that you can create a script to monitor?NagiosNoob89 wrote:Was wondering if there was a way to setup Nagios to send out alerts for services/processes that freeze. The way I have it setup now is it will only send alerts if for some reason the service/processes gets stopped or crashes. Lately i've noticed some processes are just frozen but I don't find out until somethings broken.
Any help would be appreciated. I'm running Nagios core 4.1.1 and have it living on my ubuntu machine
For example, does it stop writing to a log file, does it stop listening on a port?
-
- Posts: 4
- Joined: Tue Sep 26, 2017 4:14 pm
Re: Alerts to detect a frozen service
I have it monitoring over 50 virtual servers and a ton of processes for each, seems pretty unlikely that i'd set it up to monitor any logs. Maybe I can however monitor linked programs that might error out because of the freeze, good thinkin!
Re: Alerts to detect a frozen service
Let us know how it works out for you!
If you have any more questions let us know what you find so we can help.
If you have any more questions let us know what you find so we can help.