Server Management - Systems Insight Manager
1833875 Members
1773 Online
110063 Solutions
New Discussion

Connect to Insight Manager with VBScript

 
Breitenstein Denis
New Member

Connect to Insight Manager with VBScript

I would like to retrieve inforamtion from the servers in our domain with vbscript.
For the moment, I am parsing the survey.txt file for the relevant information.
The problem is that this file is not the same from machine to machine.
I was wondering if it is possible to get this information directly through WMI or COM.

Thank You
1 REPLY 1
David Claypool
Honored Contributor

Re: Connect to Insight Manager with VBScript

The answer will depend on exactly what you have running where and what information you are trying to extract, but the short answer is yes.

If you are trying to retrieve inventory or asset data and either IM7 or hpSIM has already collected it, you can use SQL calls from VBscript to connect to the database and get the info you want. The database schema for each is documented in help.

Additionally, if you are using hpSIM you can direct many activities from the command line using the "mxtask" and "mxexec" functions.

If you are trying to extract data directly from your script from the individual agents, the agents themselves are instrumented with SNMP. You can use the SNMP-->WMI translator from Microsoft to get at the data then.