Agents are the tools data collectors of Insights. These are python snippets which connects to Devops tools and collect data using REST protocol. Each agents needs to be registered in system (Postgres DB, agent_configuration table) to start collecting data. Agent management screen in Admin tab helps manage agent registration, update, start, stop, Uninstall.
When Insights product is installed, one of the important steps in to installed Agent Daemon. This is daemon process running on server where you want to run your tools agents. Daemon agents helps Insights in agent registration, update, uninstall.
Daemon agent needs connectivity to RabbitMQ. It is very critical that you make sure agent Daemon is running (generally server 2, but can be anywhere you decide) before you start registering agent from Insights UI (Admin tab).
We recommend to take latest artifacts for PlatformService.war , PlatformEngine.jar and UI app.
NOTE - Current out-of-box agent daemon and agents support Windows and RHEL 7.x OS. For other OS flavors, one need to follow specific instructions given below in Other OS section.
Agent Daemon is available in doc root at - http://platform.cogdevops.com/insights_install/release/latest/agentdaemon.zip
Follow below installation instructions for Daemon agent configuration.
Other OS
Running an application as a OS service differs based on Unix flavor. For Example, Linux RHEL it runs from /etc/init.d folder, in Ubunut it runs from /etc/systemd/system. Hence to run agent daemon and agents on OS other than Windows and RHEL 7.x follow below steps.
- Once agent daemon is downloaded and extracted in $INSIGHTS_AGENT_HOME\AgentDaemon folder, modify installagentdaemon.sh for OS specific steps.
- Follow offline agent registration steps given above
- Once agent packages are downloaded in offlineAgentpath, modify individual agent's installagent.sh for OS specific steps.
If you have successfully run agents on OS other than Windows or RHEL 7.x, we will encourage you to check-in those files in Github repository to help others.
Top Section