svn diff includes/discovery/sensors/xups-mib.inc.php includes/definitions/mibs/eaton.inc.php 
Index: includes/discovery/sensors/xups-mib.inc.php
===================================================================
--- includes/discovery/sensors/xups-mib.inc.php	(revision 10586)
+++ includes/discovery/sensors/xups-mib.inc.php	(working copy)
@@ -358,7 +358,7 @@
   $descr    = "Battery over aged ($age)";
   $oid_name = 'xupsBatteryAged';
   $oid_num  = '.1.3.6.1.4.1.534.1.2.9.0';
-  $type     = 'xupsBatteryFailure';
+  $type     = 'xupsBatteryWarning';
   $value    = $entry[$oid_name];
 
   discover_status($device, $oid_num, $oid_name.'.'.$index, $type, $descr, $value, array('entPhysicalClass' => 'battery'));
@@ -377,7 +377,7 @@
 $descr    = 'Battery Not Present';
 $oid_name = 'xupsBatteryNotPresent';
 $oid_num  = '.1.3.6.1.4.1.534.1.2.8.0';
-$type     = 'xupsBatteryNotPresent';
+$type     = 'xupsBatteryWarning';
 $value    = $entry[$oid_name];
 
 discover_status($device, $oid_num, $oid_name.'.'.$index, $type, $descr, $value, array('entPhysicalClass' => 'battery'));
Index: includes/definitions/mibs/eaton.inc.php
===================================================================
--- includes/definitions/mibs/eaton.inc.php	(revision 10586)
+++ includes/definitions/mibs/eaton.inc.php	(working copy)
@@ -91,6 +91,10 @@
 $config['mibs'][$mib]['states'][$type][1] = array('name' => 'yes', 'event' => 'alert');
 $config['mibs'][$mib]['states'][$type][2] = array('name' => 'no',  'event' => 'ok');
 
+$type = 'xupsBatteryWarning';
+$config['mibs'][$mib]['states'][$type][1] = array('name' => 'yes', 'event' => 'warning');
+$config['mibs'][$mib]['states'][$type][2] = array('name' => 'no',  'event' => 'ok');
+
 $type = 'xupsBatteryNotPresent';
 $config['mibs'][$mib]['states'][$type][1] = array('name' => 'yes', 'event' => 'ignore');
 $config['mibs'][$mib]['states'][$type][2] = array('name' => 'no',  'event' => 'ok');
