Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuparra/em-metrics
This is a repository to extract different metrics from the OpenManage Enterprise service running in a Dell cluster
https://github.com/manuparra/em-metrics
api data-mining dell-poweredge-server power-consumption-measurement python
Last synced: 7 days ago
JSON representation
This is a repository to extract different metrics from the OpenManage Enterprise service running in a Dell cluster
- Host: GitHub
- URL: https://github.com/manuparra/em-metrics
- Owner: manuparra
- License: mit
- Created: 2021-10-04T14:40:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-02T20:55:06.000Z (12 days ago)
- Last Synced: 2024-11-02T21:26:30.994Z (12 days ago)
- Topics: api, data-mining, dell-poweredge-server, power-consumption-measurement, python
- Language: Python
- Homepage:
- Size: 24.6 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OME metrics
This is a repository to extract different metrics from the OpenManage Enterprise service running in a Dell cluster.## How to start
Clone this repository
````
git clone ....cd ome-metrics
````Install libraries
````
pip3 install requirements.txt
````## Run metrics extraction
````
bash compose.sh
````Example:
````
# It will extract latest metrics (last 30 minutes)
bash compose.sh 10.0.10.1 admin adminpwd 10923 1
````Parameters:
- DURATION:
- ``0``: "Recent",
- ``1``: "One_hour",
- ``2``: "Six_hours",
- ``3``: "Twelve_hours",
- ``4``: "One_day",
- ``5``: "Seven_Days",
- ``6``: "One_Month",
- ``7``: "Three_Months",
- ``8``: "Six_Months",
- ``9``: "One_Year"## Output results
Within the output directory all metric results for:
- Energy consumption
- TemperatureThey are stored as: ``power_metrics.csv`` and ``temperature_metrics.csv`` respectively.
### Power consumption Metrics
It has 4 fields: ``date``, ``maximum``, ``average`` and ``minimum`` power consumption in Watts/houe (W/h).
````
2021-10-05 11:15,5263.0,4126.0,3973.0
2021-10-05 11:30,5299.0,4124.0,3977.0
2021-10-05 11:45,5288.0,4129.0,3973.0
````### Temperature Metrics
It has 3 fields: ``date``, ``maximum`` and ``average`` temperature in Celsius (Cº)
````
2021-10-05 11:15,28.0,24.526315789473685
2021-10-05 11:30,28.0,24.57894736842105
2021-10-05 11:45,28.0,24.894736842105264
2021-10-05 12:00,28.0,24.894736842105264
````## Workflow
0. Use a CRON job to run ``compose.sh``
1. App capture data: power and temperature
2. Data are append to ``output/*.csv``
3. Folder ``output/*.csv`` is commited to this repository to store data