====================================== MRTG-OWL ====================================== by Michele Di Maria What it is: MRTG-OWL is a small program that allows you to use the data coming from the TheOwl Energy Monitor in MRTG. The program has been tested on the "OWL +USB" Energy Monitor, you can find all the information on the "The OWL" website at: http://www.theowl.com/ (detailed information about the product at http://www.theowl.com/products/owlusb.php). The program reads the data from the "The OWL" database, extracts the energy measurements of the last 5 minutes, calculates the average and returns the data. The result include: The electrical power average of the last 5 minutes, the path to the database and the number of measurements used to calculate the average. Usage: MRTG-Owl.exe [path]\be.db [path]: Path to the "The OWL" database. Can be a local or remote drive (\\server\share\path). Requirements: - Microsoft Windows + Microsoft.NET Framework 2.0; - The OWL+USB Energy Monitor; - The Energy Monitor must be configured and attached to a PC via USB; - On the PC the software "OWL USB Software" (http://www.theowl.com/downloads.html) must be installed and the service "The Owl" running; - Read rights on the be.db file. Example config: Title[PowerConsumption]: Measured Power Consumption Pagetop[PowerConsumption]:

Measured Power Consumption

MaxBytes[PowerConsumption]: 22000 Options[PowerConsumption]: gauge, nopercent, growright Target[PowerConsumption]: `c:\mrtg\contrib\the-owl\MRTG-Owl.exe \\RemotePC\c$\Documents and Settings\All Users\Application Data\2SE\be.db` YLegend[PowerConsumption]: Legend ShortLegend[PowerConsumption]:W LegendI[PowerConsumption]:Watt LegendO[PowerConsumption]:Watt Legend1[PowerConsumption]:Watt Legend2[PowerConsumption]:Watt License and disclaimers: (C) 2013 Michele Di Maria Version 1.0 - 8/26/2013 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY Michele Di Maria (michele@nt2.it) ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Michele Di Maria BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Enjoy. Michele Di Maria michele@nt2.it PS: All company and/or product names may be trade names, trademarks and/or registered trademarks of the respective owners with which they are associated.