[SOLVED] How to get stats over multiple days/weeks/years?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Ace Suares
Posts: 49
Joined: Thu Aug 07, 2014 7:26 pm

[SOLVED] How to get stats over multiple days/weeks/years?

Postby Ace Suares » Tue May 26, 2020 4:18 pm

Hi,
I tried

Code: Select all

zmstat-chart -s '/opt/zimbra/zmstat/2020-05-20' -d /tmp/charts -c stat-chart-conf


and after installing fontconfig it actually worked, but how do I get stats over a longer period,
for instance 2020-01-01 all the way to 2020-05-24 ?



Ace


User avatar
gabrieles
Advanced member
Advanced member
Posts: 140
Joined: Tue Feb 14, 2017 9:40 am

Re: [SOLVED] How to get stats over multiple days/weeks/years?

Postby gabrieles » Wed May 27, 2020 7:32 am

zmstat-chart -s /opt/zimbra/zmstat/2020-05-20 -s /opt/zimbra/zmstat/2020-05-19 -s /opt/zimbra/zmstat/2020-05-18 -d /tmp/charts

It's a memory hungry operation, be sure to have enough heap space available to zmjava. If not, bring it from 256 to 1024.
~$ zmlocalconfig zimbra_zmjava_options
zimbra_zmjava_options = -Xmx256m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true

~$ zmlocalconfig -e zimbra_zmjava_options 'zimbra_zmjava_options = -Xmx1024m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true'

Return to “Administrators”

Who is online

Users browsing this forum: JDunphy and 12 guests