On 25 October 2011 15:25, Hui Zhao <[email protected]> wrote:
> #this directive works properly as well
> #monitor –s –r 10 highprocessorload hrProcessorLoad > 5
> #but this directive does not
> monitor –s –r 10 highmemoryusage hrStorageUsed.1 < 1000000

This is monitoring a single instance, rather than a MIB object.
Try adding the option   -I   (capital i)


> Is there other way to monitor the memory usage besides the hrStorageUsed
> (A directive similar to “disk” is preferred)?

If you've got a suitable "disk" configuration (either an individual entry,
or "includeAllDisks"), which will set the dskErrorFlag object when the
disk gets too full, then you can monitor this object instead - either
on an individual basis, or via "defaultMonitors"



> In the directive “load 0.7 0.7 0.7”, what is the meaning of 0.7?

This directive would monitor the unix 1, 5 and 15 minute load averages,
and set the relevant error flag if the load goes over 0.7
   You could use the same value for all three, but it would be more usual
to have higher threshold values for the shorter time periods.

Something like
     "load 2.0   1.0   0.7"
              would trigger an alert if the one-minute load average was >2,
if the 5-minute load average was >1 or if the 15-minute load average was >0.7
That would allow short-term peaks of "medium" activity, while still detecting
longer-term heavy-ish use, or short-term major overload.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to