Microsoft Operations Manager 2000 only reads the first value in a registry entry (828778)



The information in this article applies to:

  • Microsoft Operations Manager 2000

SYMPTOMS

When Microsoft Operations Manager 2000 reads a registry entry that contains more than one value, only the first value is collected.

For example, you want different server roles assigned to a corresponding processing rule group (PRG). You follow these steps to try to complete this task:
  1. You create a registry entry that is named ServerRole on your server computers.
  2. You give the ServerRole entry the following value:

    File, Printer

  3. You create a new Computer Attribute to retrieve the registry value as a string.

    In this example, the Computer Attribute is named ServerRole = File.
  4. You create a File PRG and a Printer PRG.
In this example, only the File PRG is populated. No computers are assigned to the Printer PRG.

WORKAROUND

To work around this behavior, follow these steps:
  1. In the MOM Administrator Console tree, double-click the Rules subtree, and then click Computer Groups.
  2. Right-click one of the computer groups that you created, and then click Properties.

    In the example in the "Symptoms" section, click ServerRole = File.
  3. Click the Formula tab, and then delete the existing formula.
  4. Click Function, and then click MatchWildcard.
  5. Change the new formula from MatchWildcard(<attribute value>,"wildcard pattern>") to MatchWildcard(AttributeValue(ServerRole),"*File*").
  6. Click OK.
  7. In the MOM Administrator Console tree, double-click the Configuration subtree.
  8. Right-click Agent Managers, and then click Scan All Managed Computers.
Note The computer group formula in step 5 may not work correctly if any registry values are duplicated. For example, if the value of the SystemRole registry entry is "1st File Server, 2nd File Server", the computer group may not work as expected.

Modification Type:MinorLast Reviewed:6/13/2005
Keywords:kbServer kbRegistry kbDiscovery kbprb kbnofix KB828778 kbAudITPRO