HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

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.