Win32_PerfFormattedData_ASMcuPerf 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_ASMcuPerf 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_ASMcuPerf_LCAsMcu00AsMcuConferences')
for obj in objWMI:
if obj.ASMCU000ActiveConferences != None:
print("ASMCU000ActiveConferences:" + str(obj.ASMCU000ActiveConferences))
if obj.ASMCU001ActiveConferencesMax != None:
print("ASMCU001ActiveConferencesMax:" + str(obj.ASMCU001ActiveConferencesMax))
if obj.ASMCU002ActiveConferencesperSecond != None:
print("ASMCU002ActiveConferencesperSecond:" + str(obj.ASMCU002ActiveConferencesperSecond))
if obj.ASMCU003ActiveTranscoders != None:
print("ASMCU003ActiveTranscoders:" + str(obj.ASMCU003ActiveTranscoders))
if obj.ASMCU004ActiveTranscodersMax != None:
print("ASMCU004ActiveTranscodersMax:" + str(obj.ASMCU004ActiveTranscodersMax))
if obj.ASMCU005ActiveTranscodersperSecond != None:
print("ASMCU005ActiveTranscodersperSecond:" + str(obj.ASMCU005ActiveTranscodersperSecond))
if obj.ASMCU006ActiveDataChannels != None:
print("ASMCU006ActiveDataChannels:" + str(obj.ASMCU006ActiveDataChannels))
if obj.ASMCU007ActiveDataChannelsperConference != None:
print("ASMCU007ActiveDataChannelsperConference:" + str(obj.ASMCU007ActiveDataChannelsperConference))
if obj.ASMCU008ActiveDataChannelsMax != None:
print("ASMCU008ActiveDataChannelsMax:" + str(obj.ASMCU008ActiveDataChannelsMax))
if obj.ASMCU009ActiveDataChannelsperSecond != None:
print("ASMCU009ActiveDataChannelsperSecond:" + str(obj.ASMCU009ActiveDataChannelsperSecond))
if obj.ASMCU010ConnectedUsers != None:
print("ASMCU010ConnectedUsers:" + str(obj.ASMCU010ConnectedUsers))
if obj.ASMCU011ConnectedUsersperConference != None:
print("ASMCU011ConnectedUsersperConference:" + str(obj.ASMCU011ConnectedUsersperConference))
if obj.ASMCU012ConnectedUsersMax != None:
print("ASMCU012ConnectedUsersMax:" + str(obj.ASMCU012ConnectedUsersMax))
if obj.ASMCU013ConnectedUsersperSecond != None:
print("ASMCU013ConnectedUsersperSecond:" + str(obj.ASMCU013ConnectedUsersperSecond))
if obj.ASMCU014ConferencesCreatedTotal != None:
print("ASMCU014ConferencesCreatedTotal:" + str(obj.ASMCU014ConferencesCreatedTotal))
if obj.ASMCU015ActiveTrustedServerConnections != None:
print("ASMCU015ActiveTrustedServerConnections:" + str(obj.ASMCU015ActiveTrustedServerConnections))
if obj.ASMCU016ActiveTrustedServerConnectionsperConference != None:
print("ASMCU016ActiveTrustedServerConnectionsperConference:" + str(obj.ASMCU016ActiveTrustedServerConnectionsperConference))
if obj.ASMCU017ActiveTrustedServerConnectionsMax != None:
print("ASMCU017ActiveTrustedServerConnectionsMax:" + str(obj.ASMCU017ActiveTrustedServerConnectionsMax))
if obj.ASMCU018ActiveTrustedServerConnectionsperSecond != None:
print("ASMCU018ActiveTrustedServerConnectionsperSecond:" + str(obj.ASMCU018ActiveTrustedServerConnectionsperSecond))
if obj.ASMCU019ActiveAjaxViewers != None:
print("ASMCU019ActiveAjaxViewers:" + str(obj.ASMCU019ActiveAjaxViewers))
if obj.ASMCU020ActiveAjaxViewersperConference != None:
print("ASMCU020ActiveAjaxViewersperConference:" + str(obj.ASMCU020ActiveAjaxViewersperConference))
if obj.ASMCU021ActiveAjaxViewersMax != None:
print("ASMCU021ActiveAjaxViewersMax:" + str(obj.ASMCU021ActiveAjaxViewersMax))
if obj.ASMCU022ActiveAjaxViewersperSecond != None:
print("ASMCU022ActiveAjaxViewersperSecond:" + str(obj.ASMCU022ActiveAjaxViewersperSecond))
if obj.ASMCU023ActiveAnonymousConnections != None:
print("ASMCU023ActiveAnonymousConnections:" + str(obj.ASMCU023ActiveAnonymousConnections))
if obj.ASMCU024ActiveAnonymousConnectionsperConference != None:
print("ASMCU024ActiveAnonymousConnectionsperConference:" + str(obj.ASMCU024ActiveAnonymousConnectionsperConference))
if obj.ASMCU025ActiveAnonymousConnectionsMax != None:
print("ASMCU025ActiveAnonymousConnectionsMax:" + str(obj.ASMCU025ActiveAnonymousConnectionsMax))
if obj.ASMCU026ActiveAnonymousUserConnectionsperSecond != None:
print("ASMCU026ActiveAnonymousUserConnectionsperSecond:" + str(obj.ASMCU026ActiveAnonymousUserConnectionsperSecond))
if obj.ASMCU027ActiveFederatedConnections != None:
print("ASMCU027ActiveFederatedConnections:" + str(obj.ASMCU027ActiveFederatedConnections))
if obj.ASMCU028ActiveFederatedConnectionsperConference != None:
print("ASMCU028ActiveFederatedConnectionsperConference:" + str(obj.ASMCU028ActiveFederatedConnectionsperConference))
if obj.ASMCU029ActiveFederatedConnectionsMax != None:
print("ASMCU029ActiveFederatedConnectionsMax:" + str(obj.ASMCU029ActiveFederatedConnectionsMax))
if obj.ASMCU030ActiveFederatedConnectionsperSecond != None:
print("ASMCU030ActiveFederatedConnectionsperSecond:" + str(obj.ASMCU030ActiveFederatedConnectionsperSecond))
if obj.ASMCU031ActiveExternalConnections != None:
print("ASMCU031ActiveExternalConnections:" + str(obj.ASMCU031ActiveExternalConnections))
if obj.ASMCU032ActiveExternalConnectionsperConference != None:
print("ASMCU032ActiveExternalConnectionsperConference:" + str(obj.ASMCU032ActiveExternalConnectionsperConference))
if obj.ASMCU033ActiveExternalConnectionsMax != None:
print("ASMCU033ActiveExternalConnectionsMax:" + str(obj.ASMCU033ActiveExternalConnectionsMax))
if obj.ASMCU034ActiveExternalConnectionsperSecond != None:
print("ASMCU034ActiveExternalConnectionsperSecond:" + str(obj.ASMCU034ActiveExternalConnectionsperSecond))
if obj.ASMCU035TotalTranscoderErrors != None:
print("ASMCU035TotalTranscoderErrors:" + str(obj.ASMCU035TotalTranscoderErrors))
if obj.ASMCU036TotalCreateTranscoderErrors != None:
print("ASMCU036TotalCreateTranscoderErrors:" + str(obj.ASMCU036TotalCreateTranscoderErrors))
if obj.ASMCU037TotalCloseTranscoderErrors != None:
print("ASMCU037TotalCloseTranscoderErrors:" + str(obj.ASMCU037TotalCloseTranscoderErrors))
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("")
