I added this file in my local LibreNMS installation to get current values from my Eaton 5PX UPS. Another file is also needed : librenms/includes/discovery/os/eatonups.inc.php