Page 1 of 1

Monitor a specific process if it gets hung on linux

Posted: Wed Apr 26, 2017 8:14 am
by youngek
Is there a way to monitor a specific process on a linux box if it gets hung? I'm monitoring total processes but, I did not see a way to drill down to a specific one? I am sure I am missing something.

Re: Monitor a specific process if it gets hung on linux

Posted: Wed Apr 26, 2017 12:36 pm
by dwhitfield
I'm pretty sure there are multiple ways to do this, but this is the first I found: https://exchange.nagios.org/directory/P ... sh/details

Please let us know if you run into any trouble.

Re: Monitor a specific process if it gets hung on linux

Posted: Wed Apr 26, 2017 4:30 pm
by tacolover101
you probably want to check more at an application level. perhaps with synthetic user testing such as selenium, or checking ports / traffic that should otherwise respond to a user.

Re: Monitor a specific process if it gets hung on linux

Posted: Wed Apr 26, 2017 4:36 pm
by dwhitfield
If you did want to go the Selenium route, we have a bit of a tutorial, that should help: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Are you looking for a specific process? There might be something on exchange specifically designed for it.