Unsolved
This post is more than 5 years old
13 Posts
0
138411
November 21st, 2012 12:00
Automate configuration of vFoglight agents
Hi,
I've just today started to create a powershell script that creates/manages a VMware Performance agent.
What it's capable of doing is by using the comman-line functionality of fglcmd:
Prerequisites (a fglam must have already been created)
1. Deploy a VMware Performance agent
2. Create a VMware Performance agent
3. Activate it
4. Start data collection
Of these steps I've tested 1,3 and 4 and they work.
The issue I'm having is that I can't find support in the command-line reference http://us-downloads.quest.com/Repository/support.quest.com/vFoglight/6.7/Documentation/Management%20Server/vFoglight_CommandLineReference.pdf page 73.
for passing the Virtual Center configuration information such as:
Host name
Host Port
Host User Name
Host Password
Manual way to enter this information
Without this possibility I can't automate this for new customers or new agents at existing customers?
Is this possible in any way or am I forced to use the UI (agent status dashboard) to do this?
Example of agent:create
C:\Quest_Software\vFoglight\bin>fglcmd -usr foglight -pwd foglight -cmd agent:create -type WindowsAgent -name Agent5 -clientname Host1
Regards
Erik Alm


