Monitor a specific process if it gets hung on linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
youngek
Posts: 34
Joined: Tue Feb 14, 2017 2:46 pm

Monitor a specific process if it gets hung on linux

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

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

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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.
Locked