Difference between revisions of "Plugin:Ceph"
From collectd Wiki
(Created page with "{{Infobox Plugin | Name=ceph | Type=read | Callbacks={{Callback|config}}, {{Callback|init}}, {{Callback|read}} | Status={{supported}} | FirstVersion={{Version|5.5}} ...") |
(Add manpage link to ceph plugin) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
| Copyright=''2011'' New Dream Network <br />''2015'' Florian octo Forster | | Copyright=''2011'' New Dream Network <br />''2015'' Florian octo Forster | ||
| License={{GPLv2}} | | License={{GPLv2}} | ||
− | | Manpage= | + | | Manpage={{Manpage|collectd.conf|5|plugin_ceph}} |
}} | }} | ||
The ceph plugin collects values from JSON data to be parsed by libyajl retrieved from ceph daemon admin sockets. | The ceph plugin collects values from JSON data to be parsed by libyajl retrieved from ceph daemon admin sockets. | ||
+ | |||
+ | == Synopsis == | ||
+ | |||
A separate Daemon block must be configured for each ceph daemon to be monitored. The following example will read daemon statistics from four separate ceph daemons running on the same device (two OSDs, one MON, one MDS) : | A separate Daemon block must be configured for each ceph daemon to be monitored. The following example will read daemon statistics from four separate ceph daemons running on the same device (two OSDs, one MON, one MDS) : | ||
Line 34: | Line 37: | ||
== Example graphs == | == Example graphs == | ||
− | + | [[File:ceph.png|1024px]] | |
== Dependencies == | == Dependencies == | ||
Line 41: | Line 44: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
− | {{DEFAULTSORT: | + | {{DEFAULTSORT:Ceph}} |
Latest revision as of 21:07, 26 June 2020
ceph plugin | |
---|---|
Type: | read |
Callbacks: | config, init, read |
Status: | supported |
First version: | 5.5 |
Copyright: | 2011 New Dream Network 2015 Florian octo Forster |
License: | GPLv2 |
Manpage: | collectd.conf(5) |
List of Plugins |
The ceph plugin collects values from JSON data to be parsed by libyajl retrieved from ceph daemon admin sockets.
Synopsis
A separate Daemon block must be configured for each ceph daemon to be monitored. The following example will read daemon statistics from four separate ceph daemons running on the same device (two OSDs, one MON, one MDS) :
<Plugin ceph> LongRunAvgLatency false ConvertSpecialMetricTypes true <Daemon "osd.0"> SocketPath "/var/run/ceph/ceph-osd.0.asok" </Daemon> <Daemon "osd.1"> SocketPath "/var/run/ceph/ceph-osd.1.asok" </Daemon> <Daemon "mon.a"> SocketPath "/var/run/ceph/ceph-mon.ceph1.asok" </Daemon> <Daemon "mds.a"> SocketPath "/var/run/ceph/ceph-mds.ceph1.asok" </Daemon> </Plugin>
Example graphs
Dependencies
- Linux