Owner manual

objCommonRecordLog.ClearLog()
Next
This VBScript code is used to receive an alert indication:
strComputer = "."
strNamespace = "\root\hpq"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace)
Set objIndication = objWMIService.ExecNotificationQuery("SELECT * FROM HP_AlertIndication")
Wscript.Echo "Waiting for alert indication..."
Set objReceivedIndication = objIndication.NextEvent
WScript.Echo "Provider Name = " & objReceivedIndication.ProviderName
WScript.Echo "Event ID = " & objReceivedIndication.EventID
WScript.Echo "Severity = " & objReceivedIndication.PerceivedSeverity
WScript.Echo "Description = " & objReceivedIndication.Description
Insight Providers usage
Access data and events from the Insight Providers using the SMH supplied in the SPP, HP SIM,
other client applications, or scripts that supports WMI and SMASH.
The SMH provides a web interface for accessing management data locally or remotely. SMH
support for the Insight Providers is composed of two components
The SMH for Window Smart Component that is included with the SPP for Windows®. This
is the SMH framework.
The web application plug-in (SMH WebApp) that is installed with the Insight Providers. This
provides the web pages that show management data using the Insight Providers.
HP SIM 6.3 and later support the Insight Providers. For information on configuring HP SIM for use
with the Insight Providers, see Chapters 4 and 12 of the HP Systems Insight Manager 5.2 Technical
Reference Guide.
Any client application or script that support WMI and SMASH can also be used to access data
and events from the Insight Providers. The Microsoft MSDN website provides information on building
WMI clients such as Visual Basic scripts or C++ and C# applications. For more details, see the
following WMI references on the MSDN website:
Using WMI (http://msdn2.microsoft.com/en-us/library/aa393964.aspx)
Scripting Access to WMI (http://msdn2.microsoft.com/en-us/library/aa393256.aspx)
Further Information (http://msdn2.microsoft.com/en-us/library/aa390436.aspx)
For sample scripts for use with the Insight Providers, see Scripting Examples (“Scripting examples
(page 23)).
Specific information about HP ProLiant WBEM classes and properties for servers, storage controllers,
and network controllers can be found in the profiles, MOF files, and data sheet (see Additional
Documentation (Additional documentation (page 21))).
Additional documentation
In addition to this User Guide, the following Insight Providers documentation is available on the
HP Insight Management WBEM Providers website (http://www.hp.com/go/hpwbem):
HP Insight Management WBEM Provider Data Sheet—This document describes indication
details, and class implementations not defined in a MOF or profile.
SNMP Instrumentation Migration Guide—This document describes the mapping of SNMP
OIDs to WBEM classes and properties, and SNMP traps to WBEM indications.
Insight Providers usage 21