Win32_PerfFormattedData_AcpMcuPerf python sample code
The foundations for Manageability in Windows is Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself. The Win32_PerfFormattedData_AcpMcuPerf WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
Sample Code
from win32com.client import GetObject
objWMI = GetObject('winmgmts:').InstancesOf('Win32_PerfFormattedData_AcpMcuPerf_LCAcpMcu00AcpMcuConferences')
for obj in objWMI:
if obj.ACPMCU000ActiveConferences != None:
print("ACPMCU000ActiveConferences:" + str(obj.ACPMCU000ActiveConferences))
if obj.ACPMCU001CccpRequestsforwardedtoACP != None:
print("ACPMCU001CccpRequestsforwardedtoACP:" + str(obj.ACPMCU001CccpRequestsforwardedtoACP))
if obj.ACPMCU002CccpRequestsforwardedtoACPpersecond != None:
print("ACPMCU002CccpRequestsforwardedtoACPpersecond:" + str(obj.ACPMCU002CccpRequestsforwardedtoACPpersecond))
if obj.ACPMCU003CccpResponsesforwardedtoFocus != None:
print("ACPMCU003CccpResponsesforwardedtoFocus:" + str(obj.ACPMCU003CccpResponsesforwardedtoFocus))
if obj.ACPMCU004CccpResponsesforwardedtoFocuspersecond != None:
print("ACPMCU004CccpResponsesforwardedtoFocuspersecond:" + str(obj.ACPMCU004CccpResponsesforwardedtoFocuspersecond))
if obj.ACPMCU005NotifysforwardedtoFocus != None:
print("ACPMCU005NotifysforwardedtoFocus:" + str(obj.ACPMCU005NotifysforwardedtoFocus))
if obj.ACPMCU006NotifysforwardedtoFocuspersec != None:
print("ACPMCU006NotifysforwardedtoFocuspersec:" + str(obj.ACPMCU006NotifysforwardedtoFocuspersec))
if obj.ACPMCU007ThrottledSipConnections != None:
print("ACPMCU007ThrottledSipConnections:" + str(obj.ACPMCU007ThrottledSipConnections))
if obj.Caption != None:
print("Caption:" + str(obj.Caption))
if obj.Description != None:
print("Description:" + str(obj.Description))
if obj.Frequency_Object != None:
print("Frequency_Object:" + str(obj.Frequency_Object))
if obj.Frequency_PerfTime != None:
print("Frequency_PerfTime:" + str(obj.Frequency_PerfTime))
if obj.Frequency_Sys100NS != None:
print("Frequency_Sys100NS:" + str(obj.Frequency_Sys100NS))
if obj.Name != None:
print("Name:" + str(obj.Name))
if obj.Timestamp_Object != None:
print("Timestamp_Object:" + str(obj.Timestamp_Object))
if obj.Timestamp_PerfTime != None:
print("Timestamp_PerfTime:" + str(obj.Timestamp_PerfTime))
if obj.Timestamp_Sys100NS != None:
print("Timestamp_Sys100NS:" + str(obj.Timestamp_Sys100NS))
print("")
print("########")
print("")
