Welcome: Guest
NOTE: This site is no longer maintained. Upgrade to the latest version of ipMonitor ยป

Knowledge Center > ipMonitor 8.5 Administrator's Guide
CPU Usage Monitor

The CPU Usage Monitor uses Local or SNMP communication to test the amount of processor capacity available on:

  • The local machine
  • A remote computer running Microsoft® Windows® NT, 2000, XP or 2003
  • A remote computer running a Unix-Based Operating System (Linux, Solaris, HP-UX, etc.)
  • An SNMP-enabled device

It effectively ensures that:

  1. Heavy, sustained CPU utilization is quickly detected before performance can be affected.
  2. Administrators are alerted if the CPU utilization exceeds the specified threshold.

The CPU Usage Monitor Wizard is designed to help you configure a CPU Usage Monitor with the least amount of initial input. There are a number of benefits to this approach:

  1. Configuration is fast and easy, allowing you to get the Monitor up and running quickly.
  2. The CPU Usage Monitor Wizard allows you to test all the parameters you enter along the way to make sure that the Monitor will work as expected immediately upon being enabled to go live in a production environment.

Top of page

Step 1: Specify the Location of the Server

The following example illustrates the process of creating a new CPU Usage Monitor to monitor CPU capacity on a remote computer running Microsoft Windows XP.

To create a new CPU Usage Monitor using the Wizard:

  1. Log in to the ipMonitor Administration web interface.
  2. Click the Monitors menu option, and then click Add Monitor.
  3. Select the CPU Usage Monitor Monitor from the Resource Based category and then click the Continue button.

Server Parameters

IP Address / Domain Name
Specify the location of the server or device you want to monitor. Both IP Address and Domain Name are valid entries.

An example of a valid Fully Qualified Domain Name is: www.ipmonitor.com
An example of a valid IP address is: 10.200.50.1

UDP Port
Specify the Port Number that the server or device responds on. By default, the standard Port Number used for SNMP communication (Port 161) is already entered.

Community
SNMP Community strings act like passwords for SNMP information. When ipMonitor issues a SNMP Get command to the SNMP Agent at this IP address, it sends out the SNMP Community string. If the Community string is correct, the SNMP Agent processes the request and returns results for analysis.

SNMP default communities are:

  • Private (Read / Write)
  • Public (Read Only)

Some SNMP Agents are configured to use non-default Community strings. This is typically done to improve SNMP security, often in conjunction with a non-standard SNMP Port.

SNMP Version
Select the SNMP version used by the device to be monitored. Both ipMonitor and the target device must use the same SNMP Version. Available options are: SNMP Version 1 and SNMP Version 2.

Top of page

Step 2: Select Interface and Monitoring Thresholds

Test Parameters

Communication Type
Select the communication process ipMonitor will use to connect to the specified computer or remote device:

Local - The Local communication method allows the Monitor to connect to the ipMonitor host machine directly using an API call in order to test the amount of processor capacity available on the system.

SNMP - The Simple Network Management Protocol allows the Monitor to perform a lightweight transaction in order to communicate with SNMP-enabled network devices. Select the Management Information Base (MIB) ipMonitor will use to connect to the specified computer or remote device. Three tactics are available:

  • Host Resources MIB - The Host Resources MIB is loaded by default with the SNMP component.
  • Informant - SNMP Informant is a popular extension agent developed by Williams Technology Consulting Services for the Microsoft SNMP Service that exposes performance counter-related data. The Informant method is recommended to administrators who are already using SNMP Informant to monitor other aspects of the remote system.
  • NET-SNMP - NET-SNMP is an extensible agent used to query SNMP v1, SNMP v2c and SNMP v3 using both Internet Protocol (IP) version 4 and Internet Protocol (IP) version 6. Net-SNMP is available for many Unix and Unix-like operating systems and also for Microsoft Windows. The NET-SNMP method is recommended to administrators who are already using NET-SNMP to monitor other aspects of the remote system.

    Note: Due to Host Resources MIB limitations on the Unix architecture, the NET-SNMP option may be the required method for administrators wanting to monitor CPU usage on Unix and Unix-like operating systems.

Note: An SNMP Agent has to be installed and running on the server or device being monitored. If the remote system is running Windows 2000, Windows XP or Windows 2003, you will need to install and configure the SNMP Service manually. More information regarding the SNMP Service can be found on the Microsoft web site.

WMI - The Windows Management Instrumentation communication method is recommended to administrators who wish to monitor CPU usage on a Windows operating system. When this method is selected, the Monitor connects to the WMI namespace hosting the WMI class corresponding to the processor being monitored.

Note: WMI is preinstalled in Windows Vista, Windows Server 2003, Windows XP, and Windows 2000.

Processor
Select the desired individual processor to monitor from the list provided.

Analysis of Test Results

The CPU Usage Monitor utilizes two separate threshold values when analyzing test results.

1. Last-Value Threshold - This is the primary threshold rate, which is compared to the value acquired by the Monitor during the most recently performed test.

  • Max CPU Usage (%)
    The maximum CPU load allowed on the system, represented as a percentage (%). You may need to adjust the default value based on the type of processor being monitored, however, we recommend maintaining this value at 90% or above.

2. Short-Term Threshold - This is the secondary threshold rate. It uses the test results accumulated over the period of time set within the Sample Size field to detect a slow CPU load creep versus a spike in processor usage.

  • Max CPU Usage (%)
    The amount of CPU load allowed on the system, represented as a percentage (%). Although the proper settings for this threshold will depend on the type of processor being monitored, we recommend maintaining this threshold value at 40% or above (you may choose to increase it even further, to 70-80%).

  • Sample Size
    The data obtained from the monitoring tests performed during the length of time specified here will be averaged and compared against the most recent test result. By default, the Sample Size value is set to 915 seconds (15 minutes and 15 seconds).

If the Last-Value Threshold rate is exceeded, the CPU Usage Monitor will re-analyze the data by comparing it against the Short-Term Threshold value specified. During this comparison process, the most recent test results are measured against the data obtained from tests that occurred within the length of time specified in the Sample Size field.

This dual threshold method prevents false Alerts from occurring each time a spike in CPU consumption is detected. Alerts will only be triggered if processor load does not return to normal within the required period of time, indicating a steady CPU load increase that may affect system performance.

Top of page

Step 3: Create the New CPU Usage Monitor

Monitor Identification

Monitor Name
Enter a concise, descriptive name for the new Monitor. The Monitor Name will be displayed in the Monitors List, Monitor Status, Reports and Logs pages. Names may not be greater than 64 characters. Since ipMonitor does not use the name field to identify the Monitor internally, Monitor Names can be changed at any time without data loss.

Selected Group
From the drop-down list, select one of the existing Groups to which the new Monitor will automatically be added upon creation.

Create Monitor Enabled
Once the Monitor is created, it will immediately start testing the bandwidth usage on the specified server or device. This option is enabled by default.

Store Monitor Statistics for Recent Activity and Historical Reports
ipMonitor will immediately begin to record test results, which are then used to generate Recent Activity and Historical Reports. This option is disabled by default.

Create
Click the Create button to exit the wizard and access the new Monitor in edit mode. You can make any final modifications to the Monitor in this mode, including setting Timing and Notification parameters.

Once you're satisfied with the configuration settings, click the OK button at the bottom of the page. The new Monitor will be displayed within the Monitors List, and can be accessed for further configuration adjustments at any time.

Top of page

Test Results

When the Monitor is in an Up state, test results are reported as shown in the example below:

rtt - Round-Trip Time. This value indicates the time it took the test packet to reach the monitored resource and return a response to ipMonitor. Round-trip time is measured in milliseconds (ms).

usage - This value indicates the CPU load currently on the system, represented as a percentage (%).

usage-avg - This value indicates the average CPU load on the system, represented as a percentage (%). It is based on the tests performed during the length of time specified in the Sample Size field.

When the Monitor is in a Warn, Down, or Lost state, the Last Result field indicates the problem encountered. Different Monitor types generate specific Error Codes in accordance with the technical capabilities of the Monitor. Refer to the Error Codes section of this document for details.

Top of page

Notes About the CPU Usage Monitor

Note1: The CPU Usage Monitor Wizard allows you to configure CPU Usage Monitors quickly and easily. However, if you'd prefer greater control over the process, you can Clone an existing CPU Usage Monitor and make any required configuration changes manually.

Note2: For information on settings common to all Monitor types, such as Identification, Timing, Notification Control and Recovery Parameters, refer to General Monitor Settings.

Top of page

Error Codes

The following error codes are generated by the CPU Usage Monitor. Error codes are displayed in Real-time and Historical Reports. They can also be added to Alerts using Tokens.

  Message   Details
Configuration information for this item is missing some required fields  A required element(s) for Monitor connectivity or testing was not supplied to ipMonitor. 
The pattern describing the PASS state was not detected  The data sent by the server did not contain the search pattern required for a PASS condition. 
The specified resource was not found on the remote device  The specified processor to be monitored was not found on the remote server or device being queried. 
The required state information is not available  Temporary information used to let the Monitor know where to resume cannot be read. 
The remote device did not keep up with the expected transmission rate  The server sent data at a lower rate than expected for this protocol. 
Unable to connect to the remote device  The specified address to the connection-based Service is unavailable. 
Could not obtain an IP address for the remote device  The supplied address was not a valid IP address OR the Server Domain Name could not be translated into an IP address. The Server Domain Name may refer to a local machine name, or to a fully qualified domain name. 
The remote device sent more data than expected  The server sent more data than expected for this protocol. This is usually due to an error in the software being monitored. 
The remote device timed out before sending a response  The resource being monitored did not respond within the maximum allowable time. 
The response from the remote device does not adhere to protocol specification  The resource is either not adhering to the protocol standard or ipMonitor does not understand a proprietary change in the protocol. 
The remote device failed to respond  The server did not provide any response before disconnecting. 
The remote device provided an empty list of values  No data was returned from the remote server. 
The response from the remote device was incomprehensible  The resource being monitored responded with invalid data. 

Top of page

Additional Resources

For information on other features and concepts related to those discussed in this article, refer to the following ipMonitor resources:

< Back

Last Updated: March 30, 2007 | What did you think of this topic?

Privacy Statement | Terms of Use | EULA | Contact | Site Map

Prices displayed do not reflect international pricing unless otherwise stated. Please see our international price list for current pricing specific to your location. All prices are subject to change without notice.

© 2003-2008 SolarWinds.net, Inc. All Rights Reserved. SolarWinds®, the SolarWinds logo, ipMonitor®, LANsurveyor®, and Orion® are among the trademarks or registered trademarks of the company in the United States and/or other countries. All other trademarks are property of their respective owners.