Hi Dave,
I think HOST-RESOURCES-MIB::hrSWRunPerfCPU
would provide me "the number of centi-seconds of the total system CPU
resource that a running process is consuming"
but i want to monitor the current percentage of CPU a perticular process is
consuming. (e.g. 10% of CPU)
I have seen that HOST-RESOURCES-MIB::hrSWRunPerfCPU value is always
increamenting.
Thanks and Regards,
Sandeep Patra
On Fri, Aug 28, 2009 at 1:13 PM, Dave Shield <[email protected]>wrote:
> 2009/8/28 sandeep patra <[email protected]>:
> > I am using DISMAN-EVENT-MIB for monitoring system resources
> > and for generating traps when some threashold reaches.
> > I want the snmp master agent to generate Trap when a process
> > eats (say greater than 10%) of CPU. How can I do this?
>
> That sounds like the object HOST-RESOURCES-MIB::hrSWRunPerfCPU
>
> The first thing to check is whether your agent actually supports
> this object. Try walking the hrSWRunTable (and hrSWRunPerfTable),
> verify that this information is available, and identify the precise
> conditions
> that should trigger an alert.
>
>
> > what changes I need to do in my snmpd.conf file so that the master
> > agent generates threashold for this.
>
> See the section "ACTIVE MONITORING" in the snmpd.conf file.
> In particular, the directive "monitor".
>
> Dave
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders