Statistics

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Marcosebas
Advanced member
Advanced member
Posts: 79
Joined: Tue Sep 13, 2016 11:25 pm

Statistics

Postby Marcosebas » Wed Jan 16, 2019 9:21 pm

Dear All,

I would like to get some statistics from my ZCS 8.6.

I would like to know how many accounts were used during 2018 and how many mails were sent during that year.

Is it possible?

Best,

Marco


7224jobe
Advanced member
Advanced member
Posts: 174
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_GA_3869.RHEL7_64 Patch4

Re: Statistics

Postby 7224jobe » Thu Jan 17, 2019 10:43 am

Hello,
to get when an account was created or last logged in you could use zmprov shell command as zimbra user:

Code: Select all

zmprov getAccount name.surname@domain.it | grep -i timestamp


will return zimbraCreateTimestamp and zimbraLastLogonTimestamp attributes: you can create a script that queries Zimbra for all accounts and then, for example, filter out only the accounts that were created in 2018.

Talking about the total of email sent in 2018 I think that it is not possible, unless you keep zimbra log files or /var/log/mail.log for an year...
User avatar
gabrieles
Advanced member
Advanced member
Posts: 140
Joined: Tue Feb 14, 2017 9:40 am

Re: Statistics

Postby gabrieles » Thu Jan 17, 2019 1:46 pm

7224jobe wrote: you can create a script that queries Zimbra for all accounts and then, for example, filter out

or use zmaccts and grep

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 20 guests