Quantcast
Channel: ProLiant Servers (ML,DL,SL) topics
Viewing all articles
Browse latest Browse all 10362

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

$
0
0

 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.


Viewing all articles
Browse latest Browse all 10362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>