ProLiant Servers (ML,DL,SL)
1833838 Members
2270 Online
110063 Solutions
New Discussion

Tip - How to send an HP WBEM Provider Alert to SIM from command line

 
John T Willis
Advisor

Tip - How to send an HP WBEM Provider Alert to SIM from command line

 When your installing the HP SIM Agents, i.e. the WMI/WBEM Providers

You can manually send an Alert 'called an Indication in WBEM terms' from either the SMH homepage, or the StartMenu tool.

But if you would like to use "native" tools from the Windows command line perform the following from a DOS prompt:


    C:\wmic /namespace:\\root\hpq  Path  HP_WinComputerSystem where Caption="target_name.tamu.edu" CALL  SendTestIndication TestIndicationID=101

 


The "key" is knowing the Method is [Non-Static] which means you must provide an explicit reference to the Instance your calling the method on.

That is what the [ where Caption="target_name.tamu.edu" ] portion does, it selects only one Instance of the Class [ HP_WinComputerSystem ] to call the method on.

In this case its the Instance created when the Provider service hosting that Instance originally starts up.

I wrote about it on my home page.