Skip to content

jecarey/os-stats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

os_stats

A small set of scripts for gathering and manipulating some metrics/stats from your OpenStack database.

usage

Currently, I run this through a short Ansible playbook to dump information directly from the OpenStack Nova database.

Ansible Playbook:

---
- name: gather stats
  hosts: mysql_host
  gather_facts: no
  tasks:
    - name: run stat gather
      script: ../os-stats/gather_stats.py --user nova -D nova --host localhost -p YOURDBPASSWORD -O /tmp/os_stats.json
    - name: fetch results
      fetch:
        src: /tmp/os_stats.json
        dest: os_stats.json
        flat: yes

This drops a file in your working directory named 'os_stats.json' that has whatever metrics/tables you want to gather.

About

Simple tooling for inspecting and gathering stats from your OpenStack cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%