- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Custom inventory / reports
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 11:08 AM
тАО03-04-2009 11:08 AM
Custom inventory / reports
I was hoping to leverage some of the command line scripting that HP SIM allows to solve this.
Particularly the ' %r% (rt[.attribute]%) ' parametter looked promissing.
Unfortunately my command line skills arn't what they ought to be, and I'm under a deadline to get this thing rolling.
The pseudo-code level that I can think of would be something like:
echo "'%r% (MgmyProcToServer.a%)'; " >> c:\inventorylist.txt
So I still need to solve or figure out what terms are needed to retrieve the data I need so that I can run this script against. (which is a task and a half in it's self)
I'm hoping it's possible to retrieve the following system attributes using the %r% (rt[.attribute]%) parameter:
-DNS name
-IP address
-iLo address
-System Serial Number
-Product Number (only when available)
-Model Number
-Operating System (Windows Server 2003 r2 sp2, not something like 'build 5.11.12')
-Ram
-Ram slots
-Size of local Storage
-Domain
-CPU model
-CPU x64 support
-CPU speed
I know this may not be the easiest or most straightforward request, but I would greatly appreciate any help on the issue.
-Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 12:04 PM
тАО03-04-2009 12:04 PM
Re: Custom inventory / reports
SELECT deviceNames.nameFullDNS, IPAddress.IPAddress, R_OperatingSystem.Description, R_OperatingSystem.Version, R_Inventory.SerialNumber
FROM deviceNames, IPAddress, R_OperatingSystem, R_Inventory
WHERE deviceNames.DeviceKey = IPAddress.DeviceKey AND deviceNames.DeviceKey = R_OperatingSystem.DeviceKey AND
deviceNames.DeviceKey = R_Inventory.DeviceKey
If you have SQL reporting services some where it will run the report on your behalf. Someone with SQL query experience can qet this done for you in couple hours. Mind that I have HPSIM 5.3 and the tables in the example might be diferent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 12:56 PM
тАО03-04-2009 12:56 PM
Re: Custom inventory / reports
You can then use this in the script.
You do need to get familiar with a scripting language though. I use perl, but you may want to look at Powershell in a Windows environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 02:39 PM
тАО03-04-2009 02:39 PM
Re: Custom inventory / reports
Though for future reference, I am interesting in knowing how to get the %r% (rt[.attribute]%) parameter to work in the command line. No matter how I format it it simply returns that the parameter was unable to expand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 04:29 PM
тАО03-04-2009 04:29 PM
Re: Custom inventory / reports
I'm using SQL server 2005, and SQL Server management studio express. Just need to make a new query, drop your code in it, execute, then select all & copy to pull the data out.
I would be most grateful for a direction to a resource that'll help me solve this as far as writing a proper SQL query that'll get me the info that I am looking for. And more specific directives on how to discover what attributes with which I should be populating the SQL Query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 07:30 PM
тАО03-04-2009 07:30 PM
Re: Custom inventory / reports
Again I use perl, as part of that you use the "use env;" line.
Then you can use the HPSIM variables which are documented in the HPSIM Technical reference Guide.
You can use those as part of formatting a query which you then send to SQL - you can use something like ISQL to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 02:05 PM
тАО03-06-2009 02:05 PM
Re: Custom inventory / reports
In HP SIM, it will tell you which iLo is associated with which machine. But no where in the reports (or the SQL database) can I find anything similar.
How to determine how many total (filled & unfilled) ram slots are in the computer.
How to determine if the processor supports 64bit processing.
How to have the reports differentiate local storage and the attached SAN drives.
A couple of headscratchers to start off the weekend.
-Aaron