I also modified one of the other plugins to do a user-space, check_ps.pl I think was it, so I added a -u <user> option that basically does a ps aux for all that user and then totals all the results. I can probably get a copy if you wanted it. Mainly because I don't use snmp for process checks is why I did it as a local check.
Dan -----Original Message----- From: Bruce Edge [mailto:bruce.e...@gmail.com] Sent: Thursday, December 16, 2010 4:36 PM To: Mike Lindsey Cc: Nagios Users List Subject: Re: [Nagios-users] CPU monitor for a single Linux user spaceprocess ? On Wed, Dec 15, 2010 at 9:20 PM, Mike Lindsey <mike-nag...@bettyscout.org> wrote: > On 12/15/10 5:05 PM, Bruce Edge wrote: >> >> Rookie question here. Trying to determine nagios suitability for an >> embedded app. >> >> Can I monitor the CPU utilization for a single user space process on a >> Linux box with nagios? >> And, can I define an action if it exceeds a threshold? > > Sounds like you need check_snmp_process.pl from here: > http://nagios.manubulon.com/snmp_process.html > > I've been using it, it works quite well. It requires snmpd, but is > basically the swiss army knife of user-space process monitoring. > > To "define an action" you need to set up an event handler. > http://nagios.sourceforge.net/docs/3_0/eventhandlers.html That's exactly what I need. Would have taken me years to find that. Thanks! -Bruce > > -- > Mike Lindsey > > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null