Not getting ZRT report

Revision as of 08:36, 29 May 2020 by Sam4wiki (talk | contribs) (Created page with "{{BC|Certified}} __FORCETOC__ <div class="col-md-12 ibox-content"> =ZRT report not updating on Flexnet after upgrade to ZCS 8.8.x, 9.0= <hr> {{KB|{{ZC}}|{{ZCS 9.0}}|{{ZCS 8.8...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ZRT report not updating on Flexnet after upgrade to ZCS 8.8.x, 9.0


   KB 24095        Last updated on 2020-05-29  




0.00
(0 votes)


Problem

Enter problem description here. This article is to show the basic formatting of KB articles.

Analysis

After upgrade to ZCS 8.8.x we can not find the user data on the flexnet portal. The ZRT script, run.sh is executed properly but data does not gets populated on the portal. We find the below exception in zrt log.

2019-11-05 05:58:12,324 DEBUG [main] com.flexerasoftware.zimbra.ldap.ZimbraLicensesGroupStorage:390 : Accounts: 810
2019-11-05 05:58:12,862 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:225 : Posting Usage: SECount:1.0: Usage: 340
2019-11-05 05:58:12,862 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:228 : Posting Usage: PECount:1.0: Usage: 470
2019-11-05 05:58:12,862 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:231 : Posting Usage: BECount:1.0: Usage: 0
2019-11-05 05:58:12,863 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:234 : Posting Usage: BEPCount:1.0: Usage: 0
2019-11-05 05:58:12,863 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:237 : Posting Usage: EWSCount:1.0: Usage: 1
2019-11-05 05:58:12,891 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:273 : Sending Collected usage data to: AP678K4WLXAU
2019-11-05 05:58:12,892 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:274 : Posting to End point url: https://zimbra.compliance.flexnetoperations.com/instances/AP678K4WLXA/desiredFeatures
2019-11-05 05:58:14,857 INFO  [main] com.flexerasoftware.zimbra.util.CMSReportingUtil:290 : Response posted
2019-11-05 05:58:14,858 INFO  [main] com.flexerasoftware.zimbra.ldap.ZimbraLicensesGroupStorage:30 : Writing out the mailboxes to file 'mailboxes.csv'."
2019-11-05 05:58:55,863 ERROR [main] com.flexerasoftware.zimbra.App:135 : An exception occurred during upload:java.lang.IllegalArgumentException: Unsupported protocolTLSv1.0 

Solution

This is an issue with unsupported TLSv1.0 which is still used by the run.sh script. We just need to specify the TLS version in the script to overcome this issue. Flexnet server after upgrade have stopped using TLSv1.0, v1.1. We need to make the following changes on the /opt/zrt/run.sh script as below, so that we force zrt script to use TLS1.2

#!/bin/bash
if which java >/dev/null; then
cd /opt/zrt && java -Dhttps.protocols=TLSv1.2 -jar /opt/zrt/ZimbraCMSClient.jar -p /opt/zrt/zimbracmsclient.properties
else
if [ -z ${JAVA_HOME} ]
then
echo There was not a JAVA_HOME set. Please set a JAVA_HOME system variable.
exit
else
cd /opt/zrt && ${JAVA_HOME}/bin/java -Dhttps.protocols=TLSv1.2 -jar /opt/zrt/ZimbraCMSClient.jar -p /opt/zrt/zimbracmsclient.properties
fi
fi 
Submitted by: Samrat Sarkar
Verified Against: ZCS 8.8 Date Created: 2020-05-29
Article ID: https://wiki.zimbra.com/index.php?title=Not_getting_ZRT_report Date Modified: 2020-05-29



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search