How to switch to English language for the output of the CLW commands?

book

Article ID: 140874

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

- When running CLW commands the columns header appears based on the OS locale, eg: Spanish, French, etc.

Command:

java -jar -Duser=xxx -Dpassword=xxx -Dhost=introscopeEnvironment.com -Dport=5001 "C:\CA APM\IntroscopeWorkstation10.x\lib\CLWorkstation.jar" get historical data from agents matching "tass_1_a_1" and metrics matching "CPU\|Processor\s.*" between "2019-11-20 00:00:00" and "2019-11-20 23:59:59" with frequency of 900 seconds

Output:

Dominio; Host; Proceso; Nombre del agente; Recurso; Nombre de la mÚtrica; Tipo de registro; PerÝodo; Marca de tiempo de finalizaci¾n prevista; Marca de tiempo de inicio real; Marca de tiempo de finalizaci¾n real; Recuento de valores; Tipo de valor; Valor entero; Entero mÝnimo; Entero mßximo; Valor flotante; N·mero mÝn. de puntos flotantes; N·mero mßx. de puntos flotantes; Valor de cadena; Valor de fecha

Cause

This is caused by the new Language enhance feature introduced in 10.7 SP2 release. From our guides:

10.7 Service Pack 2 (SP2) Enhancements
New Languages
CA APM supports five new languages: French, German, Spanish, Italian, and Brazilian Portuguese.

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/ca-apm-release-notes.html#concept.dita_b87acb9b5b88a154a8379b64bdf92f525a7211a3_107ServicePack2SP2Features

Environment

APM 10.7 SP2 onwards

Resolution

1) Stop the Introscope EM
2) Open <EM-HOME>/ IntroscopeEnterpriseManager.lax
3.In order to switch to English language without changing the OS locale, include -Duser.language=en in the lax.nl.java.option.additional property, eg:
lax.nl.java.option.additional=-Xms2048m -Xmx2048m -Duser.language=en -Djava.awt.headless=false -Dmail.mime.charset=UTF-8 ...
4) Save the file
5) Start the EM
6) Verify the results

- Now, when running the same CLW command the output should be in English, eg:

Command:

java -jar -Duser=xxx -Dpassword=xxx -Dhost=introscopeEnvironment.com -Dport=5001 "C:\CA APM\IntroscopeWorkstation10.x\lib\CLWorkstation.jar" get historical data from agents matching "tass_1_a_1" and metrics matching "CPU\|Processor\s.*" between "2019-11-20 00:00:00" and "2019-11-20 23:59:59" with frequency of 900 seconds

Output:

Domain, Host, Process, AgentName, Resource, MetricName, Record Type, Period, Intended End Timestamp, Actual Start Timestamp, Actual End Timestamp, Value Count, Value Type, Integer Value, Integer Min, Integer Max, Float Value, Float Min, Float Max, String Value, Date Value

Additional Information


How to change language in Team Center, Webview and Workstation?