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
SYMPTOMSWhen 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: - You create a registry entry that is named ServerRole on your server computers.
- You give the ServerRole entry the following value:
- You create a new Computer Attribute to retrieve the registry value as a string.
In this example, the Computer Attribute is named ServerRole = File. - 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. WORKAROUNDTo work around this behavior, follow these steps:
- In the MOM Administrator Console tree, double-click the Rules subtree, and then click Computer Groups.
- Right-click one of the computer groups that you created, and then click Properties.
In the example in the "Symptoms" section, click ServerRole = File. - Click the Formula tab, and then delete the existing formula.
- Click Function, and then click MatchWildcard.
- Change the new formula from MatchWildcard(<attribute value>,"wildcard pattern>") to MatchWildcard(AttributeValue(ServerRole),"*File*").
- Click OK.
- In the MOM Administrator Console tree, double-click the Configuration subtree.
- 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: | Minor | Last Reviewed: | 6/13/2005 |
---|
Keywords: | kbServer kbRegistry kbDiscovery kbprb kbnofix KB828778 kbAudITPRO |
---|
|