SQL server monitoring - agent install guide
Please read the prerequisites Prerequisites - data collectors
Download and install Influx Telegraf. Influx Telegraf is one of the most used open source agents to collect metrics from sensors and systems. See https://www.influxdata.com/time-series-platform/telegraf/ for more information. Make sure you download the version corresponding to your OS.
Download the eyer_telegraf_sql.conf configuration file from Eyer.
Open the eyer_telegraf_server.conf file and navigate to the “outputs.http” section. Insert your Eyer apiTokenPush in the “authenticate” line as seen below
authenticate = "your_apiTokenPush"Navigate to the “inputs.sqlserver” section. You need to configure how you want to connect to the SQL server.
The config is pre-configured with integrated security (second line in the “servers=[ ]” section). If you want to disable this and use another method, please comment out this line with a “#”.
If you want to use SQL authentication, uncomment the first line in the “servers = [ ]” section and modify the ip / user / password.
For more details and options, see https://github.com/microsoft/go-mssqldb
Save the config.
Register the Telegraf agent as a service and start it(see instructions per OS). With Windows use
.\telegraf.exe --config "C:\Program Files\InfluxData\telegraf\eyer_telegraf_server.conf" service install