Open Apollon77 opened 3 years ago
Thanks for the report. I'll take a look.
@Apollon77 what fields are you looking for? Printing the entire output as key-value pairs is overkill.
Printing the output of an earlier version. What would you like to add/delete to it?
./gstatus.py -a -o keyvalue
2021-03-23 22:07:54.178885 brick_count=5,bricks_active=0,glfs_version='9dev',node_count=3,nodes_active=1,over_commit='Yes',product_name='Community',raw_capacity=0,sh_active=0,sh_enabled=0,snapshot_count=0,status='unhealthy',usable_capacity=0,used_capacity=0,volume_count=2,volume_summary_down=2,volume_summary_degraded=0,volume_summary_partial=0,volume_summary_up=0
I mainly need the status, but I think that is basically the relevant stuff
Hey, in former versions there was an outputmode keyvalue which was easiely to use with nagios and such ... Could that be re-added please?