"ps aux | grep ..." - one of the most frequently used command by me! I must add "--forest" flag, which displays also the hierarchical connection between processes. I wish I could contribute, but I don't know Nagios, I just heard a lot about it here.
What programming abilities are needed for such plugin? Shell scripting? Csaba On Wed, Jul 23, 2014 at 10:29 AM, Howard White <[email protected]> wrote: > Is there anyone on the list who have written Nagios nrpe plugins? I have > a situation with our application where some processes get hung. I use a > compound ps aux | grep something | grep " ? " to find those processes. > > I'd like to have a plugin that would run that ps aux and count the number > of lines returned. We could even go so far as to set warning (-w) and > critical (-c) thresholds. Truly, if there are any, I want a critical > warning on my Nagios monitor screen so that I may log into the server and > kill off the hung processes. > > Thoughts?? > > Howard > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to nlug-talk+unsubscribe@ > googlegroups.com > For more options, visit this group at http://groups.google.com/ > group/nlug-talk?hl=en > > --- You received this message because you are subscribed to the Google > Groups "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
