El envío de formularios en el sitio de soporte no está disponible temporalmente para programar el mantenimiento. Si necesita asistencia inmediata, comuníquese con el soporte técnico. Disculpe las molestias ocasionadas.
Is there a way to create many PostgreSQL agents at the same time in a batch process like with the CLI installer?
Resolución
Please review the following steps to create multiple PostgreSQL agents.
Download the file attached to this KB article. Users must be logged into Supportlink to download this file.
Have a FglAM available with the PostgreSQLAgent package deployed to it.
Edit test.csv file with properties for agents to be created. Columns are in the following order:
Host
Port
Database (for connection purposes)
User
Password
Edit PostgreSQLAgentBatchCreation.groovy variables at the top of script.
csvFile (required) – File path to CSV file. Backslashes in Windows file paths need to be escaped with a second backslash.
amName (required) – The name of the FglAM where the agents will be deployed. FglAM names are displayed on the Administration/Agents/Agent Managers dashboard.
agentPrefix (optional) – Agent name prefix. Default format is PostgreSQLAgent_on_host_port.
Run script from Foglight bin directory with command: “fglcmd.bat -usr foglight -pwd foglight -cmd script:run -f PostgreSQLAgentBatchCreation.groovy”. Replace italicized user and password fields with credentials for administrative account on the Foglight server. If groovy script is not located in bin directory or the name has been changed, the file path to the script should be modified appropriately. On *nix systems, fglcmd executable will be a .sh file.
If no errors are quickly reported, the script should be running normally. It will take some time to complete. You can check the progress on the Agent Status page as new agents are created.
Once script has finished, agents can be selected and activated or further modified from the Agent Status page.
Final notes:
Agents will not be created if an agent matching the generated name already exists. Therefore, new database servers can be added to the CSV file and the script run again without creating duplicate agents.
Other properties in these agents will automatically be created with their default values. Those default values can be altered before agent creation in the Agent Properties dashboard. After creation, one or more agents can be selected and their properties modified with the Edit Properties feature. Alternatively, agents can be deleted and created again.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Bienvenido al portal de soporte
Puede encontrar ayuda de soporte en línea para el *producto* Quest en un sitio de soporte afiliado. Haga clic en Continuar para ser dirigido al contenido de soporte y a la asistencia adecuados para el *producto*.
Buscar todos los artículos
IE 8, 9 y 10 ya no son compatibles
El portal de Quest Software ya no admite IE 8, 9 ni 10 y se recomienda actualizar el navegador a la última versión de Internet Explorer o Chrome.