Win32_PerfRawData_ASMcuPerf vbscript 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_PerfRawData_ASMcuPerf WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
Sample Code
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_PerfRawData_ASMcuPerf_LCAsMcu00AsMcuConferences") For Each objItem in colItems WScript.Echo "ASMCU000ActiveConferences:" & objItem.ASMCU000ActiveConferences WScript.Echo "ASMCU001ActiveConferencesMax:" & objItem.ASMCU001ActiveConferencesMax WScript.Echo "ASMCU002ActiveConferencesperSecond:" & objItem.ASMCU002ActiveConferencesperSecond WScript.Echo "ASMCU003ActiveTranscoders:" & objItem.ASMCU003ActiveTranscoders WScript.Echo "ASMCU004ActiveTranscodersMax:" & objItem.ASMCU004ActiveTranscodersMax WScript.Echo "ASMCU005ActiveTranscodersperSecond:" & objItem.ASMCU005ActiveTranscodersperSecond WScript.Echo "ASMCU006ActiveDataChannels:" & objItem.ASMCU006ActiveDataChannels WScript.Echo "ASMCU007ActiveDataChannelsperConference:" & objItem.ASMCU007ActiveDataChannelsperConference WScript.Echo "ASMCU008ActiveDataChannelsMax:" & objItem.ASMCU008ActiveDataChannelsMax WScript.Echo "ASMCU009ActiveDataChannelsperSecond:" & objItem.ASMCU009ActiveDataChannelsperSecond WScript.Echo "ASMCU010ConnectedUsers:" & objItem.ASMCU010ConnectedUsers WScript.Echo "ASMCU011ConnectedUsersperConference:" & objItem.ASMCU011ConnectedUsersperConference WScript.Echo "ASMCU012ConnectedUsersMax:" & objItem.ASMCU012ConnectedUsersMax WScript.Echo "ASMCU013ConnectedUsersperSecond:" & objItem.ASMCU013ConnectedUsersperSecond WScript.Echo "ASMCU014ConferencesCreatedTotal:" & objItem.ASMCU014ConferencesCreatedTotal WScript.Echo "ASMCU015ActiveTrustedServerConnections:" & objItem.ASMCU015ActiveTrustedServerConnections WScript.Echo "ASMCU016ActiveTrustedServerConnectionsperConference:" & objItem.ASMCU016ActiveTrustedServerConnectionsperConference WScript.Echo "ASMCU017ActiveTrustedServerConnectionsMax:" & objItem.ASMCU017ActiveTrustedServerConnectionsMax WScript.Echo "ASMCU018ActiveTrustedServerConnectionsperSecond:" & objItem.ASMCU018ActiveTrustedServerConnectionsperSecond WScript.Echo "ASMCU019ActiveAjaxViewers:" & objItem.ASMCU019ActiveAjaxViewers WScript.Echo "ASMCU020ActiveAjaxViewersperConference:" & objItem.ASMCU020ActiveAjaxViewersperConference WScript.Echo "ASMCU021ActiveAjaxViewersMax:" & objItem.ASMCU021ActiveAjaxViewersMax WScript.Echo "ASMCU022ActiveAjaxViewersperSecond:" & objItem.ASMCU022ActiveAjaxViewersperSecond WScript.Echo "ASMCU023ActiveAnonymousConnections:" & objItem.ASMCU023ActiveAnonymousConnections WScript.Echo "ASMCU024ActiveAnonymousConnectionsperConference:" & objItem.ASMCU024ActiveAnonymousConnectionsperConference WScript.Echo "ASMCU025ActiveAnonymousConnectionsMax:" & objItem.ASMCU025ActiveAnonymousConnectionsMax WScript.Echo "ASMCU026ActiveAnonymousUserConnectionsperSecond:" & objItem.ASMCU026ActiveAnonymousUserConnectionsperSecond WScript.Echo "ASMCU027ActiveFederatedConnections:" & objItem.ASMCU027ActiveFederatedConnections WScript.Echo "ASMCU028ActiveFederatedConnectionsperConference:" & objItem.ASMCU028ActiveFederatedConnectionsperConference WScript.Echo "ASMCU029ActiveFederatedConnectionsMax:" & objItem.ASMCU029ActiveFederatedConnectionsMax WScript.Echo "ASMCU030ActiveFederatedConnectionsperSecond:" & objItem.ASMCU030ActiveFederatedConnectionsperSecond WScript.Echo "ASMCU031ActiveExternalConnections:" & objItem.ASMCU031ActiveExternalConnections WScript.Echo "ASMCU032ActiveExternalConnectionsperConference:" & objItem.ASMCU032ActiveExternalConnectionsperConference WScript.Echo "ASMCU033ActiveExternalConnectionsMax:" & objItem.ASMCU033ActiveExternalConnectionsMax WScript.Echo "ASMCU034ActiveExternalConnectionsperSecond:" & objItem.ASMCU034ActiveExternalConnectionsperSecond WScript.Echo "ASMCU035TotalTranscoderErrors:" & objItem.ASMCU035TotalTranscoderErrors WScript.Echo "ASMCU036TotalCreateTranscoderErrors:" & objItem.ASMCU036TotalCreateTranscoderErrors WScript.Echo "ASMCU037TotalCloseTranscoderErrors:" & objItem.ASMCU037TotalCloseTranscoderErrors WScript.Echo "Caption:" & objItem.Caption WScript.Echo "Description:" & objItem.Description WScript.Echo "Frequency_Object:" & objItem.Frequency_Object WScript.Echo "Frequency_PerfTime:" & objItem.Frequency_PerfTime WScript.Echo "Frequency_Sys100NS:" & objItem.Frequency_Sys100NS WScript.Echo "Name:" & objItem.Name WScript.Echo "Timestamp_Object:" & objItem.Timestamp_Object WScript.Echo "Timestamp_PerfTime:" & objItem.Timestamp_PerfTime WScript.Echo "Timestamp_Sys100NS:" & objItem.Timestamp_Sys100NS WScript.Echo "" WScript.Echo "########" WScript.Echo "" Next