Server Management - Systems Insight Manager
1753963 Members
7683 Online
108811 Solutions
New Discussion юеВ

Re: Any way to set SMH data source to SNMP via script?

 
shocko
Honored Contributor

Re: Any way to set SMH data source to SNMP via script?

I had the same problem. Seems a bit short sighted by HP but unfortunaely i reverted to not installing the WBEM providers. Just less hassle. If down the line i want to start using them i'll just roll them out using psexec.exe

;)
If my post was helpful please award me Kudos! or Points :)
City_Blue
Super Advisor

Re: Any way to set SMH data source to SNMP via script?

i have an issue on 2 rx7640's were i am unable to change the data source from WBEM to SNMP

not sure if this is an integrity issue or SMH.

snmp is installed and configured

cheers
Tom McGuigan
Frequent Advisor

Re: Any way to set SMH data source to SNMP via script?

To set/get the SMH data source to SNMP or WBEM, call the attached script...enjoy!!
Mike_Cool
Occasional Advisor

Re: Any way to set SMH data source to SNMP via script?

Can i get this script to run for multiple servers same time. How to get it modified call a list of servers and have it changed in all of them.
Steve Shockley_2
New Member

Re: Any way to set SMH data source to SNMP via script?

If you use PowerShell, you can use the following command:

Invoke-WmiMethod -Path "HPSMHConf.WebApp=2" -Name select -argumentlist "1" -Namespace "root\hpq\default" -ComputerName "servername"

This calls a WMI method that changes all the settings and restarts SMH.
EricSLiu
New Member

Re: Any way to set SMH data source to SNMP via script?

Thanks for the script. It works