Windows Service Service

Topics marked with * relate to features available only in vFabric Hyperic.

Monitoring a Windows Service

Hyperic can monitor a windows service. You configure a platform service of type "Windows Service" on a Windows platform

Resource Plugin, Functions, and Classes

The Windows Service service type is managed by Hyperic's system plugin.

Configure the Windows Service in Hyperic

The "Windows Service" service type must be manually configured.

  1. If you know the name of the Windows Service, proceed to step 2. Otherwise:

    1. Select Run from the Windows Start menu.

    2. Type services.msc in the run dialog and click OK.

  2. In the list of services displayed, right-click the service you wish to monitor and choose Properties.

    1. Locate the Service Name on the General tab.

  3. In the Hyperic user interface, navigate to the Windows platform where the service runs.

  4. Select New Platform Service from the Tools menu.

  5. On New Service page, enter a name for the service and select "Windows Service" from the Service Type pull-down.

  6. Supply all required values on the Configuration Properties page. Configuration options are shown below in Windows Service Configuration Properties Page.

Windows Service Configuration Properties Page

The Configuration Properties page for the Windows Service service type is shown below.

images/download/attachments/79038211/WindowsServiceConfig.png

Windows Service Metrics

Name

Alias

Units

Category

Default On

Default Interval

Availability

Availability

percentage

Availability

true

10

Start Type

StartType

None

false

30

 

Memory Size

MemSize

B

UTILIZATION

5

 

Resident Memory Size

ResidentMemSize

B

UTILIZATION

5

 

Cpu System Time

SystemTime

 

UTILIZATION

10

 

Cpu User Time

UserTime

ms

UTILIZATION

10

 

Cpu Total Time

TotalTime

ms

UTILIZATION

10

 

Cpu Usage

Usage

ms

UTILIZATION

true

5

Start Time

StartTime

epoch-millis

UTILIZATION

30

 

Open Handles

OpenHandles

 

UTILIZATION

 

 

Threads

 

none

UTILIZATION

 

 

Windows Service Monitoring Defaults Page

You can enable and disable metrics, select indicator metrics, and change the collection interval for a resource type on its Monitoring Defaults page. To navigate to a resource type's Monitoring Defaults page:

  1. Click the Administration tab.

  2. Click Monitoring Defaults.

  3. Scroll down to the resource type and click Edit Metric Template.

The Monitoring Defaults page for the Windows Service service type is shown below:

images/download/attachments/79038211/WindowsServiceMetrics.png

Event Tracking

You can enable log tracking for a network service. If you do, the agent will log an event for responses that match the criteria you specify.

To enable log tracking, click the Enable Log Tracking box in the Monitoring section of the Configuration Properties page.

For information about Hyperic log tracking functionality and configuration options, and how to view log events, see Set Up Log Tracking for a Resource.