when i enter the command ./check_apc load 60 80 192.168.10.1 the result show; upsmon# ./check_apc load 60 80 192.168.10.1 [: : bad number [: : bad number UPS OK - LOAD: %
there is no value of the load, but if i entering command upsmon# apcaccess status 192.168.10.1 APC : [rec] DATE : Sat May 17 17:49:00 WIT 2008 HOSTNAME : 192.168.10.1 RELEASE : 3.14.0 VERSION : 3.14.0 (9 February 2007) freebsd UPSNAME : 2k2-apc CABLE : Custom Cable Smart MODEL : Smart-UPS 2200 UPSMODE : Stand Alone STARTTIME: Fri May 16 18:09:39 WIT 2008 STATUS : BOOST ONLINE LINEV : 211.6 Volts LOADPCT : 31.8 Percent Load Capacity BCHARGE : 100.0 Percent TIMELEFT : 48.0 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds MAXLINEV : 211.6 Volts MINLINEV : 210.2 Volts OUTPUTV : 241.9 Volts SENSE : High DWAKE : 000 Seconds DSHUTD : 180 Seconds DLOWBATT : 02 Minutes LOTRANS : 208.0 Volts HITRANS : 253.0 Volts RETPCT : 000.0 Percent ITEMP : 32.8 C Internal ALARMDEL : 5 seconds BATTV : 54.8 Volts LINEFREQ : 50.0 Hz LASTXFER : Automatic or explicit self test NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A SELFTEST : NO STESTI : 336 STATFLAG : 0x0700000C Status Flag REG1 : 0x00 Register 1 REG2 : 0x00 Register 2 REG3 : 0x00 Register 3 MANDATE : 06/02/05 SERIALNO : JS0523034063 BATTDATE : 06/02/05 NOMOUTV : 230 NOMBATTV : 48.0 EXTBATTS : 0 FIRMWARE : 654.12.I APCMODEL : FWI END APC : Sat May 17 17:49:50 WIT 2008 and nagios got error message,... can anyone help me, please,... ===================================== ^_* Just A Man Behind The Scene *_^ ===================================== ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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