SQL server monitoring - agent install guide

SQL server monitoring - agent install guide

 

  1. Please read the prerequisites Prerequisites - data collectors

  2. 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.

  3. Download the eyer_telegraf_sql.conf configuration file from Eyer.

  4. 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"
  5. Navigate to the “inputs.sqlserver” section. You need to configure how you want to connect to the SQL server.

    1. 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 “#”.

    2. If you want to use SQL authentication, uncomment the first line in the “servers = [ ]” section and modify the ip / user / password.

    3. For more details and options, see https://github.com/microsoft/go-mssqldb

  6. Save the config.

  7. 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