Installing agents
To start the installation, use the following command.
In case of network restrictions, pass proxy to the meter-agent process to enable connection to sixthsense-backend.
- --collector.processes – to send process level data
- nohup - to start with logs, logs will be stored in nohup.out file
- "&" - to start as background process
Installing agents for Linux
Prerequisites
- For prerequisite checks for agent installation, see Prerequisite checks for agent installation.
- OS: Ubuntu, Debian, RHEL, CentOS.
- SixthSense Infra Agent. See Installing the Agent.
- URL/IP of the Sixthsense collector (your tenant URL provided by Customer Support)
- Access token provided by Customer Support.
- PACKAGE_TOKEN - Access Token required for downloading SixthSense Package provided by Customer Support.
- PACKAGE_TOKEN_USERNAME - Username for Access Token provided by Customer Support.
- TOKEN - Access Token from the SixthSense portal Settings page.
Downloading the agent
- Download latest ss_infra_agent-x.x.x.linux-amd64.tar.gz release binary provided by Customer Support.
- Unzip release binary and go to the agent directory.
Copy the agent binary and config.yaml to the following directory /usr/local/bin
Give permission to the binary for all users chmod u+x /usr/local/bin/ss_infra_agent
Give permission to the binary for all users chmod u+x /usr/local/bin/ss_infra_agent_service
Create a service file in /etc/systemd/system directory using the following command.
- cd /etc/systemd/system
- sudo vi ss_infra_agent.service
- Add the following contents to the file:
Save and close the file.
- If your service requires network connectivity, remove the After=network.target line.
- Set Type=simple if your command doesn't fork into background or set Type=forking if it forks.
- Set Restart=always to make sure the service is restarted automatically if it fails or stops.
- Set RestartSec to specify the time between restart attempts.
- Reload the systemd daemon to read the new service file.
sudo systemctl daemon-reload
- Start the agent as systemctl service
sudo systemctl start ss_infra_agent_service
- Check the service status to ensure that it is running.
sudo systemctl status ss_infra_agent_service
- Enable the service to start automatically on boot.
sudo systemctl enable ss_infra_agent_service
- Check the logs.
journalctl -u processname -n 100
On booting, the VM Agnet will start automatically and will be restarted if it crashes or stops for some reason.
Installing agents for Windows
Prerequisites
- OS: Windows Server versions 2008R2 and later, and desktop Windows version 7 and later
- SixthSense Windows VM Agent. For more information, see Installing the Agent.
- URL/IP of the Sixthsense backend collector (the tenant URL provided by Customer Support)
- Access token provided by Customer Support.
- PACKAGE_TOKEN - Access Token required for downloading SixthSense Package provided by Customer Support.
- PACKAGE_TOKEN_USERNAME - Username for Access Token provided by Customer Support.
- TOKEN - Access Token from the SixthSense portal Settings page.
Downloading the agent
- Download latest ss_windows_infra_agent-<version_no>.zip release folder provided by Customer Support.
- Unzip the release zip folder and place it in the agent directory.
Installing the agent
- Update ss_windows_infra_agent_config.yaml as in the instructions mentioned in config file Agent resource usage.
- After configuring the the connection details, start the Agent service from services. The metrics will be available on the dashboard.