The SignalFx Smart Agent has reached End of Support.
The Splunk Distribution of OpenTelemetry Collector is the successor. Smart Agent monitors are available and supported through the Smart Agent receiver in the Splunk Distribution of OpenTelemetry Collector.
To learn how to migrate, see Migrate from SignalFx Smart Agent to the Splunk Distribution of OpenTelemetry Collector.
Install the SignalFx Smart Agent to a Windows host using a standalone package in a ZIP file.
- Windows Server 2012 or higher
- Windows PowerShell access
- Windows decompression application, such as WinZip or the native Windows decompression feature.
- .NET Framework 3.5 or higher
- TLS 1.0 or 1.2
- Administrator account in which to run the Smart Agent
If you want to invoke a Python script for non-default monitors such as exec
,
you must have Python 3 installed. The ZIP file includes the Python 3.8.0
runtime.
-
Remove collector services such as
collectd
-
To get the latest Windows standalone installation package, navigate to Smart Agent releases and download the following file:
signalfx-agent-<latest_version>-win64.zip
For example, if the latest version is 5.1.6, follow these steps:
- In the releases section, find the section called v5.1.6.
- In the Assets section, click
signalfx-agent-5.1.6-win64.zip
- The ZIP file starts downloading.
-
Uncompress the ZIP file. The package contents expand into the
signalfx-agent
directory.
Navigate to the signalfx-agent
directory, then create a configuration
file for the agent:
-
In a text editor, create a new file called signalfx-agent\agent-config.yml.
-
In the file, add your hostname and port number:
internalStatusHost: <local_hostname> internalStatusPort: <local_port>
-
Save the file.
The Smart Agent collects metrics based on the settings in
agent-config.yml
. The internalStatusHost
and internalStatusPort
properties specify the host and port number of the host that's running the Smart Agent.
To run the Smart Agent in non-Administrator mode, grant specific permissions to the user.
By default, only members of the Administrators group can start, stop, pause, resume, or restart a service. In this case, to use some monitors and observers, you need to grant the following required permissions:
- Full access of
signalfx-agent
and Windows Management Instrumentation (Winmgmt
) for the user. See Method 3: Use Subinacl.exe on the Microsoft documentation site for information on granting user rights. - Full access rights
SC_MANAGER_ALL_ACCESS (0xF003F)
for the Security Compliance Manager (SCM). Use the following command to grant rights to the user:
sc.exe sdset SCMANAGER "D:(A;;0xF003F;;;<SID of user>)(all other existing rights)"
To run the Smart Agent as a Windows program, run the following command in a console window:
SignalFxAgent\bin\signalfx-agent.exe -config SignalFxAgent\agent-config.yml > <log_file>`
The default log output for Smart Agent goes to
STDOUT
andSTDERR
. To persist log output, direct the log output to<log_file>
.
To install the Smart Agent as a Windows service, run the following command in a console window:
SignalFxAgent\bin\signalfx-agent.exe -service "install" -logEvents -config SignalFxAgent\agent-config.yml
To start the Smart Agent as a Windows service, run the following command in a console window:
SignalFxAgent\bin\signalfx-agent.exe -service "start"
To learn about other Windows service options, see Service Configuration.
To verify your installation and configuration, perform these steps:
-
For infrastructure monitoring, perform these steps:
- In SignalFx, open the Infrastructure built-in dashboard
- In the override bar, select Choose a host. Select one of your hosts from the dropdown list.
The charts display metrics from your infrastructure.
To learn more, see Built-In Dashboards and Charts.
-
For Kubernetes monitoring, perform these steps:
- In SignalFx, from the main menu select Infrastructure > Kubernetes Navigator > Cluster map.
- In the cluster display, find the cluster you installed.
- Click the magnification icon to view the nodes in the cluster.
The detail pane on the right hand side of the page displays details of your cluster and nodes.
To learn more, see Getting Around the Kubernetes Navigator
-
For APM monitoring, learn how to install, configure, and verify the Smart Agent for Microservices APM (µAPM). See Get started with SignalFx µAPM.
-
If the
signalfx-agent
service was installed, run the following PowerShell commands to stop and uninstall the service:SignalFxAgent\bin\signalfx-agent.exe -service "stop" SignalFxAgent\bin\signalfx-agent.exe -service "uninstall"
-
Back up any files as necessary and delete the
SignalFxAgent
folder.