Display gluster stats
Project description
Gluster Statistics
gluster-stats is a command-line utility that generates health-related gluster statistics in json, for use in monitoring gluster.
Installation
pip install gluster-stats
Usage
Return gluster stats in json format.
sudo gluster-stats
Example output:
{ "brick_stats": { "u01gluster": [ { "disk_free": 824204224102, "disk_total": 824204224102, "inode_free": "161060390", "inode_total": "161060416", "online": 1 }, { "disk_free": 824204224102, "disk_total": 824204224102, "inode_free": "161060390", "inode_total": "161060416", "online": 1 }, { "disk_free": 824204224102, "disk_total": 824204224102, "inode_free": "161060390", "inode_total": "161060416", "online": 1 } ] }, "glusterd": 1, "glusterfsd": 1, "peers": 2, "split_brain_entries": { "u01gluster": 0 }, "unhealed_entries": { "u01gluster": 0 }, "volumes": 1 }
Generate mock test response file in gluster_stats_<gluster_version>.json.
gluster-stats-generate
History
0.2.0 (2016-04-07)
Add –inline, –yolo, –version
0.1.3 (2016-01-15)
First release - print out latest versions for each git role listed