]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/log
cephmetrics.git
8 years agoceph-grafana: Initial Ubuntu support
Zack Cerza [Wed, 12 Jul 2017 17:35:25 +0000 (11:35 -0600)]
ceph-grafana: Initial Ubuntu support

This commit lets us grab upstream Grafana packages in devel_mode

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoceph-collectd: Support Ubuntu
Zack Cerza [Wed, 12 Jul 2017 16:14:50 +0000 (10:14 -0600)]
ceph-collectd: Support Ubuntu

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #64 from ceph/wip-fixes
Zack Cerza [Tue, 11 Jul 2017 23:48:48 +0000 (17:48 -0600)]
Merge pull request #64 from ceph/wip-fixes

dashUpdater now removes $domain references if domain is not provided

8 years agoscreenshot updated to show current state @ 2017-07-12 (used in wiki) 64/head
Paul Cuzner [Tue, 11 Jul 2017 23:32:34 +0000 (11:32 +1200)]
screenshot updated to show current state @ 2017-07-12 (used in wiki)

8 years agodashUpdater: remove $domain from dashboards, if domain is not configured
Paul Cuzner [Fri, 7 Jul 2017 04:01:50 +0000 (16:01 +1200)]
dashUpdater: remove $domain from dashboards, if domain is not configured

For environments that don't use dns, collectd will not provide a FQDN
on the metric name. In these circumstances, the dashboards are empty.

This fix looks for the domain setting, and if it's not supplied the
$domain reference in all queries is removed before the dashboard is loaded
into grafana.

8 years agoMerge pull request #58 from ceph/wip-paulc
Zack Cerza [Tue, 11 Jul 2017 22:42:20 +0000 (16:42 -0600)]
Merge pull request #58 from ceph/wip-paulc

Dashboard improvements and addition of OSD latencies

8 years agocommon/osd: fixes to support intelcas and nvme OSD/journals 58/head
Paul Cuzner [Tue, 11 Jul 2017 01:17:52 +0000 (13:17 +1200)]
common/osd: fixes to support intelcas and nvme OSD/journals

8 years agodashboard added to ansible template
Paul Cuzner [Fri, 7 Jul 2017 01:14:58 +0000 (13:14 +1200)]
dashboard added to ansible template

Add new ceph-osd-latency dashboard to template file

8 years agoosd: remove unused import (flatten_dict)
Paul Cuzner [Fri, 7 Jul 2017 00:16:32 +0000 (12:16 +1200)]
osd: remove unused import (flatten_dict)

8 years agoosd: add support for osd related stats, and support journal devices
Paul Cuzner [Thu, 6 Jul 2017 23:31:48 +0000 (11:31 +1200)]
osd: add support for osd related stats, and support journal devices

OSD daemons are now asked for perf data, so latencies within ceph can be
loaded to graphite. In addition the journal device is detected. If it's
not collocated on the osd device, additional disk metrics under a journal
subtree are created within graphite

8 years agocommon: changes to the Disk class
Paul Cuzner [Thu, 6 Jul 2017 23:29:06 +0000 (11:29 +1200)]
common: changes to the Disk class

Two main things;
1. Disk instances are now initialized here, instead of with the caller
devices simplying code in the osd class
2. get_real_dev function added to convert a device name of an OSD to the
name we'll use as a metric. this now provides initial support for nvme
and intelcas based osd

8 years agobase: _admin_socket function updated to allow easier reuse of the base class
Paul Cuzner [Thu, 6 Jul 2017 23:26:00 +0000 (11:26 +1200)]
base: _admin_socket function updated to allow easier reuse of the base class

8 years agomon: added debug messages to aid in diagnostics
Paul Cuzner [Thu, 6 Jul 2017 23:25:23 +0000 (11:25 +1200)]
mon: added debug messages to aid in diagnostics

8 years agoosd-node-detail: network chart updates for device names and visualisation
Paul Cuzner [Thu, 6 Jul 2017 23:23:07 +0000 (11:23 +1200)]
osd-node-detail: network chart updates for device names and visualisation

device names are whitelisted as en,eth,bond and the rates are now stacked
on the chart so you can see total throughput easier

8 years agodashboard.yml : new dashboard entry added
Paul Cuzner [Thu, 6 Jul 2017 23:21:46 +0000 (11:21 +1200)]
dashboard.yml : new dashboard entry added

The entry is needed to ensure it gets updated by the dashUpdater.py
script

8 years agodoc update : dashboard relationships diagram updated
Paul Cuzner [Thu, 6 Jul 2017 23:20:38 +0000 (11:20 +1200)]
doc update : dashboard relationships diagram updated

new dashboard added, so the diagram now reflects where it fits in the
flow

8 years agoMerge pull request #62 from ceph/wip-docs
Zack Cerza [Tue, 11 Jul 2017 18:45:43 +0000 (12:45 -0600)]
Merge pull request #62 from ceph/wip-docs

Install enhancements and docs improvements

8 years agoEnsure subscription-manager repos are enabled 62/head
Zack Cerza [Mon, 10 Jul 2017 20:27:59 +0000 (14:27 -0600)]
Ensure subscription-manager repos are enabled

We need these for dependencies of python-carbon and ceph-ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoInstall cephmetrics repo in production mode
Zack Cerza [Mon, 10 Jul 2017 19:54:34 +0000 (13:54 -0600)]
Install cephmetrics repo in production mode

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoPrint dashboard URL at playbook end
Zack Cerza [Fri, 7 Jul 2017 19:36:07 +0000 (13:36 -0600)]
Print dashboard URL at playbook end

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoRecommend running -playbook on ceph-ansible host
Zack Cerza [Fri, 7 Jul 2017 19:06:22 +0000 (13:06 -0600)]
Recommend running -playbook on ceph-ansible host

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoCorrect URL in spec file
Zack Cerza [Fri, 7 Jul 2017 18:33:53 +0000 (12:33 -0600)]
Correct URL in spec file

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoInstall repo before package
Zack Cerza [Fri, 7 Jul 2017 15:57:47 +0000 (09:57 -0600)]
Install repo before package

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #57 from ceph/wip-docs
pcuzner [Thu, 6 Jul 2017 23:10:33 +0000 (11:10 +1200)]
Merge pull request #57 from ceph/wip-docs

Mention enabling rhel-7-server-optional-rpms

8 years agoMention enabling rhel-7-server-optional-rpms 57/head
Zack Cerza [Thu, 6 Jul 2017 21:59:44 +0000 (15:59 -0600)]
Mention enabling rhel-7-server-optional-rpms

It's needed for pyserial, python-twisted-core and python-zope-interface,
which are dependencies of python-carbon

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #51 from ceph/wip-metrics-wusui
Zack Cerza [Fri, 30 Jun 2017 23:20:31 +0000 (17:20 -0600)]
Merge pull request #51 from ceph/wip-metrics-wusui

Non-developer installation instructions

8 years agoNon-developer installation instructions 51/head
Warren Usui [Thu, 29 Jun 2017 21:28:02 +0000 (17:28 -0400)]
Non-developer installation instructions

Signed-off-by: Warren Usui <wusui@magna002.ceph.redhat.com>
8 years agoMerge pull request #53 from ceph/wip-paulc
Zack Cerza [Fri, 30 Jun 2017 20:36:05 +0000 (14:36 -0600)]
Merge pull request #53 from ceph/wip-paulc

Dashboard fixes for at-a-glance and rados

8 years agoMerge pull request #54 from ceph/wip-branto
Zack Cerza [Fri, 30 Jun 2017 19:51:41 +0000 (13:51 -0600)]
Merge pull request #54 from ceph/wip-branto

rpm: Support light theme better

8 years agorpm: Support light theme better 54/head
Boris Ranto [Fri, 30 Jun 2017 08:10:00 +0000 (10:10 +0200)]
rpm: Support light theme better

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoat-a-glance: fix for calcs on growth and forecast 53/head
Paul Cuzner [Fri, 30 Jun 2017 05:49:18 +0000 (17:49 +1200)]
at-a-glance: fix for calcs on growth and forecast

8 years agoat-a-glance: multiple fixes to mon/osd/growth and forecast panels
Paul Cuzner [Fri, 30 Jun 2017 02:05:33 +0000 (14:05 +1200)]
at-a-glance: multiple fixes to mon/osd/growth and forecast panels

MON/OSD panel queries updated to address the interpolation
problem where floats were shown. OSD panel also now shows
total OSDs
Templating update for the disk_full_threshold (2->80)
Growth/Forecast panel queries updated to account for data coming
from multiple mon's
Health Panel updated to show as RED when the cluster is in an
ERROR state

8 years agoceph-rados : fixes to capacity and health history charts
Paul Cuzner [Fri, 30 Jun 2017 02:01:19 +0000 (14:01 +1200)]
ceph-rados : fixes to capacity and health history charts

- Capacity chart has been extended to cover 7 days
- health history fixed - was showing an entry for each mon!

8 years agoMerge pull request #48 from ceph/wip-paulc
Zack Cerza [Thu, 29 Jun 2017 21:50:12 +0000 (15:50 -0600)]
Merge pull request #48 from ceph/wip-paulc

dashboard updates

8 years agoMerge pull request #50 from ceph/wip-branto
Zack Cerza [Thu, 29 Jun 2017 20:54:08 +0000 (14:54 -0600)]
Merge pull request #50 from ceph/wip-branto

ansible: Fix a typo in purge.yml

8 years agoansible: Fix a typo in purge.yml 50/head
Boris Ranto [Thu, 29 Jun 2017 20:36:44 +0000 (22:36 +0200)]
ansible: Fix a typo in purge.yml

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #49 from ceph/wip-branto
Zack Cerza [Thu, 29 Jun 2017 16:38:11 +0000 (10:38 -0600)]
Merge pull request #49 from ceph/wip-branto

ansible: Implement purge playbook

8 years agoMerge pull request #47 from ceph/develop
Zack Cerza [Thu, 29 Jun 2017 16:26:38 +0000 (10:26 -0600)]
Merge pull request #47 from ceph/develop

Set WHISPER_AUTOFLUSH to True

8 years agoansible: Implement purge playbook 49/head
Boris Ranto [Thu, 29 Jun 2017 14:07:17 +0000 (16:07 +0200)]
ansible: Implement purge playbook

This should be a good basis for purge playbook, it should support devel
as well as production modes.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoscreenshot changed for wiki 48/head
Paul Cuzner [Thu, 29 Jun 2017 05:00:47 +0000 (17:00 +1200)]
screenshot changed for wiki

8 years agoat-a-glance: pg status pie chart changes
Paul Cuzner [Thu, 29 Jun 2017 04:50:30 +0000 (16:50 +1200)]
at-a-glance: pg status pie chart changes

a degraded state is now shown based on the diff of pg_active and
pg_active_clean. This intermediate metric has been added to the pie
chart so it shows; active+clean, degraded and peering.

8 years agodashUpdater : Set the default Org's theme to light
Paul Cuzner [Thu, 29 Jun 2017 03:26:01 +0000 (15:26 +1200)]
dashUpdater : Set the default Org's theme to light

Most ceph UI's use a light theme, so this change aligns to that
trend.

8 years agonetwork-usage: dashboard updated to track enX interface stats
Paul Cuzner [Thu, 29 Jun 2017 03:15:58 +0000 (15:15 +1200)]
network-usage: dashboard updated to track enX interface stats

graphite doesn't support blacklisting in queries, so interface names that
we're interested in have to be whitelisted. This fix now tracks enX, ethX and
bondX interface names.

8 years agoceph-rados: display fixes to a several charts
Paul Cuzner [Thu, 29 Jun 2017 03:12:54 +0000 (15:12 +1200)]
ceph-rados: display fixes to a several charts

health history was a mess with the light theme. The chart now uses threshold lines
(amber and red), and plots health against those lines. In addition small fixes to the capacity
chart (it was stacking values!), and the monitor status table

8 years agobackend-storage: cosmetic changes to heatmap and graphs
Paul Cuzner [Thu, 29 Jun 2017 03:09:01 +0000 (15:09 +1200)]
backend-storage: cosmetic changes to heatmap and graphs

Heatmap 'spectrum' was not showing well in the light theme - this
make it more readable. In addition 'info' has been added to explain the
heatmap and what it represents.

8 years agofrontend: layout of the pools is now by pool lining up iops/throughput charts across...
Paul Cuzner [Thu, 29 Jun 2017 03:06:15 +0000 (15:06 +1200)]
frontend: layout of the pools is now by pool lining up iops/throughput charts across rows

8 years agoat-a-glance : query and cosmetic changes
Paul Cuzner [Thu, 29 Jun 2017 03:04:17 +0000 (15:04 +1200)]
at-a-glance : query and cosmetic changes

Multiple changes as follows;
- dashboard links (top) hover over was mis-aligned. fixed
- forecast value if negative now shows N/A
- forecast and growth queries updated
- disks near full set to 0, if there aren't any issues (instead of no value)
- added descriptions on various panels

8 years agostatus-panel: Update the bkgnd color to support the light theme
Paul Cuzner [Thu, 29 Jun 2017 02:53:43 +0000 (14:53 +1200)]
status-panel: Update the bkgnd color to support the light theme

By default the panel just uses 'green', which with the light theme is too
dark, making the text on the panel difficult to read. This ansible step just
updates the color in the css to make the text more readable

8 years agoSet WHISPER_AUTOFLUSH to True 47/head
Zack Cerza [Wed, 28 Jun 2017 22:33:56 +0000 (16:33 -0600)]
Set WHISPER_AUTOFLUSH to True

Related to https://github.com/ceph/cephmetrics/issues/45

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #44 from ceph/wip-branto
Zack Cerza [Wed, 28 Jun 2017 15:32:40 +0000 (09:32 -0600)]
Merge pull request #44 from ceph/wip-branto

rpm: Make devel_mode: false default in the ansible rpms

8 years agorpm: Make devel_mode: false default in the ansible rpms 44/head
Boris Ranto [Wed, 28 Jun 2017 15:04:35 +0000 (17:04 +0200)]
rpm: Make devel_mode: false default in the ansible rpms

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #41 from ceph/wip-prod
Zack Cerza [Tue, 27 Jun 2017 20:54:30 +0000 (14:54 -0600)]
Merge pull request #41 from ceph/wip-prod

Add ansible-syntax job

8 years agoAdd ansible-syntax job 41/head
Zack Cerza [Tue, 27 Jun 2017 15:46:12 +0000 (09:46 -0600)]
Add ansible-syntax job

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #37 from ceph/wip-branto
Boris Ranto [Tue, 27 Jun 2017 11:56:42 +0000 (13:56 +0200)]
Merge pull request #37 from ceph/wip-branto

selinux: Additional policy changes

Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
8 years agoselinux: Additional policy changes 37/head
Boris Ranto [Mon, 26 Jun 2017 20:12:20 +0000 (22:12 +0200)]
selinux: Additional policy changes

This was required to access whoami files inside /var/lib/ceph/osd/
directory.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #34 from zmc/wip-selinux
Boris Ranto [Tue, 27 Jun 2017 09:08:37 +0000 (11:08 +0200)]
Merge pull request #34 from zmc/wip-selinux

ansible: Build and install SELinux module

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #26 from zmc/wip-docs
Zack Cerza [Tue, 27 Jun 2017 00:35:59 +0000 (18:35 -0600)]
Merge pull request #26 from zmc/wip-docs

ansible: Document variables

8 years agoselinux: Allow collectd to write in /var/log/ 34/head
Zack Cerza [Mon, 26 Jun 2017 21:26:35 +0000 (15:26 -0600)]
selinux: Allow collectd to write in /var/log/

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoansible: Build and install SELinux module
Zack Cerza [Mon, 26 Jun 2017 21:04:56 +0000 (15:04 -0600)]
ansible: Build and install SELinux module

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #24 from zmc/wip-firewalld
Zack Cerza [Tue, 27 Jun 2017 00:20:05 +0000 (18:20 -0600)]
Merge pull request #24 from zmc/wip-firewalld

ansible: Default to using firewalld's public zone

8 years agoMerge pull request #33 from zmc/wip-ansible-lint
Zack Cerza [Tue, 27 Jun 2017 00:19:51 +0000 (18:19 -0600)]
Merge pull request #33 from zmc/wip-ansible-lint

Add ansible-lint job

8 years agoRemove trailing whitespace 33/head
Zack Cerza [Mon, 26 Jun 2017 19:25:00 +0000 (13:25 -0600)]
Remove trailing whitespace

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoName unnamed tasks
Zack Cerza [Mon, 26 Jun 2017 19:19:21 +0000 (13:19 -0600)]
Name unnamed tasks

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd ansible-lint job
Zack Cerza [Mon, 26 Jun 2017 19:17:46 +0000 (13:17 -0600)]
Add ansible-lint job

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #25 from zmc/wip-ansible-forks
Zack Cerza [Mon, 26 Jun 2017 23:40:53 +0000 (17:40 -0600)]
Merge pull request #25 from zmc/wip-ansible-forks

ansible: Use up to 50 forks

8 years agoMerge pull request #31 from zmc/wip-grafana-plugins
Zack Cerza [Mon, 26 Jun 2017 23:40:41 +0000 (17:40 -0600)]
Merge pull request #31 from zmc/wip-grafana-plugins

ansible: Add grafana-piechart-panel plugin

8 years agoMerge pull request #35 from zmc/wip-dashboard-update
Zack Cerza [Mon, 26 Jun 2017 23:40:09 +0000 (17:40 -0600)]
Merge pull request #35 from zmc/wip-dashboard-update

ansible: Replace dashboards by default when updating

8 years agoReplace dashboards by default when updating 35/head
Zack Cerza [Mon, 26 Jun 2017 22:25:35 +0000 (16:25 -0600)]
Replace dashboards by default when updating

This behavior can be disabled by setting 'replace_dashboards' to False

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDocument variables 26/head
Zack Cerza [Fri, 23 Jun 2017 21:45:08 +0000 (15:45 -0600)]
Document variables

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoansible: Use up to 50 forks 25/head
Zack Cerza [Fri, 23 Jun 2017 21:55:45 +0000 (15:55 -0600)]
ansible: Use up to 50 forks

This speeds up deployment. Ansible will use this value or the number of
hosts - whichever is smaller.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDefault to using firewalld's public zone 24/head
Zack Cerza [Fri, 23 Jun 2017 21:55:45 +0000 (15:55 -0600)]
Default to using firewalld's public zone

This will be appropriate for most users.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoInstall grafana-piechart-panel 31/head
Zack Cerza [Mon, 26 Jun 2017 18:15:09 +0000 (12:15 -0600)]
Install grafana-piechart-panel

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoUse grafana-cli to manage plugins
Zack Cerza [Mon, 26 Jun 2017 18:11:01 +0000 (12:11 -0600)]
Use grafana-cli to manage plugins

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #32 from zmc/wip-tests
Zack Cerza [Mon, 26 Jun 2017 19:10:38 +0000 (13:10 -0600)]
Merge pull request #32 from zmc/wip-tests

Add tox.ini with flake8 job

8 years agoRemove unused import 32/head
Zack Cerza [Mon, 26 Jun 2017 18:35:00 +0000 (12:35 -0600)]
Remove unused import

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd tox.ini with flake8 job
Zack Cerza [Mon, 26 Jun 2017 18:32:48 +0000 (12:32 -0600)]
Add tox.ini with flake8 job

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #28 from ceph/wip-branto
Zack Cerza [Mon, 26 Jun 2017 18:22:27 +0000 (12:22 -0600)]
Merge pull request #28 from ceph/wip-branto

Couple of cephmetric fixes

8 years agorpm: Add SELinux support 28/head
Boris Ranto [Mon, 26 Jun 2017 16:24:53 +0000 (18:24 +0200)]
rpm: Add SELinux support

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agocollectors: Pass through keyword arguments
Boris Ranto [Mon, 26 Jun 2017 12:30:38 +0000 (14:30 +0200)]
collectors: Pass through keyword arguments

We need this to pass through the log_level keyword argument to the base
class. Otherwise, the collectd will fail because these classes get
unknown argument log_level.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agorpm: Support piechart plugin
Boris Ranto [Mon, 26 Jun 2017 12:25:57 +0000 (14:25 +0200)]
rpm: Support piechart plugin

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoansible: Write grafana config when grafana is down
Boris Ranto [Sun, 25 Jun 2017 08:13:51 +0000 (10:13 +0200)]
ansible: Write grafana config when grafana is down

We need to start and communcite with grafana after we push our own
config to the grafana. The old config can use different locations
e.g. for the DB and these won't get populated properly if we run
dashUpdater or post to the grafana API too early.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agobackend-storage dashboard : fixed the disks near full panel
Paul Cuzner [Mon, 26 Jun 2017 07:17:51 +0000 (19:17 +1200)]
backend-storage dashboard : fixed the disks near full panel

The panel was just a place holder - this change handles the query and formatting
to make the table useful

NB. It relies on the disk_full_threshold template variable

8 years agoMerge branch 'master' of github.com:ceph/cephmetrics
Paul Cuzner [Mon, 26 Jun 2017 05:40:59 +0000 (17:40 +1200)]
Merge branch 'master' of github.com:ceph/cephmetrics

8 years agomisc dashboards: minor updates, mainly for light theme support
Paul Cuzner [Mon, 26 Jun 2017 05:34:39 +0000 (17:34 +1200)]
misc dashboards: minor updates, mainly for light theme support

8 years agoat-a-glance: various enhancements
Paul Cuzner [Mon, 26 Jun 2017 05:33:45 +0000 (17:33 +1200)]
at-a-glance: various enhancements

Dashboard updates;
- initial light theme support - some colour changes on charts
- shuffled panel order so the rows basically cover - overview, client and OS
- added disks near full panel
- added growth and forecast panels
- added OSD level ram usage summary
 - PG's now shown using Grafana labs pie chart plugin
 - count of rbds now shown (on client row)
 - osd host count query changed
 - queries on Mons and OSDs changed to mitigate state flapping
 - 'buttons' changed to make them work with light/dark themes

8 years agoosd/rgw : write the elapsed time of get_stats to it's log file
Paul Cuzner [Mon, 26 Jun 2017 05:13:23 +0000 (17:13 +1200)]
osd/rgw : write the elapsed time of get_stats to it's log file

8 years agomon: updated for logging and additional metrics collected for rbd and osd hosts
Paul Cuzner [Mon, 26 Jun 2017 05:12:23 +0000 (17:12 +1200)]
mon: updated for logging and additional metrics collected for rbd and osd hosts

collector class now scans the cluster to determine the count of RBDs. Each monitor
will pick a discrete set of pools to scan, so the overall load is shared across monitors.

In addition, since the osd tree command is used to determine the up/down state of
the OSDs, the same output is used to determine the number of osd hosts in the
configuration. Prior to this change the determination was inferred through a
graphite query.

8 years agocephmetrics: Use a default value type for graphite, and assign default logging
Paul Cuzner [Mon, 26 Jun 2017 05:07:50 +0000 (17:07 +1200)]
cephmetrics: Use a default value type for graphite, and assign default logging

Before this change, if a variable was defined in a class but NOT defined in it's attributes
the collector would fail. With this change a default of gauge is assigned.

In addition, a default logging level is set for all the collectors, if not specified by LogLevel
in the collectd.conf plugin

8 years agobase/common: updated to include basic logging per module
Paul Cuzner [Mon, 26 Jun 2017 05:04:02 +0000 (17:04 +1200)]
base/common: updated to include basic logging per module

The base class now creates a logging object, allowing the collectors
to log lower level debug and info messages outside of the collectd log

8 years agoINSTALL: steps updated to reflect the additional plugin now used on at-a-glance
Paul Cuzner [Mon, 26 Jun 2017 05:02:21 +0000 (17:02 +1200)]
INSTALL: steps updated to reflect the additional plugin now used on at-a-glance

at-a-glance now uses a pie-chart (plugin from grafana labs) to show the pg status

8 years agoMerge pull request #14 from b-ranto/wip-packaging
Zack Cerza [Fri, 23 Jun 2017 16:21:46 +0000 (10:21 -0600)]
Merge pull request #14 from b-ranto/wip-packaging

Add a couple of packaging changes

8 years agoansible: Setup repos only in devel mode 14/head
Boris Ranto [Fri, 23 Jun 2017 07:09:57 +0000 (09:09 +0200)]
ansible: Setup repos only in devel mode

We should not touch the repos in the production mode.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agorpm: Add initial spec file
Boris Ranto [Tue, 20 Jun 2017 23:17:06 +0000 (01:17 +0200)]
rpm: Add initial spec file

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMove collectd module path to avoid conflicts
Boris Ranto [Tue, 20 Jun 2017 22:52:57 +0000 (00:52 +0200)]
Move collectd module path to avoid conflicts

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #22 from zmc/wip-prod
Boris Ranto [Fri, 23 Jun 2017 05:22:15 +0000 (07:22 +0200)]
Merge pull request #22 from zmc/wip-prod

Changes needed to support production deployment

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoceph-grafana: Add devel_mode switch 22/head
Zack Cerza [Thu, 22 Jun 2017 20:07:58 +0000 (14:07 -0600)]
ceph-grafana: Add devel_mode switch

This will be set to False for production deployments.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoadd home dashboard support
Paul Cuzner [Thu, 22 Jun 2017 21:16:08 +0000 (09:16 +1200)]
add home dashboard support

this change adds a _home_dashboard setting such that the grafana home dashboard
for the admin user can be changed to be the ceph-at-a-glance dashboard.

8 years agoceph-grafana: Configure firewalld earlier
Zack Cerza [Thu, 22 Jun 2017 20:18:14 +0000 (14:18 -0600)]
ceph-grafana: Configure firewalld earlier

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoceph-grafana: Split out repo setup
Zack Cerza [Thu, 22 Jun 2017 20:11:18 +0000 (14:11 -0600)]
ceph-grafana: Split out repo setup

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoceph-grafana: Split out plugin installation
Zack Cerza [Thu, 22 Jun 2017 20:06:07 +0000 (14:06 -0600)]
ceph-grafana: Split out plugin installation

Signed-off-by: Zack Cerza <zack@redhat.com>