Find all Celerons in SCE?
Home  » Essentials (SCE)  » Find all Celerons in SCE?

Find all Celerons in SCE?
Posted: Fri, Jan 29, 2010 2:22 PM :: Rank: 0
Author
Points: 150
Level: System Center Hero

Is it possible to find all computers in my organization that are using Celeron processors?  We are getting ready to upgrade our software and the new version will not run on a celeron processor.

 

Thanks!

Reply  
Report Abuse
RE: Find all Celerons in SCE?
Posted: Fri, Jan 29, 2010 6:05 PM :: Rank: 0
Author
Points: 20727
Level: System Center Expert

You sure can do this, using the Attribute Wizard in Essentials (in the Authoring space). You'll need to right click Attributes node, and create a new attribute based on the 'Windows Operating System'.

If you are only interested in clients or servers, you could instead base your attribute on 'Windows Server Operating System' or 'Windows Client Operating System'.

When you get to the spot in the wizard where you choose WMI or Registry, choose WMI.

  • Namespace is root\cimv2.
  • Query: Select name from Win32_Processor

for criteria, you want to match on Name 'Contains; Celeron or Name matches wildcard *Celeron*

There is a nice step-by-step on MS TechNet site (link below), but if you get stuck, just let us know and we'll help you through it

How to Create a Custom Attribute in Operations Manager 2007

Good Luck!

Reply  
Report Abuse
Re: Find all Celerons in SCE?
Posted: Mon, Feb 01, 2010 9:07 AM :: Rank: 0
Author
Points: 150
Level: System Center Hero
Thank you for the quick reply Tommy.



I believe I set the Attribute up correctly. Now that I have the attribute, how do I use it to get a list of machines that meet the criteria?
Reply  
Report Abuse
RE: Find all Celerons in SCE?
Posted: Mon, Feb 01, 2010 10:09 AM :: Rank: 0
Author
Points: 29040
Level: System Center Expert

 Couple of things that may help you when working with your custom attribute in SCOM

The New Attribute wizard results in a custom class being created, so you can do two things to see the value of your new class.

  • Create a new State View and  change the target from the default (Entity) to the name of your attribute created in the wizard.
  • Use the Discovered Inventory view in the Monitoring space, click Change Target and select your class from the list.

Create your custom attributes in their own management pack. You cannot delete a custom attribute through the Operations console UI, so isolating this to it's own management pack will be best. 

If anything remains unclear or you've not yet met with success, just let us know.

Reply  
Report Abuse
Re: Find all Celerons in SCE?
Posted: Mon, Feb 01, 2010 12:01 PM :: Rank: 0
Author
Points: 150
Level: System Center Hero
The first option (create a new State View) I don't know where to creae that view.



I tried option 2, using Discovered Inventory view. However, when I change to my new target type, the list is empty.



Reply  
Report Abuse
Re: Find all Celerons in SCE?
Posted: Mon, Feb 01, 2010 2:07 PM :: Rank: 0
Author
Points: 20727
Level: System Center Expert
Maybe the query is not returning any data? Try running the following query in the WMI Test Tool (WBEMTEST)

select * from Win32_Processor where Name LIKE '%Celeron%'



Tutorial on how to use WMI Test Tool (WBEMTEST)

http://technet.microsoft.com/en-us/library/ee692770.aspx



I don't have any Celeron processors in my environment, but when I change Celeron to Core (for Core Duo) in my query, it works.
Reply  
Report Abuse
Re: Find all Celerons in SCE?
Posted: Tue, Feb 02, 2010 9:26 AM :: Rank: 0
Author
Points: 150
Level: System Center Hero
Ok, I'm starting to understand this a little better.



I used WBEMTEST to run the query (after connecting to root\CIMV2). There were no results for Core, Celeron, or Pentium. However, if I put in Xeon, It returned two lines:

Win32_Processor.DeviceID="CPU0"

Win32_Processor.DeviceID="CPU1"





So it appears to only be seeing the processor in the local machine.
Reply  
Report Abuse
RE: Find all Celerons in SCE?
Posted: Tue, Feb 02, 2010 10:41 AM :: Rank: 0
Author
Points: 29040
Level: System Center Expert

Remember this WMI query will run locally on each of your agent managed systems. If you want to know if your query is correct, run the query on a System with a Celeron processor. That will tell the story. If you've created the attribute in a custom management pack, you could also export the management pack so we can look at your attribute definition and query.

Reply  
Report Abuse

Home  » Essentials (SCE)  » Find all Celerons in SCE?
Tag Cloud
Quick Links
Top Contributors
Pete Zerger
Points: 29040
Level: System Center Expert
Simon Skinner
Points: 24529
Level: System Center Expert
Tommy Gunn
Points: 20727
Level: System Center Expert
Stefan Koell
Points: 12514
Level: System Center Expert
MadHatter
Points: 11676
Level: System Center Expert