ReSearch This KB – Operations Manager failed to start a process

Alert: Operations Manager failed to start a process

Management Pack Name: System Center Core Monitoring

Management Pack Version: 7.0.9538.0

Rule or Monitor: Rule

Rule or Monitor Name: Workflow Runtime: Failed to run a process or script

Rule or Monitor Notes: This rule generates alerts when batch responses fail.

Issue: Alert description:

“The process started at 1:43:02 PM failed to create System.PropertyBagData. Errors found in output:

C:\Program Files\System Center Operations Manager\Agent\Health Service State\Monitoring Host Temporary Files 253\19263\GetDiskPartitionSpace.vbs(60,5) Microsoft VBScript runtime error: Overflow

Command executed: “C:\WINDOWS\system32\cscript.exe” /nologo “GetDiskPartitionSpace.vbs” Hyper-V.Host.fqdn

Working Directory: C:\Program Files\System Center Operations
Manager\Agent\Health Service State\Monitoring Host Temporary Files 253\19263\

One or more workflows were affected by this.

Workflow name: Microsoft.Windows.HyperV.2012.DiskPartitionSpaceProvider.FreeSpaceCollectionRule
Instance name: VirtualMachineName
Instance ID: {5AA595F9-B55E-FEA2-B54B-8067BFF6B9B5}
Management group: MG”

This is a bug in the monitoring script(GetDiskPartitionSpace.vbs). For every fixed size virtual hard
disk this script will return zeroes for a Free Space and a Total Space variables. This is the root cause for the overflow in this function (dividing by zero):

Function CalculateUsedPerc(ByVal UsedSpace, ByVal TotalSpace)

Dim UsedSpacePerc
UsedSpacePerc = (UsedSpace * 100)/TotalSpace
CalculateUsedPerc = FormatNumber(UsedSpacePerc,2)
End Function

Resolution: You can disable those collection rules.
Affected rules:

Hyper-V 2012 Virtual Machine Hard Drive Percentage of Used Space Collection Rule (Microsoft Windows Hyper-V 2012 Monitoring management pack)

Virtual Machine Disk Free Space Collection Rule (Microsoft Windows Hyper-V 2012 Monitoring management pack)

Free Disk Space Collection Rule (Microsoft Windows Hyper-V 2008 Monitoring Management pack)

Leave a Reply