-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi ,
this tools is amazing.
easy to use and it gives the most important infos - without to have massive overhead. simple.
what i recognized is,.... or i may doing something wrong.
/usr/bin/gstatus -ab -o keyvalue
brick_count=3,bricks_active=3,glfs_version='3.12.15',node_count=3,nodes_active=3,over_commit='No',product_name='Community',raw_capacity=5736648228864,sh_active=3,sh_enabled=3,snapshot_count=0,status='healthy',usable_capacity=1912216076288,used_capacity=1266406785024,volume_count=1,volume_summary_down=0,volume_summary_degraded=0,volume_summary_partial=0,volume_summary_up=1
it doesn't show up if Files are all in Sync or not.
Seems if any split-brain or file unhealed,.... it's not recognize it.
UP - 3/3 bricks up - Replicate
Capacity: (22% used) 393.00 GiB/1.70 TiB (used/total)
Snapshots: 0
Self Heal: 3/ 3 Heal backlog of 28 files
Tasks Active: None
Protocols: glusterfs:on NFS:on SMB:on
Gluster Connectivty: 3 hosts, 24 tcp connections
If Gluster is in Sync/Heal Mode > then it's not really a Healthy state.
Normally it shows up
Self Heal: 3/ 3 All files in sync
Would this somehow be able to implement,.. so that this is easy to pull from keyvalue? i use icinga to get status of it. not sure if it's recognize Split-brain as well?
thx
Max