CPU monitor for a single Linux user space process ?
Mike Lindsey
mike-nagios at 5dninja.net
Thu Dec 16 06:42:51 CET 2010
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
--
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 at 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
More information about the Users
mailing list