Option A
Get the agentID from the script console.
- Navigate to Administration | Tooling | Script Console
- Select Agent in the pulldown menu
- Click the List instances button
- Select the radio button for the agent corresponding to the agent name and type
- Click the properties tab in the bottom panel
- The agentID should be the first property listed.


Option B
Export the list of agents with agentID values from the FMS console
- Login to the FMS console
- Navigate from the command line to the Foglight FMS bin folder
- Run a fglcmd command to export the list of agents
 $FGLHOME/bin/fglcmd{.sh or .bat) -usr  -pwd  -cmd agent:list >> agentlist.txt
- Locate the agentname, hostname, and type of agent in the file. Make note of the ID number
Option C
Refer to the diagnostic snapshot
- Generate a FMS bundle
- Open the file named DiagnosticSnapshot_YYYY-MM-DD_HHMMSS.txt in the bundle
- Search for the text "    -- agent info --"
- Locate the agentname, hostname, and type of agent in the file. Make note of the ID number