Including server-side measures like CPU utilization in the Overview Report

Including server-side measures like CPU utilization in the Overview Report

For Silk-Performer 16.x:

  1. You can select "Configure Monitoring | Use custom monitoring" option to load up Silk Performance Explorer or you can simply access Silk Performance Explorer by accessing Tools | Silk Performance Explorer..

    The difference is that if you use "Use custom monitoring", the default monitors such as Active Users will be loaded while if you use the Tools option to access Silk Performance Explorer, you will only see a empty Performance Explorer with no monitors loaded.

  2. Either way, choose Real-Time Monitoring tab | System | Select from predefined Data Sources. (You will be greeted by the Data Source Wizard if you use "Custom Monitoring" option from the previous step so there is no need to select via the tab in that case)

  3. Within the system selection screen, select the Data source group that you want (We will use the perfMon as an example here). For instance, if you are going to monitor operating system data, you should select Operating System Data | Windows 7/Vista/2008 | System (perfmon).

  4. Within the Connection Parameters screen, enter the server host-name, user name, password and domain if any for a user account who has full administrator permissions on the remote system.

  5. Select Next to connect to the remote host and choose the measures that you want to monitor via checking on the check boxes.

  6. Select Finish and by default, you should see a monitor chart and a monitor writer pops up, displaying the selected measures as well as captured data.

  7. On the Workflow bar, select the Recording button (under the Real-Time Monitoring).

  8. A 'Save As' prompt box will appear, asking you to save a r@[host name]@[date and time stamp].tsd file. Take note of the directory on where you are saving the file to and click Save to save the file.

  9. Proceed to the File option (the button with horizontal stripes located on the top left corner of Silk Performance Explorer. If you press Alt key, you will see the tool tip F over it) and choose Save Workspace.

  10. Provide the workspace with a name and select a directory to store the .pew file. Please also take note of the directory location of where you are saving the .pew file as well. Press Save to save the workspace.

  11. Go back to Silk-Performer and go to Settings | Active Profile | Replay tab | Results | Monitoring.

  12. Under the Monitoring options, check the "Automatically start monitoring" option on and turn the Use Custom Monitoring template radio button on. The text field under it should be enabled by now.

  13. Alongside the text field, there is a Browse Icon. Click on it to select the .pew file which you have just saved from step 10 and select OK.

  14. Proceed to run your load test within Silk Performer, with the "Automatically start monitoring" check box enabled. Your monitoring template will appear.

  15. While the test is running, you should see that the monitor writer is writing out to a file r@@Default Monitor Writer.tsd file. 

  16. Once the test is completed, you should see a screen similar to below within Silk Performance Explorer which groups not only the client measures but also the server side measures which you have configured to capture.

  17. Expand the Server Measures/Default Monitor Writer/localhost/System.

    You can create an empty chart via Results | Chart | New Chart and start dragging and dropping different counters from the different sub categories like Memory | Available Bytes from the left panel to the empty chart. These measures should be the ones you want to appear on the overview report. 

    If you wish to include all the measures, you can simply right click on localhost and select Add to active Chart/Table. A new chart with all the measures under the localhost folder will be added.

  18. While the newly created chart is opened, go back to the overview report and click on the custom charts link to navigate to the custom charts section.

  19. Click on the "here" link in the "Click here to customize this section" under the custom chart section.

  20. Under the "Customize your HTML Overview Report" dialog box, you should see a section named Custom Charts with a unchecked check box next to it. You should see the name of the newly created chart under it as well. Click on it to enable it. Then select Customize to add the chart.

  21. After selecting Customize, you should see the chart added under the custom charts section with all the custom server measures that you have added. Next step, you will need to save this report as a template so that after every load test, this template can be used to generate a similar overview report with this custom chart in place.



  22. Go to Reports | Save As Template and select a directory to save the ovt template file. Please take note of where you save this ovt file.

  23. Next, you will need to apply this template.

    To apply this template to all the projects, you will need to open Performance Explorer | File | Options | Reporting tab and enable the "Use template (.ovt) when creating a new HTML Overview Report" checkbox. Then use the Browse option alongside with the text field under it to go to the directory where you saved the .ovt file previously (from step 22).

    To apply this template only to the tests that run in the current project, open SIlk-Performer | Settings | Active Profile | Record | Results | Time Series tab | Overview Report template section. Again, use the Browse option to select the .ovt file that is saved previously (from step 22).

    Press OK to save the settings.

  24. Now each time when you run a load test, the overview report that is generated after the load test will include the custom chart with the updated server statistics.

For versions before Silk-Performer 16.0:

Please follow the steps below:

  1. Run a test
  2. In Performance Explorer open File | New | Monitor report
  3. Select Monitor server, Add Data source and select the source required e.g. Operating System data and Select Windows 2000/XP. Fill in the connection parameters and select all the measures required. This will open a monitor report window.
  4. Click on the red pencil icon to begin writing data out to the tsd file.
  5. Select | File | Save Work space as | Name the file and ensure it is saved to the include folder
  6. Go back to SilkPerformer and Go to Settings | Active profile | Results | Monitoring - Enable the option Automatically start monitoring and the option to use a custom monitoring template. Click on the ellipsis button and browse to the include folder where you saved the .PEW file in step 4 above. Click OK to apply the setting

    Note: the include directory will be : C:\Program Files\Silk\Silk Performer\Working\Include by default

  7. Re-Run the test. You will notice that Performance Explorer will open and the Monitor report will begin to run.

    When the test has finished open Results | Explore Time Series

    Note: If this does not automatically open the overview report for the most recent test, please browse to the most recent load test folder in the project directory and open.

  8. When the Overview Report has opened go to custom charts and select the option "Click here to customize this section". In the Custom Overview-Report Wizard select Add new graph and select Empty graph and click Finish.
  9. In the left pane of Performance Explorer right click and select Add results and browse to the most recent load test folder (generated for test run as per step 6) and add the monitor report. The monitor report will have been created as per test run in step 6 above.

    Note: This file will begin with r@@

    This folder and its contents will now be added to the left pane of the window. Now drag and drop the contents of the file to the empty graph created in step 7.

  10. Click on the Overview Report tab at the bottom of the main pane. The custom chart you just created will be added to the Overview Report.
  11. To make sure this template is always used for future reports open File | Save as Template. This will save the file to the include directory with a file extension .OVT
  12. To apply this template to all projects: Open Performance Explorer | Settings | Options | Reporting. Select "Use template when creating a new overview report". Browse to the include directory and select the OVT file saved in Step 10 above.

    To apply this template only to tests run in the current project open SilkPerformer | Settings | Active profile | Record | Results | Time Series tab | Overview Report section. Browse to the include directory and select the OVT file saved in Step 10 above.

    Please note that this setting overrides the Performance Explorer "Use template when creating a new Overview Report" setting.

    Now each time you run a load test the Server statistics will be updated and included in the overview report.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Comments

I get empty .tds file every time I record the measures. The response is (RT: 75 - Custom error, Unable to establish the connection, errorcode: 6) when trying to monitor a Linux server using SSH.

I am trying to monitor a Linux server using SSH but I always get this error (RT: 75 - Custom error, Unable to establish the connection, errorcode: 6). I am not sure if I'm using the correct data source. need help on this.

Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2016-05-05 16:43
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.