On Fri, Feb 16, 2018 at 11:21 AM, Ugis <ugis22@xxxxxxxxx> wrote: > Hi, > > I'm working on zabbix template for ceph(I am aware of several existing > ones but those do not fit well for our needs). > > Data form ceph is gathered from cli commands with output in format "-f > json-pretty", this works nice, but I cannot find a way to read: > 1) cluster "io" data from "ceph -s" - it does not appear in > json-pretty format. This is example data: > " io: > client: 112 kB/s rd, 41058 B/s wr, 6162 op/s rd, 8 op/s wr" > Is there any cli command to get that "global cluster io" data in json? The zabbix module (included in Ceph since 12.2.0) gives you the global wr_ops, rd_ops, wr_bytes, rd_bytes fields. http://docs.ceph.com/docs/master/mgr/zabbix/ Cheers, John > 2) In web GUI (monitorIP:7000/->OSD->OSDs) we see nice "Read bytes", > "Write bytes", "Read ops", "Write ops". > How can we get that data per osd in cli in json-pretty format? > I browsed the source of dashborad here > https://github.com/ceph/ceph/blob/66838565bd0830a397a4d673bb5584023ee603a5/src/pybind/mgr/dashboard/osds.html > but did not get clue are there any cli commands related. > > Best regards, > Ugis > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html