[Samba] Getting CTDB dbstatistics in csv format?

Martin Schwenke martin at meltin.net
Sun Feb 14 21:21:22 UTC 2021


Hi Andrew,

On Mon, 8 Feb 2021 20:53:17 -0500, Andrew Walker via samba
<samba at lists.samba.org> wrote:

> On Mon, Feb 8, 2021 at 8:50 PM Andrew Bartlett <abartlet at samba.org> wrote:
> 
> > On Mon, 2021-02-08 at 20:38 -0500, Andrew Walker via samba wrote:  
> > >
> > > I wrote a patchset fairly recently to generate JSON output for much
> > > of the
> > > ctdb commands. I'm happy to upstream it if this is something that's
> > > of
> > > interest to people.  

> > There is increasing interest in using JSON for our machine readable
> > output in Samba, so while I can't speak for Martin I would encourage
> > it.
> >
> > Also for any AD tools or anything else I can speak for.  The main thing
> > is to ensure there are some tests so we don't break it, because folks
> > will rely on it.

> Okay. I've done JSON output for smbcacls, smbstatus, and ctdb. I can  
> probably start with the last one (ctdb) and work forward into some of the
> others. I'll throw it into gitlab tomorrow and reply with a link to this
> message for those interested in testing / playing around with it.

Just wondering if you got to this?

Thanks...

peace & happiness,
martin



More information about the samba mailing list