It's all about the answers!

Ask a question

Basic Usage of JazzMon Analzye Command not working


Robert Carter (42928790) | asked Aug 24 '12, 1:25 p.m.
I am having trouble setting up and using JazzMon.
I have run the command,
java -jar JazzMon.jar monitor file=myfile.properties
In the properties file I left the defaults except for:
SERVER_URL_LIST=<set to my server>
SEQ_RUN_LENGTH_ARG=30
SEQ_USERNAME=<set to JazzAdmin user>
PARM_COUNTER_RATE_MINS=1

The script runs for 30 mins.  It appears that there is some data in the default location:
/var/tmp/JazzMonRuntime and /var/tmp/JazzMonData/run0

Next I run the java -jar JazzMon.jar gather file=myfile.properties
SharedNetworkDirectoryWindows: /var/tmp/JazzMonData
SharedNetworkDirectoryLinux: /var/tmp/RPP_GatherData
SharedNetworkDirectory(local): /var/tmp/JazzMonData/run0
Output Subdirectory: JazzMonRuntime

Output directory exists already (/var/tmp/JazzMonData/run0)
Do you want to delete existing directory ?(y/n): y
Copying data for RUN_WORKBENCH (MacBook-Pro)
Instructions to run on alternate platform to gather remaining data
rsync -rlptvD /var/tmp/JazzMonRuntime/ /var/tmp/RPP_GatherData/run0
I look in the directory /var/tmp/JazzMonData/run0
and there are some config files.  Not Data Files.
Then I run the altPlatformCopy.sh which I think copies data from the JazzMonRuntime to the /var/tmp/RPP_GatherData/run0 directory
Now I have a bunch of .html files which appear to have data in there.

Then I run the command:
java -jar JazzMon.jar analyze file=my.propertiesfile  I get:
SharedNetworkDirectoryWindows: /var/tmp/JazzMonData
SharedNetworkDirectoryLinux: /var/tmp/RPP_GatherData
SharedNetworkDirectory(local): /var/tmp/JazzMonData/run0
Output Subdirectory: JazzMonRuntime
Running server report
Baseline file: 
WARNING: Unable to find counter service data,  no server report will be included in RunReport.xml
Running client report
Finished

Should I be pointing the ANALYSIS_DATADIR to counter service data? Is this the data that is contained in the directory /var/tmp/RPP_GatherData?

Accepted answer


permanent link
Chetna Warade (106123) | answered Aug 24 '12, 1:38 p.m.
JAZZ DEVELOPER

JazzMon is only tested on Windows or Linux platform. Seems like you are on Mac. Please run following in listed order :

rsync -rlptvD /var/tmp/JazzMonRuntime/ /var/tmp/JazzMonData/run0
java -jar JazzMon.jar analyze file=my.propertiesfile

Code inside JazzMon which does operating system check which fails on platforms other than Windows or Linux. You'll notice a location variable is set as SharedNetworkDirectoryLinux: /var/tmp/RPP_GatherData. This is picked incorrectly by JazzMon due to the unknown underlying platform. The counter server (html) files are getting copied onto /var/tmp/RPP_GatherData/run0 and JazzMon analyze looks for them under  /var/tmp/JazzMonData/run0 instead. Analyze then warns about counter service data not found.

I will open a defect against our team to fix this. Sorry for the inconvenience. Thanks.

Robert Carter selected this answer as the correct answer

Comments
Robert Carter commented Aug 24 '12, 2:28 p.m.

Thanks. This worked. So inplace of the 'gather' Command I would run the rsync command?

One other answer



permanent link
Daniel Toczala (88211514) | answered Aug 24 '12, 2:17 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
This may seem kind of simple, but I noticed that you didn't have a server URI specified.  That might help to explain the lack of data.

Comments
Robert Carter commented Aug 24 '12, 2:22 p.m.

I put that in there, I just didn't place here in the questions. Thanks.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.