Skip to content

Commit 1da1728

Browse files
committed
doc/mgr: edit telegraf.rst
Edit doc/mgr/telegraf.rst. This is part of a project to separate out the twenty-five files that were committed to ceph#62782. Signed-off-by: Zac Dover <[email protected]>
1 parent b399523 commit 1da1728

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/mgr/telegraf.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ Enabling
1818

1919
To enable the module, use the following command:
2020

21-
::
21+
.. prompt:: bash #
2222

23-
ceph mgr module enable telegraf
23+
ceph mgr module enable telegraf
2424

2525
If you wish to subsequently disable the module, you can use the corresponding
26-
*disable* command:
26+
``disable`` command:
2727

28-
::
28+
.. prompt:: bash #
2929

30-
ceph mgr module disable telegraf
30+
ceph mgr module disable telegraf
3131

3232
-------------
3333
Configuration
@@ -38,24 +38,24 @@ required to configure the address to send the statistics to.
3838

3939
Set configuration values using the following command:
4040

41-
::
41+
.. prompt:: bash #
4242

43-
ceph telegraf config-set <key> <value>
43+
ceph telegraf config-set <key> <value>
4444

4545

4646
The most important settings are ``address`` and ``interval``.
4747

4848
For example, a typical configuration might look like this:
4949

50-
::
50+
.. prompt:: bash #
5151

52-
ceph telegraf config-set address udp://:8094
53-
ceph telegraf config-set interval 10
52+
ceph telegraf config-set address udp://:8094
53+
ceph telegraf config-set interval 10
5454

5555
The default values for these configuration keys are:
5656

57-
- address: unixgram:///tmp/telegraf.sock
58-
- interval: 15
57+
- ``address``: ``unixgram:///tmp/telegraf.sock``
58+
- ``interval``: ``15``
5959

6060
----------------
6161
Socket Listener

0 commit comments

Comments
 (0)