Solved

Dell open manage for IBM?

Posted on 2012-03-28
7
350 Views
Last Modified: 2016-11-23
Does IBM have a program similar to Dell open manage to help monitor its servers?
0
Comment
Question by:itsupportmd
  • 4
  • 3
7 Comments
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 37781196
OpenManage just uses WMI for the most part: http://support.dell.com/support/edocs/software/smcliins/cli74/en/ug/1intro.htm#wp1060238 You can do this with any windows OS, have a look at the Scriptomatic 2.0. Linux too can use CIM (aka wmi) but is not typically installed by default.
-rich
0
 

Author Comment

by:itsupportmd
ID: 37842179
Thanks, but I am not sure if they will give us the info we are looking for. Are their any other ideas out there?
0
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 37842378
WMI can tell you just about anything you need to know... have a look at the "hey scripting guy" archives or anything on ActiveXperts
You can get event logs, bios info, free space, antivirus info, network settings etc... WMI can tell you anything about the OS and that's why OpenManage uses it. Perhaps you want to look at Spiceworks, they are just like openmanage but not free like the scriptomatic is from MS. Let me know if there is any specific information you want and I can make a script very quickly.
http://www.activexperts.com/admin/vbscript/
http://gallery.technet.microsoft.com/ScriptCenter/
You can even use the windows command line to get some info, try this as administrator from a CMD window:
wmic bios get serialnumber
wmic qfe  (this will find all patches applied and output in columns to the screen)

It can even make very nice reports: http://blogs.technet.com/b/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx
-rich
0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 

Author Comment

by:itsupportmd
ID: 37842422
Rich,

Great info. We are looking to view the following info:

RAID Status
Battery Status
RAID Controller Info - Driver, Firmware
Memory
Power Supply
Hard Drive info
0
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 37843015
I don't have anything to test with, but the scriptomatic gave me this, it didn't report anything for my hardware because I don't have scsi/raid installed. The rest it does report on (battery status/memory/powersupply/HD info)
On Error Resume Next
arrComputers = Array("127.0.0.1")

WScript.Echo "===========SCSIController==========="
For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_SCSIController",,48)

   For Each objItem In colItems
      WScript.Echo "  Availability: " & objItem.Availability
      WScript.Echo "  Caption: " & objItem.Caption
      WScript.Echo "  ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode
      WScript.Echo "  ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig
      WScript.Echo "  ControllerTimeouts: " & objItem.ControllerTimeouts
      WScript.Echo "  CreationClassName: " & objItem.CreationClassName
      WScript.Echo "  Description: " & objItem.Description
      WScript.Echo "  DeviceID: " & objItem.DeviceID
      WScript.Echo "  DeviceMap: " & objItem.DeviceMap
      WScript.Echo "  DriverName: " & objItem.DriverName
      WScript.Echo "  ErrorCleared: " & objItem.ErrorCleared
      WScript.Echo "  ErrorDescription: " & objItem.ErrorDescription
      WScript.Echo "  HardwareVersion: " & objItem.HardwareVersion
      WScript.Echo "  Index: " & objItem.Index
      WScript.Echo "  InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
      WScript.Echo "  LastErrorCode: " & objItem.LastErrorCode
      WScript.Echo "  Manufacturer: " & objItem.Manufacturer
      WScript.Echo "  MaxDataWidth: " & objItem.MaxDataWidth
      WScript.Echo "  MaxNumberControlled: " & objItem.MaxNumberControlled
      WScript.Echo "  MaxTransferRate: " & objItem.MaxTransferRate
      WScript.Echo "  Name: " & objItem.Name
      WScript.Echo "  PNPDeviceID: " & objItem.PNPDeviceID
      strPowerManagementCapabilities = Join(objItem.PowerManagementCapabilities, ",")
         WScript.Echo "  PowerManagementCapabilities: " & strPowerManagementCapabilities
      WScript.Echo "  PowerManagementSupported: " & objItem.PowerManagementSupported
      WScript.Echo "  ProtectionManagement: " & objItem.ProtectionManagement
      WScript.Echo "  ProtocolSupported: " & objItem.ProtocolSupported
      WScript.Echo "  Status: " & objItem.Status
      WScript.Echo "  StatusInfo: " & objItem.StatusInfo
      WScript.Echo "  SystemCreationClassName: " & objItem.SystemCreationClassName
      WScript.Echo "  SystemName: " & objItem.SystemName
      WScript.Echo "  TimeOfLastReset: " & WMIDateStringToDate(objItem.TimeOfLastReset)
      WScript.Echo
   Next
Next
WScript.Echo "=========================================="
WScript.Echo
WScript.Echo "===========SCSIControllerDevice==========="

For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_SCSIControllerDevice",,48)
   For Each objItem In colItems
      WScript.Echo "  AccessState: " & objItem.AccessState
      WScript.Echo "  Antecedent: " & objItem.Antecedent
      WScript.Echo "  Dependent: " & objItem.Dependent
      WScript.Echo "  NegotiatedDataWidth: " & objItem.NegotiatedDataWidth
      WScript.Echo "  NegotiatedSpeed: " & objItem.NegotiatedSpeed
      WScript.Echo "  NumberOfHardResets: " & objItem.NumberOfHardResets
      WScript.Echo "  NumberOfSoftResets: " & objItem.NumberOfSoftResets
   Next
Next
WScript.Echo "=========================================="
WScript.Echo
WScript.Echo "===========Battery Info==========="

For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Battery",,48)

   For Each objItem In colItems
      WScript.Echo "  Availability: " & objItem.Availability
      WScript.Echo "  BatteryRechargeTime: " & objItem.BatteryRechargeTime
      WScript.Echo "  BatteryStatus: " & objItem.BatteryStatus
      WScript.Echo "  Caption: " & objItem.Caption
      WScript.Echo "  Chemistry: " & objItem.Chemistry
      WScript.Echo "  ConfigManagerErrorCode: " & objItem.ConfigManagerErrorCode
      WScript.Echo "  ConfigManagerUserConfig: " & objItem.ConfigManagerUserConfig
      WScript.Echo "  CreationClassName: " & objItem.CreationClassName
      WScript.Echo "  Description: " & objItem.Description
      WScript.Echo "  DesignCapacity: " & objItem.DesignCapacity
      WScript.Echo "  DesignVoltage: " & objItem.DesignVoltage
      WScript.Echo "  DeviceID: " & objItem.DeviceID
      WScript.Echo "  ErrorCleared: " & objItem.ErrorCleared
      WScript.Echo "  ErrorDescription: " & objItem.ErrorDescription
      WScript.Echo "  EstimatedChargeRemaining: " & objItem.EstimatedChargeRemaining
      WScript.Echo "  EstimatedRunTime: " & objItem.EstimatedRunTime
      WScript.Echo "  ExpectedBatteryLife: " & objItem.ExpectedBatteryLife
      WScript.Echo "  ExpectedLife: " & objItem.ExpectedLife
      WScript.Echo "  FullChargeCapacity: " & objItem.FullChargeCapacity
      WScript.Echo "  InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
      WScript.Echo "  LastErrorCode: " & objItem.LastErrorCode
      WScript.Echo "  MaxRechargeTime: " & objItem.MaxRechargeTime
      WScript.Echo "  Name: " & objItem.Name
      WScript.Echo "  PNPDeviceID: " & objItem.PNPDeviceID
      strPowerManagementCapabilities = Join(objItem.PowerManagementCapabilities, ",")
         WScript.Echo "  PowerManagementCapabilities: " & strPowerManagementCapabilities
      WScript.Echo "  PowerManagementSupported: " & objItem.PowerManagementSupported
      WScript.Echo "  SmartBatteryVersion: " & objItem.SmartBatteryVersion
      WScript.Echo "  Status: " & objItem.Status
      WScript.Echo "  StatusInfo: " & objItem.StatusInfo
      WScript.Echo "  SystemCreationClassName: " & objItem.SystemCreationClassName
      WScript.Echo "  SystemName: " & objItem.SystemName
      WScript.Echo "  TimeOnBattery: " & objItem.TimeOnBattery
      WScript.Echo "  TimeToFullCharge: " & objItem.TimeToFullCharge
   Next
Next

WScript.Echo "=========================================="
WScript.Echo
WScript.Echo "===========OS Info==========="
For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem",,48)

   For Each objItem In colItems
      WScript.Echo "  Caption: " & objItem.Caption
      WScript.Echo "  CSName: " & objItem.CSName
      WScript.Echo "  CurrentTimeZone: " & objItem.CurrentTimeZone
      WScript.Echo "  FreePhysicalMemory: " & objItem.FreePhysicalMemory
      WScript.Echo "  FreeSpaceInPagingFiles: " & objItem.FreeSpaceInPagingFiles
      WScript.Echo "  FreeVirtualMemory: " & objItem.FreeVirtualMemory
      WScript.Echo "  InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
      WScript.Echo "  LastBootUpTime: " & WMIDateStringToDate(objItem.LastBootUpTime)
      WScript.Echo "  LocalDateTime: " & WMIDateStringToDate(objItem.LocalDateTime)
      WScript.Echo "  Name: " & objItem.Name
      WScript.Echo "  OSArchitecture: " & objItem.OSArchitecture
      WScript.Echo "  RegisteredUser: " & objItem.RegisteredUser
      WScript.Echo "  SizeStoredInPagingFiles: " & objItem.SizeStoredInPagingFiles
      WScript.Echo "  SystemDirectory: " & objItem.SystemDirectory
      WScript.Echo "  SystemDrive: " & objItem.SystemDrive
      WScript.Echo "  TotalVirtualMemorySize: " & objItem.TotalVirtualMemorySize
      WScript.Echo "  TotalVisibleMemorySize: " & objItem.TotalVisibleMemorySize
      WScript.Echo "  Version: " & objItem.Version
      WScript.Echo
   Next
Next

For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem",,48)

   For Each objItem In colItems
      WScript.Echo "  Domain: " & objItem.Domain
      WScript.Echo "  Manufacturer: " & objItem.Manufacturer
      WScript.Echo "  Model: " & objItem.Model
      WScript.Echo "  NumberOfLogicalProcessors: " & objItem.NumberOfLogicalProcessors
      WScript.Echo "  NumberOfProcessors: " & objItem.NumberOfProcessors
      WScript.Echo "  PowerSupplyState: " & objItem.PowerSupplyState
      WScript.Echo "  TotalPhysicalMemory: " & objItem.TotalPhysicalMemory
      WScript.Echo
   Next
Next

WScript.Echo "=========================================="
WScript.Echo
WScript.Echo "===========HardDrive Info==========="
arrComputers = Array("SUPERDUPER")
For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_DiskDrive where InterfaceType != 'usb'",,48)

   For Each objItem In colItems
   WScript.Echo "==================HD======================="
      strCapabilityDescriptions = Join(objItem.CapabilityDescriptions, ",")
      WScript.Echo "  CapabilityDescriptions: " & strCapabilityDescriptions
      WScript.Echo "  Caption: " & objItem.Caption
      WScript.Echo "  DeviceID: " & objItem.DeviceID
      WScript.Echo "  ErrorCleared: " & objItem.ErrorCleared
      WScript.Echo "  ErrorDescription: " & objItem.ErrorDescription
      WScript.Echo "  ErrorMethodology: " & objItem.ErrorMethodology
      WScript.Echo "  FirmwareRevision: " & objItem.FirmwareRevision
      WScript.Echo "  InterfaceType: " & objItem.InterfaceType
      WScript.Echo "  LastErrorCode: " & objItem.LastErrorCode
      WScript.Echo "  Manufacturer: " & objItem.Manufacturer
      WScript.Echo "  MediaType: " & objItem.MediaType
      WScript.Echo "  MinBlockSize: " & objItem.MinBlockSize
      WScript.Echo "  Model: " & objItem.Model
      WScript.Echo "  Name: " & objItem.Name
      WScript.Echo "  NeedsCleaning: " & objItem.NeedsCleaning
      WScript.Echo "  NumberOfMediaSupported: " & objItem.NumberOfMediaSupported
      WScript.Echo "  Partitions: " & objItem.Partitions
      WScript.Echo "  PNPDeviceID: " & objItem.PNPDeviceID
      WScript.Echo "  SCSIBus: " & objItem.SCSIBus
      WScript.Echo "  SCSILogicalUnit: " & objItem.SCSILogicalUnit
      WScript.Echo "  SCSIPort: " & objItem.SCSIPort
      WScript.Echo "  SCSITargetId: " & objItem.SCSITargetId
      WScript.Echo "  SerialNumber: " & objItem.SerialNumber
      WScript.Echo "  Signature: " & objItem.Signature
      WScript.Echo "  Size: " & objItem.Size
      WScript.Echo "  Status: " & objItem.Status
      WScript.Echo "  TotalCylinders: " & objItem.TotalCylinders
      WScript.Echo "  TotalHeads: " & objItem.TotalHeads
      WScript.Echo "  TotalSectors: " & objItem.TotalSectors
      WScript.Echo "  TotalTracks: " & objItem.TotalTracks
      WScript.Echo "  TracksPerCylinder: " & objItem.TracksPerCylinder
      WScript.Echo
   Next
Next
WScript.Echo "=========================================="

Function WMIDateStringToDate(dtmDate)
WScript.Echo dtm:
	WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
	Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
	& " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate,13, 2))
End Function

Open in new window

Dell however I believe provides a WMI namespace that perhaps the scriptomatic can use if dell registers it with the OS, the scriptomatic reads what is available on the machine it's run from, so to get the most benefit in creating a script you may want to try to run the scriptomatic from an actual dell server. I don't have access to one anymore we switched to IBM :(
The name space is "\root\cimv2\dell"
http://www.dell.com/downloads/global/power/ps3q06-20060111-Dasari-OE.pdf

http://en.community.dell.com/support-forums/servers/f/177/p/18615043/18738029.aspx#18738029 (copy the script to a text file, save as dell.vbs (or something dot VBS) and call from the command line
cscript /nologo dell.vbs

Again the Scriptomatic will write a script for you, and it can browse all the installed wmi namespaces and classes.
You can replace the "127.0.0.1" in my script above with any IP you wish or machine name, otherwise it will get the local machine you run it on. (cscript /nologo dell.vbs)
-rich
0
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 500 total points
ID: 37843101
My mistake on the battery portion, that will work for a laptop, the raid/perc controller battery status is probably available in the dell wmi namespace. You can delete lines 64 through 106 in the script I provided.
-rich
0
 

Author Closing Comment

by:itsupportmd
ID: 38592600
Thanks
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Is your computer hacked? learn how to detect and delete malware in your PC
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now