History | Log In     View a printable version of the current page.  
Hyperic HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1914
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Doug MacEachern
Reporter: Doug MacEachern
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Add "Start Type" metric to Windows Service

Created: 02/Apr/08 09:32 AM   Updated: 17/Apr/08 11:12 AM
Component/s: Plugins
Affects Version/s: None
Fix Version/s: 4.0.0, 3.2.3

Verify By: Ilaya Perumal
Last comment: 25 weeks, 2 days ago
Resolution Date: 17/Apr/08 11:12 AM


 Description  « Hide
The Windows Service within the system plugin should expose "Start Type" as a metric, where:

Automatic == 2
Manual == 3
Disabled == 4

Values are as defined by QUERY_SERVICE_CONFIG.dwStartType:
http://msdn2.microsoft.com/en-us/library/ms684950(VS.85).aspx


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Doug MacEachern - 02/Apr/08 11:31 AM
Added for 3.2.3 and 4.0.0

Ilaya Perumal - 16/Apr/08 09:49 AM
Getting following error while configuring Windows Service as a "New Platform Service".

I have taken the "Eventlog" service and while configuring get the following error from agent.log:

2008-04-16 11:41:42,817 ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Error retrieving value: \Eventlog\Availability
2008-04-16 11:41:43,864 ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Error retrieving value: Failed to invoke getProcCpu[Pid.Service.eq=%service_name%]: The parameter is incorrect.
: Pid.Service.eq=%service_name%
2008-04-16 11:41:43,879 ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Error retrieving value: Failed to invoke getProcFd[Pid.Service.eq=%service_name%]: No such process: Pid.Service.eq=%service_name%
2008-04-16 11:41:43,895 ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Error retrieving value: \%service_name%\Availability

The UI shows,

The configuration has not been set for this resource due to : Invalid configuration: Error retrieving value: \Eventlog\Availability

Please note that I tried configuring some other windows service, DNSCache, TermService and got the same error.

Kashyap Parikh - 17/Apr/08 11:12 AM
Looks good with 3.2.3 #659. I see Start Type as metric and it gets updated correctly with change to windows service start type.