Dec
24
2010
SNM (System Network Monitor) UPS Module
Author: lucianTwo days ago I’ve just bought myself a new UPS, which comes with a nice little handy app that displays useful technical data. The UPS is an Alberex Vesta Pro 1500, and the monitoring software is named Emily2 (alternative download v2.01, v2.031).
The good thing about it is that it stores all data in its log, a MS Access database file named Data.mdb. So I thought it’s a nice ideea to include all this data as graphs in my already-running System Network Monitor page.
So I write this nice little module that reads data from the log and includes it in SNM.
The only pre-requisite is that you’ll have to install mdbtools on your Linux (for the module to be able to export the necessary table out of the database to a text file)
To use, include it in your graphs.xml as a
cntUps::sensor( 'sensor_id', 'mdb log file' [,'table name'] );
where sensor_id can be one of
involt, outvolt, load, freq, bat, temp
and “mdb log file” is the full path of the Data.mdb file (this file can also be accessed through network shares)
‘table name’ is optional, and is needed only if you renamed the default Machine0 field in Emily2′s configuration to something else.
The perl file can be viewed/downloaded here.
Now my SNM displays two more nice graphs





