The agent management script is available to perform certain functions with the Symantec Event agent.
To start the agent management script:
- Navigate to the Event agent folder, usually C:\Program Files\Symantec\Event Agent
- Double click or Run Agentmgmt,bat
- SSH to the Linux server
- Type 'su -' and provide the root password when prompted.
- Type /opt/Symantec/sesa/Agent/agentmgmt.sh
There are 12 functions available in the agent management script
- Show Agent Status
This will show the number of events that have been received and forwarded by the agent since it was restarted. Run this repeatedly noting the event counts each time to see if the agent is processing events.
- Flush Agent Queue
This will cause the agent to process everything in its queue. Use this if agent communication was lost and you believe it is restored and you want it to immediately process its queue.
- Reload Agent Configurations
This will force the agent to reload the configuration setup in the SSIM. This is rarely used but can be tried if your agent configurations did not update after making a change in the SSIM console.
- Force Agent to Check In (Heartbeat)
This will force the agent to check in to the SSIM. Use this if your collector shows as Unavailable in the Visualizer.
- Force agent to sent its software inventory and state updates
Use this if you see an agent listed in the visualizer but there are no Collectors under that agent.
- View Log files.
This will display the sesa agent log in the viewer. To collect the logs from the SSIM appliance follow the steps in this document. To gather a complete set of logs from a collector machine follow the steps in this document.
- Force rebootstrap.
This will take you through the rebootstrap process. It may be necessary to follow this document to force rebootstrap in certain circumstances. DO NOT rebootstrap the agent on the SSIM appliance.
- Gather data for support.
This will create a ZIP file with some data that may be useful for technical support.The zip file that is created will be stored in:\Documents and Settings\<user>\Local Settings\Temp\sesa-<machine name>.zip
- Enable/Disable collector debug
This function will enable debug mode for the AGENT (not the collector despite the listing on the menu). This function is rarely used, as Agent debug mode is usually not useful. See this document or this document for more information about debug mode.
- Start the agent
This will start the agent.
- Stop the agent
This will stop the agent.
This will quit the agent management script.