sysadmin
April 27 2010, 03:48 AM
Traverse can use WMI to monitor the CPU and memory utilization of specific processes running on a Windows server. In order to setup monitoring of an application named "MyApp", as visible on Windows Task Manager, follow these steps:
Log into Traverse Web Application as an end-user
Navigate to Administration -> Devices
Click on Tests link for the device where the process is running
Click on Create New Advanced Tests link
Enable Advanced WMI Test and configure test parameters:
Test Name = MyApp CPU Utilization
Thresholds = 25 (warning) and 55 (critical)
WMI Property = \Win32_PerfRawData_PerfProc_Process:PercentProcess orTime:Name="MyApp"
Result Multiplier = 0.00001
Post processing Directive = Rate
Maximum Value = 100
Test Units = %
Monitor Instance = create a new one with valid credentials if there is none existing
Click on Provision Tests
Replace MyApp and the thresholds with suitable values. Since this test requires two consecutive polls to calculate the value, you should see a valid result within 10 minutes. For memory utilization, follow the same steps as above with these settings:
Test Name = MyApp Memory Usage
Thresholds = 300 (warning) and 450 (critical)
WMI Property = \Win32_PerfFormattedData_PerfProc_Process:WorkingS et:Name="MyApp"
Result Multiplier = 0.000001
Post processing Directive = None
Test Units = MB
Monitor Instance = use existing one
Now when you navigate to Status -> Devices and drill-down into the device, the new tests should be shown with current test status.
Log into Traverse Web Application as an end-user
Navigate to Administration -> Devices
Click on Tests link for the device where the process is running
Click on Create New Advanced Tests link
Enable Advanced WMI Test and configure test parameters:
Test Name = MyApp CPU Utilization
Thresholds = 25 (warning) and 55 (critical)
WMI Property = \Win32_PerfRawData_PerfProc_Process:PercentProcess orTime:Name="MyApp"
Result Multiplier = 0.00001
Post processing Directive = Rate
Maximum Value = 100
Test Units = %
Monitor Instance = create a new one with valid credentials if there is none existing
Click on Provision Tests
Replace MyApp and the thresholds with suitable values. Since this test requires two consecutive polls to calculate the value, you should see a valid result within 10 minutes. For memory utilization, follow the same steps as above with these settings:
Test Name = MyApp Memory Usage
Thresholds = 300 (warning) and 450 (critical)
WMI Property = \Win32_PerfFormattedData_PerfProc_Process:WorkingS et:Name="MyApp"
Result Multiplier = 0.000001
Post processing Directive = None
Test Units = MB
Monitor Instance = use existing one
Now when you navigate to Status -> Devices and drill-down into the device, the new tests should be shown with current test status.