This page last changed on Jul 13, 2009 by mmcgarry.

Groovy Console

Topics marked with * relate to HQ Enterprise-only features.

This screen allows users to run Groovy code directly in the HQ Server. This provides users low-level interaction with HQ, for example, doing advanced scripting, clearing caches, and diagnosing issues. The Groovy console is available to Administrators only.

Feedback is welcome. Click Add Comment at the bottom of the page.

Tasks Available on This Screen

On this screen, users can do one thing: run Groovy scripts.

To run a Groovy script:

  1. Type the script into the text box or click the name of a script template just above the text box.
    Script Template Description
    database_locks Shows what's going on in the database, what queries are currently being run
    aiApprove Adds all the platforms in the auto-inventory queue (auto-discovery in regular HQ parlance) to the HQ inventory. Performs the same task as users can perform in the "Auto-Discovery" portlet in the Dashboard, but en masse. Basically, a simple and fast way of adding lots of platforms to the inventory.
  2. Click Execute.
    The script is executed in the same process as the HQ Server code, and the results are displayed immediately below.

back to top

Sections on this Screen

This screen is divided into two parts: the script is on top and the results are on the bottom.

Return to the HQ Portal Reference.
Document generated by Confluence on Apr 20, 2010 15:01