2009/8/28 sandeep patra <[email protected]>:
> So if within a time duration of 1 minute this couter gets incremented by x
> then the CPU utilization percentage would be equals to = (x / (60 * 100))

Probably, yes.
Though I suggest you do some testing to verify this.
(Particularly if you've got a multi-CPU system).


> also i need to take care of roundoff conditions

No - the delta-processing should take care of that for your.



> in the snmpd.conf file we use the "monitor" keyword to monitor OIDs using
> DISMAN and -D option to specify the delta values

Correct.

> Now as the difference is always relative to the couters previous value, So
> is there any way to specify it, such that DISMAN would generate
> notifications for the same?

If you specify the -D flag, then the expression will be evaluated based
on the delta between successive values, rather than the values themselves.
So yes, notifications will be based on these delta values.



I'd probably suggest that you start by experimenting with simpler
monitor directives.   Such as using the UCD 'prTable' to monitor
whether particular processes are running or not, and then "monitor"
to detect a problem and send an alert.
    Once you've got that working, it would be relatively simple to
amend this to look at delta thresholds instead.   But it's probably
easier to debug a monitor directive that's looking at a fixed value,
rather than jump straight into monitoring deltas.

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

Reply via email to