[Gluster-users] [Gluster-devel] FeedBack Requested : Changes to CLI output of 'peer status'

s19n mailbox at s19n.net
Tue Aug 28 14:10:50 UTC 2012


* Stephan von Krawczynski <skraw at ithnet.com> [2012 08 28, 15:31]:
> You are not seriously talking about 80 char terminals for an output
> that is commonly used by scripts and stuff like nagios, are you?
>
> > -----
> > Hostname: 10.70.36.7
> > Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
> > State: Peer in Cluster (Connected)
> > -----

 Given the '80 char terminals' and the plan to add more fields, I would
suggest a kind of key-value output which should be as easy to parse:

----- cut here -----
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: Hostname: 10.70.36.7
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: State: Connected
----- cut here -----

 This way you should be able to line-filter the output as if it was all
in one line.




More information about the Gluster-users mailing list