Contact Info

Crumbtrail

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

LCRoutingApps00UCRoutingApplications - WMI sample in VBScript

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


LCRoutingApps00UCRoutingApplications

Example(s)

Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * From Win32_PerfRawData_RoutingAppPerf_LCRoutingApps00UCRoutingApplications")

For Each objItem in colItems
	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 "RoutingApps000TranslatedNumbers:" & objItem.RoutingApps000TranslatedNumbers
	WScript.Echo "RoutingApps001TranslatedNumberspersecond:" & objItem.RoutingApps001TranslatedNumberspersecond
	WScript.Echo "RoutingApps002Callstovoicemail:" & objItem.RoutingApps002Callstovoicemail
	WScript.Echo "RoutingApps003Callstovoicemailpersecond:" & objItem.RoutingApps003Callstovoicemailpersecond
	WScript.Echo "RoutingApps004CallstoSAAA:" & objItem.RoutingApps004CallstoSAAA
	WScript.Echo "RoutingApps005ErrorsfromUMserver:" & objItem.RoutingApps005ErrorsfromUMserver
	WScript.Echo "RoutingApps006FailedExchangeUMcalls:" & objItem.RoutingApps006FailedExchangeUMcalls
	WScript.Echo "RoutingApps007FailedOutboundPSTNcalls:" & objItem.RoutingApps007FailedOutboundPSTNcalls
	WScript.Echo "RoutingApps008OutboundPSTNcalls:" & objItem.RoutingApps008OutboundPSTNcalls
	WScript.Echo "RoutingApps009OutboundPSTNcallspersecond:" & objItem.RoutingApps009OutboundPSTNcallspersecond
	WScript.Echo "RoutingApps010Inboundcalls:" & objItem.RoutingApps010Inboundcalls
	WScript.Echo "RoutingApps011Inboundcallspersecond:" & objItem.RoutingApps011Inboundcallspersecond
	WScript.Echo "RoutingApps012InboundContactObjectcalls:" & objItem.RoutingApps012InboundContactObjectcalls
	WScript.Echo "RoutingApps013SuccessfulInboundcalls:" & objItem.RoutingApps013SuccessfulInboundcalls
	WScript.Echo "RoutingApps014Forwardedcalls:" & objItem.RoutingApps014Forwardedcalls
	WScript.Echo "RoutingApps015Simulringcalls:" & objItem.RoutingApps015Simulringcalls
	WScript.Echo "RoutingApps016Delegatecalls:" & objItem.RoutingApps016Delegatecalls
	WScript.Echo "RoutingApps017Teamcalls:" & objItem.RoutingApps017Teamcalls
	WScript.Echo "RoutingApps018Instancesofreceivinginvalidlocationprofile:" & objItem.RoutingApps018Instancesofreceivinginvalidlocationprofile
	WScript.Echo "RoutingApps019Instanceswherenomatchinnormalizationrulesoflocationprofile:" & objItem.RoutingApps019Instanceswherenomatchinnormalizationrulesoflocationprofile
	WScript.Echo "RoutingApps020Instanceswherethematchingrulecausedafailedtranslation:" & objItem.RoutingApps020Instanceswherethematchingrulecausedafailedtranslation
	WScript.Echo "RoutingApps021CallsmadetoVOIPgatewayswhichweresuccessful:" & objItem.RoutingApps021CallsmadetoVOIPgatewayswhichweresuccessful
	WScript.Echo "RoutingApps022Received5XXfromVOIPgateway:" & objItem.RoutingApps022Received5XXfromVOIPgateway
	WScript.Echo "RoutingApps023Gatewaydetectedtobeup:" & objItem.RoutingApps023Gatewaydetectedtobeup
	WScript.Echo "RoutingApps024Gatewaydetectedtobedown:" & objItem.RoutingApps024Gatewaydetectedtobedown
	WScript.Echo "RoutingApps025Callsfailedduetogatewayunavailability:" & objItem.RoutingApps025Callsfailedduetogatewayunavailability
	WScript.Echo "RoutingApps026Callsfailedduetonomatchingroute:" & objItem.RoutingApps026Callsfailedduetonomatchingroute
	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