Why is check_openmanage so slow on PowerEdge R510?

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Thu Apr 14 16:40:03 CEST 2011


"C. Bensend" <benny at bennyvision.com> writes:

>    Is there anything in OMSA that tells how *long* a battery has
> been charging?  I simply got so tired of the charging warnings
> that I blacklisted the bat_charge totally, but I'd still like to
> detect that type of error - where the battery never finishes
> charging.
>
>    If OMSA has it, it would be great to have the option within
> check_openmanage to specify a length of time threshold for battery
> charging.  :)

Hi Benny,

Unfortunately OMSA has no info on when the charge cycle is expected to
be finished, or how long it has been in its current learn/charge state:

  # omreport storage battery controller=1
  Battery 0 on Controller PERC 6/E Adapter (Slot 1)
  
  Controller PERC 6/E Adapter (Slot 1)
  ID                        : 0
  Status                    : Non-Critical
  Name                      : Battery 0
  State                     : Charging
  Recharge Count            : Not Applicable
  Max Recharge Count        : Not Applicable
  Predicted Capacity Status : Ready
  Learn State               : Requested
  Next Learn Time           : 0 hours
  Maximum Learn Delay       : 7 days 0 hours
  Learn Mode                : Auto

I could make the plugin record it, but then I would violate my principle
that the plugin should be stateless... Introducing state in the plugin
complicates things.

There is another reason that you would want to know that the battery is
charging, and I suspect that this is also why Dell has OMSA report it as
a non-critical (warning) status. During (some of) the charge cycle,
write-back for vdisks (i.e. use of the cache) is disabled. This means
that the RAID performance is degraded, and depending on the nature of
your disk usage you'll want to know about this when it happens. OMSA
also lets you delay the charge cycle for up to seven days.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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