Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » WMI Performance Counters » Perl

LCDATAMCU01CCCPProcessing - 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 LCDATAMCU01CCCPProcessing WMI class can be used in ActiveXperts Network Monitor to monitor your servers.


LCDATAMCU01CCCPProcessing

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_DataMCUPerf_LCDATAMCU01CCCPProcessing", "WQL");

foreach my $objItem (in $colItems) {
	print "Caption: $objItem->{Caption}\n";
	print "DATAMCU000TotalCCCPMessagesReceived: $objItem->{DATAMCU000TotalCCCPMessagesReceived}\n";
	print "DATAMCU001CCCPMessagesReceivedPersec: $objItem->{DATAMCU001CCCPMessagesReceivedPersec}\n";
	print "DATAMCU002TotalCCCPRequestsReceived: $objItem->{DATAMCU002TotalCCCPRequestsReceived}\n";
	print "DATAMCU003CCCPRequestsReceivedPersec: $objItem->{DATAMCU003CCCPRequestsReceivedPersec}\n";
	print "DATAMCU004TotalCCCPResponsesReceived: $objItem->{DATAMCU004TotalCCCPResponsesReceived}\n";
	print "DATAMCU005CCCPResponsesReceivedPersec: $objItem->{DATAMCU005CCCPResponsesReceivedPersec}\n";
	print "DATAMCU006TotalCCCPNotificationsReceived: $objItem->{DATAMCU006TotalCCCPNotificationsReceived}\n";
	print "DATAMCU007CCCPNotificationsReceivedPersec: $objItem->{DATAMCU007CCCPNotificationsReceivedPersec}\n";
	print "DATAMCU008TotalCCCPMessagesSent: $objItem->{DATAMCU008TotalCCCPMessagesSent}\n";
	print "DATAMCU009CCCPMessagesSentPersec: $objItem->{DATAMCU009CCCPMessagesSentPersec}\n";
	print "DATAMCU010TotalCCCPRequestsSent: $objItem->{DATAMCU010TotalCCCPRequestsSent}\n";
	print "DATAMCU011CCCPRequestsSentPersec: $objItem->{DATAMCU011CCCPRequestsSentPersec}\n";
	print "DATAMCU012TotalCCCPResponsesSent: $objItem->{DATAMCU012TotalCCCPResponsesSent}\n";
	print "DATAMCU013CCCPResponsesSentPersec: $objItem->{DATAMCU013CCCPResponsesSentPersec}\n";
	print "DATAMCU014TotalCCCPNotificationsSent: $objItem->{DATAMCU014TotalCCCPNotificationsSent}\n";
	print "DATAMCU015CCCPNotificationsSentPersec: $objItem->{DATAMCU015CCCPNotificationsSentPersec}\n";
	print "DATAMCU016TotalCCCPMessagesRetried: $objItem->{DATAMCU016TotalCCCPMessagesRetried}\n";
	print "DATAMCU017CCCPMessagesRetriedPersec: $objItem->{DATAMCU017CCCPMessagesRetriedPersec}\n";
	print "DATAMCU018TotalCCCPMessagesFailed: $objItem->{DATAMCU018TotalCCCPMessagesFailed}\n";
	print "DATAMCU019CurrentCCCPMessageQueueSize: $objItem->{DATAMCU019CurrentCCCPMessageQueueSize}\n";
	print "DATAMCU020NumberofActiveConferenceNotifiers: $objItem->{DATAMCU020NumberofActiveConferenceNotifiers}\n";
	print "DATAMCU021NumberofConferenceNotificationsSent: $objItem->{DATAMCU021NumberofConferenceNotificationsSent}\n";
	print "DATAMCU022NumberofConferenceNotificationSendRetries: $objItem->{DATAMCU022NumberofConferenceNotificationSendRetries}\n";
	print "DATAMCU023NumberofConferenceNotificationSendAborts: $objItem->{DATAMCU023NumberofConferenceNotificationSendAborts}\n";
	print "DATAMCU024NumberofInvalidConferenceNotificationsSent: $objItem->{DATAMCU024NumberofInvalidConferenceNotificationsSent}\n";
	print "DATAMCU025NumberofConferenceNotificationSenttoNonExisitentConferences: $objItem->{DATAMCU025NumberofConferenceNotificationSenttoNonExisitentConferences}\n";
	print "DATAMCU026NumberofUnrecognizedCCCPmessages: $objItem->{DATAMCU026NumberofUnrecognizedCCCPmessages}\n";
	print "DATAMCU027NumberofExceptionsDuringCCCPSerialization: $objItem->{DATAMCU027NumberofExceptionsDuringCCCPSerialization}\n";
	print "DATAMCU028NumberofExceptionsDuringCCCPMessageProcessing: $objItem->{DATAMCU028NumberofExceptionsDuringCCCPMessageProcessing}\n";
	print "DATAMCU029AverageprocessingtimeofincomingCCCPmessages: $objItem->{DATAMCU029AverageprocessingtimeofincomingCCCPmessages}\n";
	print "DATAMCU030Numberofoutstandingreceiveoperations: $objItem->{DATAMCU030Numberofoutstandingreceiveoperations}\n";
	print "DATAMCU031TotalAddConferenceRequestsProcessed: $objItem->{DATAMCU031TotalAddConferenceRequestsProcessed}\n";
	print "DATAMCU032TotalAddEndpointMediaRequestsProcessed: $objItem->{DATAMCU032TotalAddEndpointMediaRequestsProcessed}\n";
	print "DATAMCU033TotalAddSidebarRequestsProcessed: $objItem->{DATAMCU033TotalAddSidebarRequestsProcessed}\n";
	print "DATAMCU034TotalAddUserRequestsProcessed: $objItem->{DATAMCU034TotalAddUserRequestsProcessed}\n";
	print "DATAMCU035TotalDeleteConferenceRequestsProcessed: $objItem->{DATAMCU035TotalDeleteConferenceRequestsProcessed}\n";
	print "DATAMCU036TotalDeleteEndpointMediaRequestsProcessed: $objItem->{DATAMCU036TotalDeleteEndpointMediaRequestsProcessed}\n";
	print "DATAMCU037TotalDeleteSidebarRequestsProcessed: $objItem->{DATAMCU037TotalDeleteSidebarRequestsProcessed}\n";
	print "DATAMCU038TotalDeleteUserRequestsProcessed: $objItem->{DATAMCU038TotalDeleteUserRequestsProcessed}\n";
	print "DATAMCU039TotalGetAvailableMcuTypesRequestsProcessed: $objItem->{DATAMCU039TotalGetAvailableMcuTypesRequestsProcessed}\n";
	print "DATAMCU040TotalGetConferenceRequestsProcessed: $objItem->{DATAMCU040TotalGetConferenceRequestsProcessed}\n";
	print "DATAMCU041TotalGetConferencesRequestsProcessed: $objItem->{DATAMCU041TotalGetConferencesRequestsProcessed}\n";
	print "DATAMCU042TotalGetEncryptionKeyRequestsProcessed: $objItem->{DATAMCU042TotalGetEncryptionKeyRequestsProcessed}\n";
	print "DATAMCU043TotalGetMcuRequestsProcessed: $objItem->{DATAMCU043TotalGetMcuRequestsProcessed}\n";
	print "DATAMCU044TotalVerifyConferenceKeyRequestsProcessed: $objItem->{DATAMCU044TotalVerifyConferenceKeyRequestsProcessed}\n";
	print "DATAMCU045TotalModifyConferenceRequestsProcessed: $objItem->{DATAMCU045TotalModifyConferenceRequestsProcessed}\n";
	print "DATAMCU046TotalModifyConferenceLockRequestsProcessed: $objItem->{DATAMCU046TotalModifyConferenceLockRequestsProcessed}\n";
	print "DATAMCU047TotalModifyEndpointMediaRequestsProcessed: $objItem->{DATAMCU047TotalModifyEndpointMediaRequestsProcessed}\n";
	print "DATAMCU048TotalModifyEndpointRoleRequestsProcessed: $objItem->{DATAMCU048TotalModifyEndpointRoleRequestsProcessed}\n";
	print "DATAMCU049TotalModifySidebarRequestsProcessed: $objItem->{DATAMCU049TotalModifySidebarRequestsProcessed}\n";
	print "DATAMCU050TotalModifyUserRequestsProcessed: $objItem->{DATAMCU050TotalModifyUserRequestsProcessed}\n";
	print "DATAMCU051TotalModifyUsersMediaFiltersRequestsProcessed: $objItem->{DATAMCU051TotalModifyUsersMediaFiltersRequestsProcessed}\n";
	print "DATAMCU052TotalModifyUserRolesRequestsProcessed: $objItem->{DATAMCU052TotalModifyUserRolesRequestsProcessed}\n";
	print "DATAMCU053TotalMoveUserToSidebarRequestsProcessed: $objItem->{DATAMCU053TotalMoveUserToSidebarRequestsProcessed}\n";
	print "DATAMCU054TotalPingRequestsProcessed: $objItem->{DATAMCU054TotalPingRequestsProcessed}\n";
	print "DATAMCU055TotalPlayRecordedNameRequestsProcessed: $objItem->{DATAMCU055TotalPlayRecordedNameRequestsProcessed}\n";
	print "DATAMCU056TotalSetUserAccessRequestsProcessed: $objItem->{DATAMCU056TotalSetUserAccessRequestsProcessed}\n";
	print "DATAMCU057TotalStartRecordingRequestsProcessed: $objItem->{DATAMCU057TotalStartRecordingRequestsProcessed}\n";
	print "DATAMCU058TotalStopRecordingRequestsProcessed: $objItem->{DATAMCU058TotalStopRecordingRequestsProcessed}\n";
	print "DATAMCU059TotalPauseRecordingRequestsProcessed: $objItem->{DATAMCU059TotalPauseRecordingRequestsProcessed}\n";
	print "DATAMCU060TotalResumeRecordingRequestsProcessed: $objItem->{DATAMCU060TotalResumeRecordingRequestsProcessed}\n";
	print "DATAMCU061TotalGetConferencingCapabilitiesRequestsProcessed: $objItem->{DATAMCU061TotalGetConferencingCapabilitiesRequestsProcessed}\n";
	print "DATAMCU062TotalResolveConferenceRequestsProcessed: $objItem->{DATAMCU062TotalResolveConferenceRequestsProcessed}\n";
	print "DATAMCU063TotalAddConferenceResponsesProcessed: $objItem->{DATAMCU063TotalAddConferenceResponsesProcessed}\n";
	print "DATAMCU064TotalAddEndpointMediaResponsesProcessed: $objItem->{DATAMCU064TotalAddEndpointMediaResponsesProcessed}\n";
	print "DATAMCU065TotalAddSidebarResponsesProcessed: $objItem->{DATAMCU065TotalAddSidebarResponsesProcessed}\n";
	print "DATAMCU066TotalAddUserResponsesProcessed: $objItem->{DATAMCU066TotalAddUserResponsesProcessed}\n";
	print "DATAMCU067TotalDeleteConferenceResponsesProcessed: $objItem->{DATAMCU067TotalDeleteConferenceResponsesProcessed}\n";
	print "DATAMCU068TotalDeleteEndpointMediaResponsesProcessed: $objItem->{DATAMCU068TotalDeleteEndpointMediaResponsesProcessed}\n";
	print "DATAMCU069TotalDeleteSidebarResponsesProcessed: $objItem->{DATAMCU069TotalDeleteSidebarResponsesProcessed}\n";
	print "DATAMCU070TotalDeleteUserResponsesProcessed: $objItem->{DATAMCU070TotalDeleteUserResponsesProcessed}\n";
	print "DATAMCU071TotalVerifyConferenceKeyResponsesProcessed: $objItem->{DATAMCU071TotalVerifyConferenceKeyResponsesProcessed}\n";
	print "DATAMCU072TotalGetAvailableMcuTypesResponsesProcessed: $objItem->{DATAMCU072TotalGetAvailableMcuTypesResponsesProcessed}\n";
	print "DATAMCU073TotalGetConferenceResponsesProcessed: $objItem->{DATAMCU073TotalGetConferenceResponsesProcessed}\n";
	print "DATAMCU074TotalGetConferencesResponsesProcessed: $objItem->{DATAMCU074TotalGetConferencesResponsesProcessed}\n";
	print "DATAMCU075TotalGetEncryptionKeyResponsesProcessed: $objItem->{DATAMCU075TotalGetEncryptionKeyResponsesProcessed}\n";
	print "DATAMCU076TotalGetMcuResponsesProcessed: $objItem->{DATAMCU076TotalGetMcuResponsesProcessed}\n";
	print "DATAMCU077TotalModifyConferenceResponsesProcessed: $objItem->{DATAMCU077TotalModifyConferenceResponsesProcessed}\n";
	print "DATAMCU078TotalModifyConferenceLockResponsesProcessed: $objItem->{DATAMCU078TotalModifyConferenceLockResponsesProcessed}\n";
	print "DATAMCU079TotalModifyEndpointMediaResponsesProcessed: $objItem->{DATAMCU079TotalModifyEndpointMediaResponsesProcessed}\n";
	print "DATAMCU080TotalModifyEndpointRoleResponsesProcessed: $objItem->{DATAMCU080TotalModifyEndpointRoleResponsesProcessed}\n";
	print "DATAMCU081TotalModifySidebarResponsesProcessed: $objItem->{DATAMCU081TotalModifySidebarResponsesProcessed}\n";
	print "DATAMCU082TotalModifyUserResponsesProcessed: $objItem->{DATAMCU082TotalModifyUserResponsesProcessed}\n";
	print "DATAMCU083TotalModifyUsersMediaFiltersResponsesProcessed: $objItem->{DATAMCU083TotalModifyUsersMediaFiltersResponsesProcessed}\n";
	print "DATAMCU084TotalModifyUserRolesResponsesProcessed: $objItem->{DATAMCU084TotalModifyUserRolesResponsesProcessed}\n";
	print "DATAMCU085TotalMoveUserToSidebarResponsesProcessed: $objItem->{DATAMCU085TotalMoveUserToSidebarResponsesProcessed}\n";
	print "DATAMCU086TotalPingResponsesProcessed: $objItem->{DATAMCU086TotalPingResponsesProcessed}\n";
	print "DATAMCU087TotalPlayRecordedNameResponsesProcessed: $objItem->{DATAMCU087TotalPlayRecordedNameResponsesProcessed}\n";
	print "DATAMCU088TotalSetUserAccessResponsesProcessed: $objItem->{DATAMCU088TotalSetUserAccessResponsesProcessed}\n";
	print "DATAMCU089TotalStartRecordingResponsesProcessed: $objItem->{DATAMCU089TotalStartRecordingResponsesProcessed}\n";
	print "DATAMCU090TotalStopRecordingResponsesProcessed: $objItem->{DATAMCU090TotalStopRecordingResponsesProcessed}\n";
	print "DATAMCU091TotalPauseRecordingResponsesProcessed: $objItem->{DATAMCU091TotalPauseRecordingResponsesProcessed}\n";
	print "DATAMCU092TotalResumeRecordingResponsesProcessed: $objItem->{DATAMCU092TotalResumeRecordingResponsesProcessed}\n";
	print "DATAMCU093TotalGetConferencingCapabilitiesResponsesProcessed: $objItem->{DATAMCU093TotalGetConferencingCapabilitiesResponsesProcessed}\n";
	print "DATAMCU094TotalResolveConferenceResponsesProcessed: $objItem->{DATAMCU094TotalResolveConferenceResponsesProcessed}\n";
	print "DATAMCU095TotalConferenceStateNotifyNotificationsProcessed: $objItem->{DATAMCU095TotalConferenceStateNotifyNotificationsProcessed}\n";
	print "DATAMCU096TotalMcuAvailabilityNotifyNotificationsProcessed: $objItem->{DATAMCU096TotalMcuAvailabilityNotifyNotificationsProcessed}\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 "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";
}