wiki:v1

Version 7 (modified by naitabde, 15 years ago) ( diff )

--

Requirements

  • python 2.4 or later
  • rrdTool
  • MySQL
  • other python modules:

a) matplotlib

b) pyrrdTool

c) numpy

d) pysnmp

e) pysqlite

Modules

Currently, existing modules are:

  • storeCons.py : this scrip has as a function to get the values of power consumption of the data center's machines in real-time and to store them in the database
  • getLoadFromRRD.py : this is the python script for moving average load values from rrd databases to the application database
  • updateDb.py : update the database with the two configuration files: f_config_machines.cfg and f_config_pdus.cfg :

performs adding new pdu or a new machine to the database, and modifying their characteristics.

Nb: The table PDU must be modified before the machines because of foreign keys raisons

  • viewCons.py The vizualisation script, that generates different plots via python plotting library MatplotLib

Classes

Note: See TracWiki for help on using the wiki.