]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
dashUpdater - refactoring and startup options added
authorPaul Cuzner <pcuzner@redhat.com>
Sun, 18 Jun 2017 22:08:23 +0000 (10:08 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Sun, 18 Jun 2017 22:08:23 +0000 (10:08 +1200)
commite20526d83ebc0475baa8a10a5dfbc207ef22aec2
treeece92616b3b390acc72188d4d2a8d686bfdeb39d
dashUpdater - refactoring and startup options added

Multiple changes
- refactored code
- added argparse to provide runtime options
- adding logging module to provide more debug information
- added checks to confirm grafana port is available before attempting to fetch dashboards
- issue a return code back to the calling shell
86 files changed:
.gitignore [new file with mode: 0644]
INSTALL.md [new file with mode: 0644]
LICENSE [new file with mode: 0644]
README [new file with mode: 0644]
README.md [new file with mode: 0644]
TODO [new file with mode: 0644]
ansible/README.md [new file with mode: 0644]
ansible/ansible.cfg [new file with mode: 0644]
ansible/inventory.sample [new file with mode: 0644]
ansible/playbook.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/defaults/main.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/files/cephmetrics.py [new symlink]
ansible/roles/ceph-collectd/files/collectors [new symlink]
ansible/roles/ceph-collectd/files/etc [new symlink]
ansible/roles/ceph-collectd/handlers/main.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/tasks/install_collectd_plugins.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/tasks/install_packages.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/tasks/main.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/tasks/selinux.yml [new file with mode: 0644]
ansible/roles/ceph-collectd/tasks/start_collectd.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/defaults/main.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/files/dashUpdater.py [new symlink]
ansible/roles/ceph-grafana/files/dashboards [new symlink]
ansible/roles/ceph-grafana/handlers/main.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/configure_carbon.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/configure_firewall.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/configure_grafana.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/configure_graphite.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/install_packages.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/main.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/tasks/start_services.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/templates/dashboard.yml [new file with mode: 0644]
ansible/roles/ceph-grafana/templates/grafana.repo [new file with mode: 0644]
cephmetrics.py [new file with mode: 0644]
collectors/__init__.py [new file with mode: 0644]
collectors/base.py [new file with mode: 0644]
collectors/common.py [new file with mode: 0644]
collectors/mon.py [new file with mode: 0644]
collectors/osd.py [new file with mode: 0644]
collectors/rgw.py [new file with mode: 0644]
dashUpdater.py [new file with mode: 0644]
dashboard.yml [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-19.json [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-24.json [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-25.json [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-26.json [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-29.json [new file with mode: 0644]
dashboards/archive/Ceph_dashboard-2017-05-31.json [new file with mode: 0644]
dashboards/archive/Disk Busy by Server-2017-05-31.json [new file with mode: 0644]
dashboards/archive/IOPS by Server-2017-05-31.json [new file with mode: 0644]
dashboards/archive/Latency by Server-2017-05-31.json [new file with mode: 0644]
dashboards/current/Dashboard Relationships.jpg [new file with mode: 0644]
dashboards/current/ceph-at-a-glance.json [new file with mode: 0644]
dashboards/current/ceph-backend-storage.json [new file with mode: 0644]
dashboards/current/ceph-frontend.json [new file with mode: 0644]
dashboards/current/ceph-rados.json [new file with mode: 0644]
dashboards/current/ceph-rgw-workload.json [new file with mode: 0644]
dashboards/current/disk-busy-by-server.json [new file with mode: 0644]
dashboards/current/iops-by-server.json [new file with mode: 0644]
dashboards/current/latency-by-server.json [new file with mode: 0644]
dashboards/current/network-usage-by-node.json [new file with mode: 0644]
dashboards/current/osd-node-detail.json [new file with mode: 0644]
docker/docker-compose.yml [new file with mode: 0644]
etc/collectd.conf [new file with mode: 0644]
etc/collectd.d/cephmetrics.conf [new file with mode: 0644]
etc/collectd.d/cpu.conf [new file with mode: 0644]
etc/collectd.d/memory.conf [new file with mode: 0644]
etc/collectd.d/nics.conf [new file with mode: 0644]
etc/collectd.d/write_graphite.conf [new file with mode: 0644]
etc/grafana/grafana.ini [new file with mode: 0644]
screenshots/archive/dashboard-2017-05-19.png [new file with mode: 0644]
screenshots/archive/dashboard-2017-05-24.png [new file with mode: 0644]
screenshots/archive/dashboard-2017-05-26.png [new file with mode: 0644]
screenshots/archive/dashboard-2017-05-29.png [new file with mode: 0644]
screenshots/at-a-glance.png [new file with mode: 0644]
screenshots/ceph-backend.png [new file with mode: 0644]
screenshots/ceph-frontend.png [new file with mode: 0644]
screenshots/ceph-rados.png [new file with mode: 0644]
screenshots/ceph-rgw.png [new file with mode: 0644]
screenshots/disk-busy-by-server.png [new file with mode: 0644]
screenshots/disk-latency-by-server.png [new file with mode: 0644]
screenshots/iops-by-server.png [new file with mode: 0644]
screenshots/network-load.png [new file with mode: 0644]
screenshots/osd-node-details.png [new file with mode: 0644]
setup/add_datasource.json [new file with mode: 0644]
tests/testosd.py [new file with mode: 0644]