Contact Info

Crumbtrail

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

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


LCRGS02ResponseGroupServiceWorkflow

Example(s)

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

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

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 "RGS000Totalreceivedcalls:" & objItem.RGS000Totalreceivedcalls
	WScript.Echo "RGS001Callsterminatedwithaworkflowfailure:" & objItem.RGS001Callsterminatedwithaworkflowfailure
	WScript.Echo "RGS002Callscompletedwithaworkflowsuccess:" & objItem.RGS002Callscompletedwithaworkflowsuccess
	WScript.Echo "RGS003Activecalls:" & objItem.RGS003Activecalls
	WScript.Echo "RGS004Callsplacedduringthebusinesshours:" & objItem.RGS004Callsplacedduringthebusinesshours
	WScript.Echo "RGS005Callsplacedoutsidethebusinesshours:" & objItem.RGS005Callsplacedoutsidethebusinesshours
	WScript.Echo "RGS006Callsthathavetimedoutwhileonhold:" & objItem.RGS006Callsthathavetimedoutwhileonhold
	WScript.Echo "RGS007Callsputonholdbycaller:" & objItem.RGS007Callsputonholdbycaller
	WScript.Echo "RGS008Callsputonholdthathavebeenretrieved:" & objItem.RGS008Callsputonholdthathavebeenretrieved
	WScript.Echo "RGS009Callsthatfailedduetoincorrectanswers:" & objItem.RGS009Callsthatfailedduetoincorrectanswers
	WScript.Echo "RGS010Callsthatfailedbecausenoanswerwasgiven:" & objItem.RGS010Callsthatfailedbecausenoanswerwasgiven
	WScript.Echo "RGS011Callsthatfailedduetocriticalservererrors:" & objItem.RGS011Callsthatfailedduetocriticalservererrors
	WScript.Echo "RGS012Callsthatfailedduetocallconnectionerrors:" & objItem.RGS012Callsthatfailedduetocallconnectionerrors
	WScript.Echo "RGS013TransferattemptsthatfailedduetoagentURIsthatwerenotvalid:" & objItem.RGS013TransferattemptsthatfailedduetoagentURIsthatwerenotvalid
	WScript.Echo "RGS014TimespentinMatchMakingservice:" & objItem.RGS014TimespentinMatchMakingservice
	WScript.Echo "RGS015TimeittooktoplaceacalltotheMatchMakingservice:" & objItem.RGS015TimeittooktoplaceacalltotheMatchMakingservice
	WScript.Echo "RGS016TimespentinMakeTransferservice:" & objItem.RGS016TimespentinMakeTransferservice
	WScript.Echo "RGS017AttemptstoopenaconnectiontoMatchMaking:" & objItem.RGS017AttemptstoopenaconnectiontoMatchMaking
	WScript.Echo "RGS018PendingMatchMakingworkitems:" & objItem.RGS018PendingMatchMakingworkitems
	WScript.Echo "RGS019WaitingtimeforpendingMatchMakingworkitems:" & objItem.RGS019WaitingtimeforpendingMatchMakingworkitems
	WScript.Echo "RGS020PendingMakeTransferworkitems:" & objItem.RGS020PendingMakeTransferworkitems
	WScript.Echo "RGS021WaitingtimeforpendingMakeTransferworkitems:" & objItem.RGS021WaitingtimeforpendingMakeTransferworkitems
	WScript.Echo "RGS022TimedoutcallstoMatchMaking:" & objItem.RGS022TimedoutcallstoMatchMaking
	WScript.Echo "RGS023CallstoMatchMakingthatfailedbecausetheconnectionisnotopened:" & objItem.RGS023CallstoMatchMakingthatfailedbecausetheconnectionisnotopened
	WScript.Echo "RGS024CallstoMatchMakingthatfailedbecauseofacommunicationexception:" & objItem.RGS024CallstoMatchMakingthatfailedbecauseofacommunicationexception
	WScript.Echo "RGS025CallstoMatchMakingfailedbecauseofageneralexception:" & objItem.RGS025CallstoMatchMakingfailedbecauseofageneralexception
	WScript.Echo "RGS026NumberofregisteredcallstoMatchMaking:" & objItem.RGS026NumberofregisteredcallstoMatchMaking
	WScript.Echo "RGS027NumberofunregisteredcallstoMatchMaking:" & objItem.RGS027NumberofunregisteredcallstoMatchMaking
	WScript.Echo "RGS028NumberofcompletedcalltransferstoMatchMaking:" & objItem.RGS028NumberofcompletedcalltransferstoMatchMaking
	WScript.Echo "RGS029Numberofstoredcallcontexts:" & objItem.RGS029Numberofstoredcallcontexts
	WScript.Echo "RGS030NumberoffailedregistercallstoMatchMaking:" & objItem.RGS030NumberoffailedregistercallstoMatchMaking
	WScript.Echo "RGS031NumberoffailedunregistercallstoMatchMaking:" & objItem.RGS031NumberoffailedunregistercallstoMatchMaking
	WScript.Echo "RGS032FailedtransfercompletedcallstoMatchMaking:" & objItem.RGS032FailedtransfercompletedcallstoMatchMaking
	WScript.Echo "RGS033Callstransferred:" & objItem.RGS033Callstransferred
	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