Personal tools
You are here: Home Projects Nagios Plugins check_mm_apc

check_mm_apc

by Herbert Straub last modified 2009-06-17 19:25

This plugin check a APC UPC device and provide also performance data for charge, load, linev, battv, timeleft, linef.

Summary

  • Read data from APC UPC with apcupsd
  • Provide status information for Nagios
  • Provide performance data für NagPerfDiag graphs.

Performance Graph NagPerfDiag

Download NagPerfDiag Template check_mm_apc.php. Datatype Information:

  • All datasources: Gauge
/opensource-projects/misc/check-mm-apc.png

Test

Call

check_mm_apc 70 80 30 20

Result

OK load: 25.0, charge: 100.0, timeleft: 26.0|charge=100.0%; load=25.0%;
linev=228.0; battv=13.5; timeleft=26.0; linef=50.0

Help Output

check_mm_apc loadwarn loadcrit chargewarn chargecrit

License

Copyright (C) 2007 Herbert Straub

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Authors:Herbert Straub
Version:1.0 2007-xx-xx
Document Actions