You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Emmanuel Garette 9cf592d300 first version 9 months ago
LICENSE Initial commit 9 months ago
README.md first version 9 months ago
conso first version 9 months ago
conso.rb first version 9 months ago

README.md

Script permettant de faire des rapports OpenNebula

Exemple :

========================================
Total long time storage: 427.54 GB
Total running storage: 267.99 GB

- iso-eole-2.6.0-amd64 (0/eoleone): 1.06 GB
- DD-VIDE-10G (1/eoleone): 192.50 KB
- DD-VIDE-20G (2/eoleone): 192.50 KB
- DD-VIDE-50G (3/eoleone): 193.00 KB
- eolebase-2.6.0-amd64-fresh (4/eoleone): 2.16 GB
  + test: 5.98 GB
    ▸ VM1 (ACTIVE/124): 5.98 GB
- ISO-Debian-Netinst-8.7.1 (7/test2): 248.00 MB

[..]

Total size of OpenNebula
Total stored storage: 427.54 GB
Total running storage: 267.99 GB

----------------------------------------
----------------------------------------

Size of Running VMs per user

========================================
test1: 4 VMs / 22.17 GB / 1.61 GB RAM / 0.30000000000000004 CPU / 6 VCPU
  ▸ Demo-111 (ACTIVE/124): 5.98 GB / 0.04 CPU / 1 VCPU
  ▸ Demo-144 (UNDEPLOYED/144): 5.77 GB / 0.02 CPU / 2 VCPU
  ▸ Demo-155 (UNDEPLOYED/151): 6.69 GB / 0.04 CPU / 1 VCPU
  ▸ Demo-169 (ACTIVE/309): 3.74 GB / 0.2 CPU / 2 VCPU

========================================
test2: 1 VM / 9.83 GB / 1.07 GB RAM / 0.3 CPU / 3 VCPU
  ▸ VM-test (ACTIVE/282): 9.83 GB / 0.3 CPU / 3 VCPU

[..]

Copier le fichier conso.rb dans un répertoire. Pour l’installation, copier conso dans /etc/cron.weekly/ après avoir remplacer {path_to} et {mail}.