mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
fixed for recent version of ceph
This commit is contained in:
parent
71637f44e7
commit
aedea208a5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ subgraphs=True
|
|||
def read_osd(filename):
|
||||
s=socket.socket(socket.AF_UNIX,socket.SOCK_STREAM)
|
||||
s.connect(filename)
|
||||
s.send("\0\0\0\1")
|
||||
s.send("{\"prefix\": \"perf dump\"}\0")
|
||||
return json.loads(s.recv(10240)[4:])
|
||||
|
||||
def osd_list():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue