John Spray
712ad57d09
mgr: evaluate can_run
method on modules
...
...and transmit the result to the monitor in
our beacon.
Fixes: http://tracker.ceph.com/issues/21502
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
Kefu Chai
98a38f408a
Merge pull request #19879 from jcsp/wip-doc-dashboard-standby
...
doc: update mgr/dashboard doc about standbys
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-11 14:27:19 +08:00
Kefu Chai
1128ac4651
Merge pull request #19374 from symptog/master
...
mgr/influx: Add InfluxDB SSL Option
Reviewed-by: Wido den Hollander <wido@42on.com>
2018-01-10 23:22:41 +08:00
John Spray
fa14812cbb
doc: update mgr/dashboard doc about standbys
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-09 22:23:33 +00:00
Wido den Hollander
2281bfd54d
mgr/zabbix: Use fsid as identifier with Zabbix if none is set
...
Users can still override this parameter, but by default the fsid
of the cluster will be used to send data to Zabbix.
This makes it even easier to use the Zabbix module.
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-12-19 13:53:48 +01:00
Tobias Gall
f5efaa2f52
Add InfluxDB SSL Option
...
Add possibility to connect to InfluxDB via https.
Also adding the option for verifying the https cert.
Signed-off-by: Tobias Gall <tobias.gall@mailbox.org>
2017-12-19 13:36:39 +01:00
John Spray
cbe25074ba
doc: update mgr module guide for have_mon_connection
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-09 16:00:14 +00:00
Kefu Chai
56f05413e4
Merge pull request #18526 from tchaikov/wip-17454
...
mgr: In plugins 'module' classes need not to be called "Module" anymore.
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-03 20:10:37 +08:00
Kefu Chai
220e038dc5
doc/mgr: document mgr/plugin using automethod
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-02 14:34:13 +08:00
bhavishyagopesh
345c14438e
mgr: In plugins 'module' classes need not to be called "Module" anymore.
...
Fixes: http://tracker.ceph.com/issues/17454
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: bhavishyagopesh <bhavishyagopesh@gmail.com>
2017-11-02 12:24:12 +08:00
John Spray
d220e1adc3
doc: describe using mgr module ...
commands
...
...including the new "mgr services" command.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-01 08:21:43 -04:00
John Spray
ceb2a91190
doc: describe how to implement standby modules
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-01 08:21:43 -04:00
Kefu Chai
6c6db0271f
Merge pull request #18356 from wido/docs-zabbix-mgr
...
doc: Updated documentation for Zabbix Mgr module
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-23 23:35:51 +08:00
John Spray
bd8814bf58
Merge pull request #18021 from jcsp/wip-prometheus-disk-occupation
...
mgr/prometheus: add ceph_disk_occupation series
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2017-10-20 12:28:12 +01:00
Wido den Hollander
e7e9c6de52
doc: Updated documentation for Zabbix Mgr module
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-10-17 15:53:47 +02:00
John Spray
fd7bcb2160
Merge pull request #18102 from MI-OSiRIS/mgr_influx_dbcheck
...
Modify mgr-influx module database check to not require admin privileges
Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-11 17:33:47 +01:00
John Spray
5227afed5f
doc: flesh out prometheus docs
...
Explain ceph_disk_occupation, importance
of instance labels and honor_labels, provide
example prometheus configuration yaml.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-10-11 17:00:01 +01:00
Benjeman Meekhof
06d7d37c7b
mgr/influx: modify module database check to not require admin privileges
...
- existing check tried to list all DB and fails even if DB exists if user is not admin level
- still tries to create database if not found and user has privs
Signed-off-by: Benjeman Meekhof <bmeekhof@umich.edu>
2017-10-04 10:03:56 -04:00
Sage Weil
af72a8932c
mgr/localpool: optionally adjust min_size too
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 17:13:12 -05:00
John Spray
6776d4645a
mgr/influx: remove file-based config
...
...and also trim down the configuration to what's really
needed. In general users don't need to pick and choose
metrics. We could add it back if there was a strong
motivation.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-27 14:20:21 -04:00
mhdo2
e345fe3c57
doc/mgr: add influx plugin docs
...
Signed-off-by: My Do <mhdo@umich.edu>
2017-09-27 14:17:59 -04:00
mhdo2
68ae26c014
mgr/influx: added influx plugin
...
Signed-off-by: My Do <mhdo@umich.edu>
2017-09-27 14:17:59 -04:00
Kefu Chai
0b831e7886
doc/mgr: add "local pool" plugin to toc
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-26 12:10:28 +08:00
Sage Weil
1a0f42b70a
pybind/mgr/localpool: module to automagically create localized pools
...
By default, this will create a pool per rack, 3x replication, with a host
failure domain. Those parameters can be customized via mgr config-key
options.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-11 11:57:35 -05:00
Sage Weil
66838565bd
Merge pull request #17119 from nrdmn/wip-dashboard-httproot
...
pybind/mgr/dashboard: add url_prefix
Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-29 17:07:41 -05:00
Nick Erdmann
6d285fff0d
pybind/mgr/dashboard: add url_prefix
...
This adds a configuration variable url_prefix to the dashboard that
that is prepended to all URLs so you can access the dashboard at
http://$IP:$PORT/$PREFIX/ . This is necessary if you wish to use a
reverse http proxy that forwards to the dashboard under a sub-path.
Fixes: http://tracker.ceph.com/issues/20568
Signed-off-by: Nick Erdmann <n@nirf.de>
2017-08-22 16:14:42 +00:00
Alfredo Deza
309c73e8b0
doc/mgr add a label for the administrator guide
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Jan Fajerski
020d4ccb59
doc/mgr/plugins: mgr accessor during init causes exception
...
Currently calling a mgr accessor during a plugins __init__ method causes
a cyclic locking exception.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2017-08-10 19:01:34 +02:00
Wido den Hollander
ef5ff0e4b9
doc: Update mgr doc on how to enable Zabbix module
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-08-07 10:03:10 +02:00
Sage Weil
4eb1a518e3
mon: 'config-key put' -> 'config-key set'
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-26 14:10:08 -04:00
Sage Weil
410ab9a25d
Merge pull request #16406 from dmick/wip-mgr-counters
...
mgr: perf schema fns/change notification and Prometheus plugin
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-21 10:28:53 -05:00
Dan Mick
47726f8b66
doc/mgr: add Prometheus plugin docs
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-07-20 20:25:08 -07:00
Dan Mick
3b1a8a78ac
mgr/index.rst: clarify which toplevel items are plugins
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-07-20 20:09:39 -07:00
Dan Mick
c40c254cc6
doc/mgr/zabbix.rst: fix subheadings, add subsubheadings
...
(otherwise subheadings appear as top-level items in the TOC, because
they're marked just like the title)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-07-20 20:09:05 -07:00
John Spray
b28c300258
qa/doc: update for "mgr tell" no longer needed
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-19 08:58:40 -04:00
Sage Weil
02a55d3b7f
doc/mgr/restful: update
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-11 14:37:43 -04:00
John Spray
5c63bb6b48
Merge pull request #16241 from liewegas/wip-dashboard-default
...
doc/mgr/dashboard: update dashboard docs to reflect new defaults
Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-11 10:13:45 +01:00
Greg Farnum
a4b1395419
doc: fix link for ceph-mgr cephx authorization
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-07-10 10:56:53 -07:00
Sage Weil
fa8514e22d
doc/mgr/dashboard: update dashboard docs to reflect new defaults
...
Also add not about load balancer.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-10 09:48:50 -04:00
Sage Weil
5d71220838
Merge pull request #16198 from tchaikov/wip-doc-fixes
...
doc: kill sphinx warnings
2017-07-07 21:39:19 -05:00
Kefu Chai
254e07441c
doc: kill sphinx warnings
...
* doc/release-notes.rst: escape asterisks not used for inline emphasis
fix bad hyper links
* doc/rados/troubleshooting/troubleshooting-osd.rst: escape asterisks
not used for inline emphasis
* doc/radosgw/index.rst: add orphan docs to toc
* doc/dev/perf_histograms.rst: indent block quote
* doc/install/manual-freebsd-deployment.rst: fix block quotes
* doc/mgr/administrator.rst: escape asterisks not used for inline emphasis
* doc/start/quick-rbd.rst: add missing hyper link target
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-07 11:50:33 +08:00
Sage Weil
3a85938487
Merge pull request #16019 from wido/mgr-plugin-zabbix
...
mgr: Zabbix monitoring module
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-06 21:38:01 -05:00
Wido den Hollander
bcf3a7edcb
mgr: Zabbix monitoring module
...
This ceph-mgr module will pull various values from the Ceph cluster
and send them to a Zabbix Server using zabbix_sender.
This requires the zabbix_sender executable to be present on the system
running ceph-mgr as it will be invoked to send data to Zabbix.
A Zabbix template can be found in this directory which can be used
to easily get data from your Ceph cluster into Zabbix.
More information is available in the README file found in the module's
directory.
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-07-05 11:06:19 +02:00
Sage Weil
289f5ed093
doc: update docs for enabling mgr modules
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-29 23:10:51 -04:00
Wido den Hollander
0f15e4e76b
doc: Mgr Dashboard docs update
...
More instructions on how to deploy the dashboard using ceph-mgr
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-06-27 15:42:41 +02:00
Sage Weil
368ff5e4aa
Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
...
mgr: print a more helpful error message for when users lack mgr ceph caps
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-19 22:34:35 -05:00
Greg Farnum
6846f4830c
mgr: print a more helpful error message for when users lack mgr cephx caps
...
Add some brief documentation on updating their caps and link to it.
Fixes: http://tracker.ceph.com/issues/20296
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-16 18:41:10 -07:00
Kefu Chai
774a856ec2
doc: document the setup of restful and dashboard plugins
...
Fixes: http://tracker.ceph.com/issues/20239
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-15 19:13:30 +08:00
John Spray
1cfeff3661
doc/mgr: update for mgr_beacon_period change
...
This setting got renamed.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-14 10:04:22 -04:00
John Spray
fc990666d5
doc/mgr: flesh out introductory text
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-14 09:54:27 -04:00