From: Patrick Seidensal Date: Tue, 5 May 2020 12:16:36 +0000 (+0200) Subject: mgr/dashboard: document Prometheus' security model X-Git-Tag: v14.2.12~90^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F36920%2Fhead;p=ceph.git mgr/dashboard: document Prometheus' security model Fixes: https://tracker.ceph.com/issues/45377 Signed-off-by: Patrick Seidensal (cherry picked from commit 34765e9215f8a0f1476b09993a0703c38a691e4b) --- diff --git a/doc/mgr/dashboard.rst b/doc/mgr/dashboard.rst index b6bcb91a29536..206a04787455d 100644 --- a/doc/mgr/dashboard.rst +++ b/doc/mgr/dashboard.rst @@ -62,10 +62,9 @@ aspects of your Ceph cluster: * **Overall cluster health**: Display overall cluster status, performance and capacity metrics. * **Embedded Grafana Dashboards**: Ceph Dashboard is capable of embedding - `Grafana `_ dashboards in many locations, to display - additional information and performance metrics gathered by the - :ref:`mgr-prometheus`. See :ref:`dashboard-grafana` for details on how to - configure this functionality. + `Grafana`_ dashboards in many locations, to display additional information + and performance metrics gathered by the :ref:`mgr-prometheus`. See + :ref:`dashboard-grafana` for details on how to configure this functionality. * **Cluster logs**: Display the latest updates to the cluster's event and audit log files. Log entries can be filtered by priority, date or keyword. * **Hosts**: Display a list of all hosts associated to the cluster, which @@ -355,6 +354,31 @@ The available iSCSI gateways must be defined using the following commands:: Enabling the Embedding of Grafana Dashboards ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +`Grafana`_ requires data from `Prometheus `_. Although +Grafana can use other data sources, the Grafana dashboards we provide contain +queries that are specific to Prometheus. Our Grafana dashboards therefore +require Prometheus as the data source. The Ceph :ref:`mgr-prometheus` also only +exports its data in the Prometheus' common format. The Grafana dashboards rely +on metric names from the Prometheus module and `Node exporter +`_. The Node exporter is a +separate application that provides machine metrics. + +.. note:: + + Prometheus' security model presumes that untrusted users have access to the + Prometheus HTTP endpoint and logs. Untrusted users have access to all the + (meta)data Prometheus collects that is contained in the database, plus a + variety of operational and debugging information. + + However, Prometheus' HTTP API is limited to read-only operations. + Configurations can *not* be changed using the API and secrets are not + exposed. Moreover, Prometheus has some built-in measures to mitigate the + impact of denial of service attacks. + + Please see `Prometheus' Security model + ` for more detailed + information. + Grafana and Prometheus are likely going to be bundled and installed by some orchestration tools along Ceph in the near future, but currently, you will have to install and configure both manually. After you have installed Prometheus and @@ -970,4 +994,6 @@ Plug-ins Dashboard Plug-ins allow to extend the functionality of the dashboard in a modular and loosely coupled approach. +.. _Grafana: https://grafana.com/ + .. include:: dashboard_plugins/feature_toggles.inc.rst