State Variables

Microsoft Operations Manager 2000 (MOM) provides state variables to allow you to keep track of the ongoing state of your enterprise. You can configure MOM to set or change state variables when a processing rule match occurs without needing to launch a script. You can then access the state variables from a script as you would access any named ScriptState object using the GetSet method. This response provides efficient correlation of high volume events. For more information about Scripting and the ScriptState object, see the Help.

For example, you want to monitor logon attempts and page your administrator if an excessive number of logon failures occur within a given period across all computers in your enterprise. A high number of logon failures in a short time might indicate a distributed attempt to break into the network. You can create a processing rule to increment a state variable every time a logon failure occurs. This increment is performed in highly optimized code rather than in a script, and has minimal performance impact, even during the start of the business day when logon activity is very high. You can then run a script at regular intervals to check the state. If the number of failures is not excessive, the script resets the variable. If the number is excessive, the script pages your administrator.

You can configure MOM to update state variables in any of the following ways when a processing rule match occurs:

You can configure MOM to update the state variable at the agent or Consolidator computer.