Using the Operations Manager 2007 R2 Workflow Analyzer
October 24, 2009 2 Comments
I’ve only had my hands on the OpsMgr MP Authoring Resource Kit for about 24 hours now, but already the tools are proving to be invaluable. This post describes a problem that I was able to investigate with the Workflow Analyzer tool to determine the exact cause of the issue.
Background
In a management pack I’m working on, I had a composite workflow designed to calculate SNMP network interface throughput and utilization by collecting the 32bit and 64bit in and out octet counters for an interface. The SnmpProbe passes the values for all four VarBinds to an Expression Filter, which confirms that either VarBinds 1 and 2 (64bit) or VarBinds 3 and 4 (32bit) have values greater or equal to zero. The Expression Filter than passes matched data items to a PowerShell property bag probe, which compares the values to a previously collected value set (stored in a temporary file in the file system) in order to calculate delta values and interface utilization and throughput.
The script was written to use the 64bit counters if data are returned for the 64bit counters and 32bit counters if 64bit counter data are not returned. I had been having some issues with this workflow when targeted to interfaces of devices that do not support 64bit interface octet counters. From the lack of errors in the log, and evidence that the PowerShell script probe was not running (no temporary file being generated for these instances), I had concluded that the workflow was stopping with the post-SnmpProbe Expression Filter, but I didn’t know exactly why. I had thought the Expression Filter was configured in such a way as to continue even if null values were returned for the 64bit counters.
Using the recently released Operations Manager 2007 R2 Workflow Analyzer, I was able to drill into the actual processing of the workflow and identify the issue.
Workflow Tracing
The steps I used to debug this workflow were:
Launch the Workflow Analyzer and create a new session: