AnsweredAssumed Answered

CLW Syntax

Question asked by ashishv on Apr 13, 2011
Latest reply on Apr 21, 2011 by Hiko_Davis
hello list,
i am trying to work on the CLW Script to get some very basic information and post it on the intranet like Agent status; etc;

tried the following but got an unexpected result

[font=Courier New]./../jre/bin/java -Duser=Admin -Dpassword=****** -Dhost=localhost -Dport=0000 -jar ../lib/CLWorkstation.jar "get status for agents matching (.*)"

[color=#EE0F0F]Writing Dynamic Instrumentation Data to .//DynamicInstrumentationData-20110413111717.xml
[color][font]

tried the following and got same response:

[font=Courier New]./../jre/bin/java -Duser=Admin -Dpassword=****** -Dhost=localhost -Dport=0000 -jar ../lib/CLWorkstation.jar get status for agents matching \(.*\)

[color=#EE0F0F]Writing Dynamic Instrumentation Data to .//DynamicInstrumentationData-20110413111717.xml
[color][font]

tried this and got Syntax error:

[font=Courier New]./../jre/bin/java -Duser=Admin -Dpassword=****** -Dhost=localhost -Dport=0000 -jar ../lib/CLWorkstation.jar get status for agents matching (.*)
[color=#EE0F0F]-bash: syntax error near unexpected token `('[color]
[font]

tried this as well ( just to be clear, running this command on Mom)

[font=Courier New]./../jre/bin/java -Duser=Admin -Dpassword=****** -Dhost=localhost -Dport=0000 -jar ../lib/CLWorkstation.jar get status for agents matching "Custom Metric Host \(Virtual\)\|Custom Metric Process \(Virtual\)\|(.*)"

[color=#EE0F0F]Writing Dynamic Instrumentation Data to ./DynamicInstrumentationData-20110413114641.xml('[color]
[font]
i am sure i am doing something wrong... could anyone please point to the error here...


regards
ashish

Outcomes