LCMCUF01CCCPProcessing - WMI sample in Perl
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are 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.
On this site, you can find many WMI samples.
The LCMCUF01CCCPProcessing WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
LCMCUF01CCCPProcessing
Example(s)
use Win32::OLE('in'); my $computer = "."; my $objWMIService = Win32::OLE->GetObject("winmgmts:\\\\$computer\\root\\CIMV2") or die "WMI connection failed.\n"; my $colItems = $objWMIService->ExecQuery("SELECT * FROM Win32_PerfRawData_McuFactoryPerf_LCMCUF01CCCPProcessing", "WQL"); foreach my $objItem (in $colItems) { print "Caption: $objItem->{Caption}\n"; print "Description: $objItem->{Description}\n"; print "Frequency_Object: $objItem->{Frequency_Object}\n"; print "Frequency_PerfTime: $objItem->{Frequency_PerfTime}\n"; print "Frequency_Sys100NS: $objItem->{Frequency_Sys100NS}\n"; print "MCUF000TotalCCCPMessagesReceived: $objItem->{MCUF000TotalCCCPMessagesReceived}\n"; print "MCUF001CCCPMessagesReceivedPersec: $objItem->{MCUF001CCCPMessagesReceivedPersec}\n"; print "MCUF002TotalCCCPRequestsReceived: $objItem->{MCUF002TotalCCCPRequestsReceived}\n"; print "MCUF003CCCPRequestsReceivedPersec: $objItem->{MCUF003CCCPRequestsReceivedPersec}\n"; print "MCUF004TotalCCCPResponsesReceived: $objItem->{MCUF004TotalCCCPResponsesReceived}\n"; print "MCUF005CCCPResponsesReceivedPersec: $objItem->{MCUF005CCCPResponsesReceivedPersec}\n"; print "MCUF006TotalCCCPNotificationsReceived: $objItem->{MCUF006TotalCCCPNotificationsReceived}\n"; print "MCUF007CCCPNotificationsReceivedPersec: $objItem->{MCUF007CCCPNotificationsReceivedPersec}\n"; print "MCUF008TotalCCCPMessagesSent: $objItem->{MCUF008TotalCCCPMessagesSent}\n"; print "MCUF009CCCPMessagesSentPersec: $objItem->{MCUF009CCCPMessagesSentPersec}\n"; print "MCUF010TotalCCCPRequestsSent: $objItem->{MCUF010TotalCCCPRequestsSent}\n"; print "MCUF011CCCPRequestsSentPersec: $objItem->{MCUF011CCCPRequestsSentPersec}\n"; print "MCUF012TotalCCCPResponsesSent: $objItem->{MCUF012TotalCCCPResponsesSent}\n"; print "MCUF013CCCPResponsesSentPersec: $objItem->{MCUF013CCCPResponsesSentPersec}\n"; print "MCUF014TotalCCCPNotificationsSent: $objItem->{MCUF014TotalCCCPNotificationsSent}\n"; print "MCUF015CCCPNotificationsSentPersec: $objItem->{MCUF015CCCPNotificationsSentPersec}\n"; print "MCUF016TotalCCCPMessagesRetried: $objItem->{MCUF016TotalCCCPMessagesRetried}\n"; print "MCUF017CCCPMessagesRetriedPersec: $objItem->{MCUF017CCCPMessagesRetriedPersec}\n"; print "MCUF018TotalCCCPMessagesFailed: $objItem->{MCUF018TotalCCCPMessagesFailed}\n"; print "MCUF019CurrentCCCPMessageQueueSize: $objItem->{MCUF019CurrentCCCPMessageQueueSize}\n"; print "MCUF020NumberofActiveConferenceNotifiers: $objItem->{MCUF020NumberofActiveConferenceNotifiers}\n"; print "MCUF021NumberofConferenceNotificationsSent: $objItem->{MCUF021NumberofConferenceNotificationsSent}\n"; print "MCUF022NumberofConferenceNotificationSendRetries: $objItem->{MCUF022NumberofConferenceNotificationSendRetries}\n"; print "MCUF023NumberofConferenceNotificationSendAborts: $objItem->{MCUF023NumberofConferenceNotificationSendAborts}\n"; print "MCUF024NumberofInvalidConferenceNotificationsSent: $objItem->{MCUF024NumberofInvalidConferenceNotificationsSent}\n"; print "MCUF025NumberofConferenceNotificationSenttoNonExisitentConferences: $objItem->{MCUF025NumberofConferenceNotificationSenttoNonExisitentConferences}\n"; print "MCUF026NumberofUnrecognizedCCCPmessages: $objItem->{MCUF026NumberofUnrecognizedCCCPmessages}\n"; print "MCUF027NumberofExceptionsDuringCCCPSerialization: $objItem->{MCUF027NumberofExceptionsDuringCCCPSerialization}\n"; print "MCUF028NumberofExceptionsDuringCCCPMessageProcessing: $objItem->{MCUF028NumberofExceptionsDuringCCCPMessageProcessing}\n"; print "MCUF029AverageprocessingtimeofincomingCCCPmessages: $objItem->{MCUF029AverageprocessingtimeofincomingCCCPmessages}\n"; print "MCUF030Numberofoutstandingreceiveoperations: $objItem->{MCUF030Numberofoutstandingreceiveoperations}\n"; print "MCUF031TotalAddConferenceRequestsProcessed: $objItem->{MCUF031TotalAddConferenceRequestsProcessed}\n"; print "MCUF032TotalAddEndpointMediaRequestsProcessed: $objItem->{MCUF032TotalAddEndpointMediaRequestsProcessed}\n"; print "MCUF033TotalAddSidebarRequestsProcessed: $objItem->{MCUF033TotalAddSidebarRequestsProcessed}\n"; print "MCUF034TotalAddUserRequestsProcessed: $objItem->{MCUF034TotalAddUserRequestsProcessed}\n"; print "MCUF035TotalDeleteConferenceRequestsProcessed: $objItem->{MCUF035TotalDeleteConferenceRequestsProcessed}\n"; print "MCUF036TotalDeleteEndpointMediaRequestsProcessed: $objItem->{MCUF036TotalDeleteEndpointMediaRequestsProcessed}\n"; print "MCUF037TotalDeleteSidebarRequestsProcessed: $objItem->{MCUF037TotalDeleteSidebarRequestsProcessed}\n"; print "MCUF038TotalDeleteUserRequestsProcessed: $objItem->{MCUF038TotalDeleteUserRequestsProcessed}\n"; print "MCUF039TotalGetAvailableMcuTypesRequestsProcessed: $objItem->{MCUF039TotalGetAvailableMcuTypesRequestsProcessed}\n"; print "MCUF040TotalGetConferenceRequestsProcessed: $objItem->{MCUF040TotalGetConferenceRequestsProcessed}\n"; print "MCUF041TotalGetConferencesRequestsProcessed: $objItem->{MCUF041TotalGetConferencesRequestsProcessed}\n"; print "MCUF042TotalGetEncryptionKeyRequestsProcessed: $objItem->{MCUF042TotalGetEncryptionKeyRequestsProcessed}\n"; print "MCUF043TotalGetMcuRequestsProcessed: $objItem->{MCUF043TotalGetMcuRequestsProcessed}\n"; print "MCUF044TotalVerifyConferenceKeyRequestsProcessed: $objItem->{MCUF044TotalVerifyConferenceKeyRequestsProcessed}\n"; print "MCUF045TotalModifyConferenceRequestsProcessed: $objItem->{MCUF045TotalModifyConferenceRequestsProcessed}\n"; print "MCUF046TotalModifyConferenceLockRequestsProcessed: $objItem->{MCUF046TotalModifyConferenceLockRequestsProcessed}\n"; print "MCUF047TotalModifyEndpointMediaRequestsProcessed: $objItem->{MCUF047TotalModifyEndpointMediaRequestsProcessed}\n"; print "MCUF048TotalModifyEndpointRoleRequestsProcessed: $objItem->{MCUF048TotalModifyEndpointRoleRequestsProcessed}\n"; print "MCUF049TotalModifySidebarRequestsProcessed: $objItem->{MCUF049TotalModifySidebarRequestsProcessed}\n"; print "MCUF050TotalModifyUserRequestsProcessed: $objItem->{MCUF050TotalModifyUserRequestsProcessed}\n"; print "MCUF051TotalModifyUsersMediaFiltersRequestsProcessed: $objItem->{MCUF051TotalModifyUsersMediaFiltersRequestsProcessed}\n"; print "MCUF052TotalModifyUserRolesRequestsProcessed: $objItem->{MCUF052TotalModifyUserRolesRequestsProcessed}\n"; print "MCUF053TotalMoveUserToSidebarRequestsProcessed: $objItem->{MCUF053TotalMoveUserToSidebarRequestsProcessed}\n"; print "MCUF054TotalPingRequestsProcessed: $objItem->{MCUF054TotalPingRequestsProcessed}\n"; print "MCUF055TotalPlayRecordedNameRequestsProcessed: $objItem->{MCUF055TotalPlayRecordedNameRequestsProcessed}\n"; print "MCUF056TotalSetUserAccessRequestsProcessed: $objItem->{MCUF056TotalSetUserAccessRequestsProcessed}\n"; print "MCUF057TotalStartRecordingRequestsProcessed: $objItem->{MCUF057TotalStartRecordingRequestsProcessed}\n"; print "MCUF058TotalStopRecordingRequestsProcessed: $objItem->{MCUF058TotalStopRecordingRequestsProcessed}\n"; print "MCUF059TotalPauseRecordingRequestsProcessed: $objItem->{MCUF059TotalPauseRecordingRequestsProcessed}\n"; print "MCUF060TotalResumeRecordingRequestsProcessed: $objItem->{MCUF060TotalResumeRecordingRequestsProcessed}\n"; print "MCUF061TotalGetConferencingCapabilitiesRequestsProcessed: $objItem->{MCUF061TotalGetConferencingCapabilitiesRequestsProcessed}\n"; print "MCUF062TotalResolveConferenceRequestsProcessed: $objItem->{MCUF062TotalResolveConferenceRequestsProcessed}\n"; print "MCUF063TotalAddConferenceResponsesProcessed: $objItem->{MCUF063TotalAddConferenceResponsesProcessed}\n"; print "MCUF064TotalAddEndpointMediaResponsesProcessed: $objItem->{MCUF064TotalAddEndpointMediaResponsesProcessed}\n"; print "MCUF065TotalAddSidebarResponsesProcessed: $objItem->{MCUF065TotalAddSidebarResponsesProcessed}\n"; print "MCUF066TotalAddUserResponsesProcessed: $objItem->{MCUF066TotalAddUserResponsesProcessed}\n"; print "MCUF067TotalDeleteConferenceResponsesProcessed: $objItem->{MCUF067TotalDeleteConferenceResponsesProcessed}\n"; print "MCUF068TotalDeleteEndpointMediaResponsesProcessed: $objItem->{MCUF068TotalDeleteEndpointMediaResponsesProcessed}\n"; print "MCUF069TotalDeleteSidebarResponsesProcessed: $objItem->{MCUF069TotalDeleteSidebarResponsesProcessed}\n"; print "MCUF070TotalDeleteUserResponsesProcessed: $objItem->{MCUF070TotalDeleteUserResponsesProcessed}\n"; print "MCUF071TotalVerifyConferenceKeyResponsesProcessed: $objItem->{MCUF071TotalVerifyConferenceKeyResponsesProcessed}\n"; print "MCUF072TotalGetAvailableMcuTypesResponsesProcessed: $objItem->{MCUF072TotalGetAvailableMcuTypesResponsesProcessed}\n"; print "MCUF073TotalGetConferenceResponsesProcessed: $objItem->{MCUF073TotalGetConferenceResponsesProcessed}\n"; print "MCUF074TotalGetConferencesResponsesProcessed: $objItem->{MCUF074TotalGetConferencesResponsesProcessed}\n"; print "MCUF075TotalGetEncryptionKeyResponsesProcessed: $objItem->{MCUF075TotalGetEncryptionKeyResponsesProcessed}\n"; print "MCUF076TotalGetMcuResponsesProcessed: $objItem->{MCUF076TotalGetMcuResponsesProcessed}\n"; print "MCUF077TotalModifyConferenceResponsesProcessed: $objItem->{MCUF077TotalModifyConferenceResponsesProcessed}\n"; print "MCUF078TotalModifyConferenceLockResponsesProcessed: $objItem->{MCUF078TotalModifyConferenceLockResponsesProcessed}\n"; print "MCUF079TotalModifyEndpointMediaResponsesProcessed: $objItem->{MCUF079TotalModifyEndpointMediaResponsesProcessed}\n"; print "MCUF080TotalModifyEndpointRoleResponsesProcessed: $objItem->{MCUF080TotalModifyEndpointRoleResponsesProcessed}\n"; print "MCUF081TotalModifySidebarResponsesProcessed: $objItem->{MCUF081TotalModifySidebarResponsesProcessed}\n"; print "MCUF082TotalModifyUserResponsesProcessed: $objItem->{MCUF082TotalModifyUserResponsesProcessed}\n"; print "MCUF083TotalModifyUsersMediaFiltersResponsesProcessed: $objItem->{MCUF083TotalModifyUsersMediaFiltersResponsesProcessed}\n"; print "MCUF084TotalModifyUserRolesResponsesProcessed: $objItem->{MCUF084TotalModifyUserRolesResponsesProcessed}\n"; print "MCUF085TotalMoveUserToSidebarResponsesProcessed: $objItem->{MCUF085TotalMoveUserToSidebarResponsesProcessed}\n"; print "MCUF086TotalPingResponsesProcessed: $objItem->{MCUF086TotalPingResponsesProcessed}\n"; print "MCUF087TotalPlayRecordedNameResponsesProcessed: $objItem->{MCUF087TotalPlayRecordedNameResponsesProcessed}\n"; print "MCUF088TotalSetUserAccessResponsesProcessed: $objItem->{MCUF088TotalSetUserAccessResponsesProcessed}\n"; print "MCUF089TotalStartRecordingResponsesProcessed: $objItem->{MCUF089TotalStartRecordingResponsesProcessed}\n"; print "MCUF090TotalStopRecordingResponsesProcessed: $objItem->{MCUF090TotalStopRecordingResponsesProcessed}\n"; print "MCUF091TotalPauseRecordingResponsesProcessed: $objItem->{MCUF091TotalPauseRecordingResponsesProcessed}\n"; print "MCUF092TotalResumeRecordingResponsesProcessed: $objItem->{MCUF092TotalResumeRecordingResponsesProcessed}\n"; print "MCUF093TotalGetConferencingCapabilitiesResponsesProcessed: $objItem->{MCUF093TotalGetConferencingCapabilitiesResponsesProcessed}\n"; print "MCUF094TotalResolveConferenceResponsesProcessed: $objItem->{MCUF094TotalResolveConferenceResponsesProcessed}\n"; print "MCUF095TotalConferenceStateNotifyNotificationsProcessed: $objItem->{MCUF095TotalConferenceStateNotifyNotificationsProcessed}\n"; print "MCUF096TotalMcuAvailabilityNotifyNotificationsProcessed: $objItem->{MCUF096TotalMcuAvailabilityNotifyNotificationsProcessed}\n"; print "Name: $objItem->{Name}\n"; print "Timestamp_Object: $objItem->{Timestamp_Object}\n"; print "Timestamp_PerfTime: $objItem->{Timestamp_PerfTime}\n"; print "Timestamp_Sys100NS: $objItem->{Timestamp_Sys100NS}\n"; print "\n"; print "########\n"; print "\n"; }