* Statistics / Nagios
@ 2012-11-25 18:26 Stefan Priebe
2012-11-25 19:08 ` Gregory Farnum
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Priebe @ 2012-11-25 18:26 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Hello list,
are there any useful statistics for ceph? ceph -s shows just the status
but i would like to record something which gives me an idea about the
ceph load or usage.
Greets,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Statistics / Nagios
2012-11-25 18:26 Statistics / Nagios Stefan Priebe
@ 2012-11-25 19:08 ` Gregory Farnum
2012-11-25 19:32 ` Stefan Priebe
0 siblings, 1 reply; 5+ messages in thread
From: Gregory Farnum @ 2012-11-25 19:08 UTC (permalink / raw)
To: Stefan Priebe; +Cc: ceph-devel@vger.kernel.org
On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote:
> Hello list,
>
> are there any useful statistics for ceph? ceph -s shows just the status
> but i would like to record something which gives me an idea about the
> ceph load or usage.
Each daemon has an admin socket which you can use to extract "perfcounters" (performance counters). It's not well-documented at all right now, unfortunately.
"ceph --admin-daemon /path/to/admin/socket help"
"ceph --admin-daemon /path/to/admin/socket perfcounters_dump"
"ceph --admin-daemon /path/to/admin/socket perfcounters_schema"
should get you started.
http://ceph.com/docs/master/radosgw/troubleshooting has some examples of troubleshooting the gateway with them.
-Greg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Statistics / Nagios
2012-11-25 19:08 ` Gregory Farnum
@ 2012-11-25 19:32 ` Stefan Priebe
2012-11-26 21:17 ` Dan Mick
2012-11-26 23:46 ` Gregory Farnum
0 siblings, 2 replies; 5+ messages in thread
From: Stefan Priebe @ 2012-11-25 19:32 UTC (permalink / raw)
To: Gregory Farnum; +Cc: ceph-devel@vger.kernel.org
Hi Greg,
Am 25.11.2012 20:08, schrieb Gregory Farnum:
> On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote:
>> Hello list,
>>
>> are there any useful statistics for ceph? ceph -s shows just the status
>> but i would like to record something which gives me an idea about the
>> ceph load or usage.
>
> Each daemon has an admin socket which you can use to extract "perfcounters" (performance counters). It's not well-documented at all right now, unfortunately.
> "ceph --admin-daemon /path/to/admin/socket help"
> "ceph --admin-daemon /path/to/admin/socket perfcounters_dump"
>
> "ceph --admin-daemon /path/to/admin/socket perfcounters_schema"
>
> should get you started.
> http://ceph.com/docs/master/radosgw/troubleshooting has some examples of troubleshooting the gateway with them.
thanks! I don't use radosgw. Just ceph-mon and ceph-osd with rbd block
devices.
So i have to query each OSD on their own?
Right now i have
[global]
admin socket=/var/run/ceph.sock
but that gives:
# ceph --admin-daemon /var/run/ceph.sock perfcounters_schema
{}
Greets,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Statistics / Nagios
2012-11-25 19:32 ` Stefan Priebe
@ 2012-11-26 21:17 ` Dan Mick
2012-11-26 23:46 ` Gregory Farnum
1 sibling, 0 replies; 5+ messages in thread
From: Dan Mick @ 2012-11-26 21:17 UTC (permalink / raw)
To: Stefan Priebe; +Cc: Gregory Farnum, ceph-devel@vger.kernel.org
Right; you'd want to make separate socket paths for each daemon
(something like admin socket = /var/run/$cluster-$name.sock should do,
although note that the default is already /var/run/ceph/$cluster-$name.asok)
On 11/25/2012 11:32 AM, Stefan Priebe wrote:
> Hi Greg,
>
> Am 25.11.2012 20:08, schrieb Gregory Farnum:
>> On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote:
>>> Hello list,
>>>
>>> are there any useful statistics for ceph? ceph -s shows just the status
>>> but i would like to record something which gives me an idea about the
>>> ceph load or usage.
>>
>> Each daemon has an admin socket which you can use to extract
>> "perfcounters" (performance counters). It's not well-documented at all
>> right now, unfortunately.
>> "ceph --admin-daemon /path/to/admin/socket help"
>> "ceph --admin-daemon /path/to/admin/socket perfcounters_dump"
>>
>> "ceph --admin-daemon /path/to/admin/socket perfcounters_schema"
>>
>> should get you started.
>> http://ceph.com/docs/master/radosgw/troubleshooting has some examples
>> of troubleshooting the gateway with them.
>
> thanks! I don't use radosgw. Just ceph-mon and ceph-osd with rbd block
> devices.
>
> So i have to query each OSD on their own?
>
> Right now i have
> [global]
> admin socket=/var/run/ceph.sock
>
> but that gives:
> # ceph --admin-daemon /var/run/ceph.sock perfcounters_schema
> {}
>
> Greets,
> Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Statistics / Nagios
2012-11-25 19:32 ` Stefan Priebe
2012-11-26 21:17 ` Dan Mick
@ 2012-11-26 23:46 ` Gregory Farnum
1 sibling, 0 replies; 5+ messages in thread
From: Gregory Farnum @ 2012-11-26 23:46 UTC (permalink / raw)
To: Stefan Priebe; +Cc: ceph-devel@vger.kernel.org
On Sun, Nov 25, 2012 at 11:32 AM, Stefan Priebe <s.priebe@profihost.ag> wrote:
> Hi Greg,
>
> Am 25.11.2012 20:08, schrieb Gregory Farnum:
>
>> On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote:
>>>
>>> Hello list,
>>>
>>> are there any useful statistics for ceph? ceph -s shows just the status
>>> but i would like to record something which gives me an idea about the
>>> ceph load or usage.
>>
>>
>> Each daemon has an admin socket which you can use to extract
>> "perfcounters" (performance counters). It's not well-documented at all right
>> now, unfortunately.
>> "ceph --admin-daemon /path/to/admin/socket help"
>> "ceph --admin-daemon /path/to/admin/socket perfcounters_dump"
>>
>> "ceph --admin-daemon /path/to/admin/socket perfcounters_schema"
>>
>> should get you started.
>> http://ceph.com/docs/master/radosgw/troubleshooting has some examples of
>> troubleshooting the gateway with them.
>
>
> thanks! I don't use radosgw. Just ceph-mon and ceph-osd with rbd block
> devices.
>
> So i have to query each OSD on their own?
That's how it stands at present, yep.
> Right now i have
> [global]
> admin socket=/var/run/ceph.sock
>
> but that gives:
> # ceph --admin-daemon /var/run/ceph.sock perfcounters_schema
> {}
Hrm, I'm getting a full schema out of it when I test locally. I
suspect that maybe you're trying to query the admin tool's socket when
you do that — everybody, including the client tools, will export one
if it's set for them. Try using the $name metavariable as part of the
path.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-26 23:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-25 18:26 Statistics / Nagios Stefan Priebe
2012-11-25 19:08 ` Gregory Farnum
2012-11-25 19:32 ` Stefan Priebe
2012-11-26 21:17 ` Dan Mick
2012-11-26 23:46 ` Gregory Farnum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.