Datacollection for Terminal Services on W2K8+

Description

There is no WMI class Win32_PerfFormattedData_TermService_TerminalServices on Windows 2008 server.
I would like you to add to the default wmi-configuration.xml:

<wpm name="win32_terminalservices2k8" wmiClass="Win32_PerfFormattedData_LocalSessionManager_TerminalServices" keyvalue="ActiveSessions" recheckInterval="3600000" ifType="all" resourceType="node"> <!-- Collect these attributes. * Name is the unique name used for keyvalue. * Alias is the local name for the RRD file. * wmiObject is the WMI object instance. * Type is used to convert values around. The number of active sessions, including the console. --> <attrib name="ActiveSessions" alias="wmiTSSessActive" wmiObject="ActiveSessions" type="Gauge"/> <!-- The number of inactive (idle, disconnected) sessions. --> <attrib name="InactiveSessions" alias="wmiTSSessInactive" wmiObject="InactiveSessions" type="Gauge"/> <!-- The total number of sessions. --> <attrib name="TotalSessions" alias="wmiTSSessTotal" wmiObject="TotalSessions" type="Gauge"/> </wpm>

This is a copy of the setting just with another class Win32_PerfFormattedData_LocalSessionManager_TerminalServices and of course a different name.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Ronny Trommer December 14, 2014 at 12:56 PM

Ronny Trommer December 13, 2014 at 11:53 PM

I have split the pull request for each JIRA issue which makes it easier to track. The pull request for this issue is https://github.com/OpenNMS/opennms/pull/189

Tim Miller Dyck December 13, 2014 at 7:51 PM
Edited

The patch for this has been re-based on the current "develop" branch. The pull request is here:

https://github.com/OpenNMS/opennms/pull/187

Tim Miller Dyck October 20, 2014 at 10:12 AM

Hi Markus, checking in to see if the posted patch is OK. It would be nice to get it in.

Thanks,
Tim Miller Dyck

Tim Miller Dyck September 6, 2014 at 1:26 PM

The patch addressing this is in the following GitHub pull request: https://github.com/OpenNMS/opennms/pull/108

Regards,
Tim Miller Dyck

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

PagerDuty

Created June 10, 2011 at 11:19 AM
Updated December 28, 2014 at 4:29 AM
Resolved December 14, 2014 at 12:56 PM

Flag notifications