#proxyサーバからうつぞ #load averageみる root@swift-proxy01:~# curl http://xx.xx.xx.xx:6000/recon/load {"5m": 2.3199999999999998, "15m": 2.27, "processes": 5311, "tasks": "2/364", "1m": 2.4700000000000002} #memoryの情報チェックするぞ curl http://xx.xx.xx.xx:6000/recon/mem {"WritebackTmp": "0 kB", "SwapTotal": "1998840 kB", "Active(anon)": "337664 kB", "SwapFree": "1998840 kB", "DirectMap4k": "6756 kB", "KernelStack": "2936 kB", "MemFree": "128024 kB", "HugePages_Rsvd": "0", "Committed_AS": "4068192 kB", "Active(file)": "4061696 kB", "NFS_Unstable": "0 kB", "VmallocChunk": "34359370072 kB", "Writeback": "0 kB", "Inactive(file)": "15142944 kB", "MemTotal": "24731684 kB", "VmallocUsed": "331016 kB", "HugePages_Free": "0", "AnonPages": "368188 kB", "Active": "4399360 kB", "Inactive(anon)": "30712 kB", "CommitLimit": "14364680 kB", "Hugepagesize": "2048 kB", "Cached": "19014360 kB", "SwapCached": "0 kB", "VmallocTotal": "34359738367 kB", "Shmem": "252 kB", "Mapped": "9884 kB", "SUnreclaim": "811208 kB", "Unevictable": "64 kB", "SReclaimable": "3741636 kB", "Mlocked": "64 kB", "DirectMap2M": "25149440 kB", "HugePages_Surp": "0", "Bounce": "0 kB", "Inactive": "15173656 kB", "PageTables": "5080 kB", "HardwareCorrupted": "0 kB", "HugePages_Total": "0", "Slab": "4552844 kB", "Buffers": "190532 kB", "Dirty": "456 kB"} #Diskの情報もとれるぞ curl http://xx.xx.xx.xx:6000/recon/diskusage [{"device": "sdb1", "avail": 198553079808, "mounted": true, "used": 57811726336, "size": 256364806144}] #objectのreplicationタイムもとれる(´;ω;`) curl http://xx.xx.xx.xx:6000/recon/replication {"object_replication_time": 21.035725466410319} #asyncの情報もとれるんだけど、nullかえってきてる・・・ #ここは調べときます。 curl http://10.200.32.41:6000/recon/async {"async_pending": null} #swift clientからもたたけるんだな swift-recon object -r --zone 1 =============================================================================== --> Starting reconnaissance on 1 hosts =============================================================================== [2012-11-16 14:31:19] Checking on replication [replication_time] low: 21, high: 21, avg: 21.0, total: 21, Failed: 0.0%, no_result: 0, reported: 1 ===============================================================================
2012年11月22日木曜日
Openstack Swift recon太郎
Swiftにreconっていう機能があって、loadとかmemoryとかの情報がとれるみたい。
これを使って監視とかしたらいんかな。
英語よめねからよくわかんね・・・
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿