Al momento non è possibile inviare moduli sul sito di supporto per pianificare la manutenzione. Se necessiti di assistenza immediata, contatta il supporto tecnico. Ci scusiamo per il disagio.
Questo articolo ti è servito per risolvere il problema?
Seleziona valutazione
Titolo
Running a groovy script using the script console
Descrizione
How to run a groovy script in Foglight using the script console in the Foglight Management Server
Causa
Groovy is a scripting language with Java-like syntax for the Java platform. Groovy scripts can be used to undertake numerous tasks in the Foglight script console including viewing and adjusting Foglight settings and querying the Foglight repository. These scripts can be run from directly within the FMS using the Script Console panel or by running the fglcmd utility from either the FMS command line or remotely from another system.
The script used as example in this video can be found in KB article 4295903. This script counts the number of alarms in the alarm_alarm table of the Foglight repository.
Some scripts provided by Quest in the resolution of Support issues may include edits to change in the script content specific to the FMS environment.
Please review any additional notes provided with any script before running it in the FMS system.
Risoluzione
In the Foglight Management Server console navigate to Administration | Tooling | Script Console.
Select the Script tab and click the Add button to run the groovy script.
OPTIONAL: Choose an Associated Cartridge
Paste the content of the groovy script and click the Run button
The following video demonstrates how to run a groovy script in the script console.
Feedback inviato
Questo articolo ti è servito per risolvere il problema?
Data di creazione: 8/24/2017 Ultimo aggiornamento: 6/19/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Questo è il portale del supporto
Puoi trovare aiuto e supporto online per Quest *prodotto* sul sito di supporto di un affiliato. Fai clic su Continua per essere reindirizzato ai contenuti e all'assistenza corretti per *prodotto*.
Internet Explorer 8, 9 e 10 non sono più supportati
Il portale Quest Software non supporta più Internet Explorer 8, 9, e 10. Si consiglia di aggiornare il browser all'ultima versione di Internet Explorer o Chrome.