Hi,

I'm making a munin plugin to track the total number of Zimbra accounts and number of accounts per server. I'm looking for any command line ways to get those numbers.

I know a few ways to get the total number of accounts, including these two:

Code:
zmsoap -z GetLicenseRequest | grep TotalAccounts
or
zmprov -l gaa | wc -l
but for getting the number of accounts per server, the only thing I have so far is this:
Code:
zmprov -l gaa -s `zmhostname` | wc -l
Anyone got other ways to get that data from Zimbra? Thanks!