Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to Set Up the SQL Agent Integration with MSPbots

  1. Log in to MSPbots. Go to Integrations then search for SQL Agent.
    Integrations SQL AgentImage Added

  2. Open SQL Agent and click on the Download link to download the MSPbots SQL Agent Client file

  3. Open SQL Server Management.
  4. Download the Microsoft SQL Server Agent configuration file from Integrations

    to the SQL Server Management computer.

    download sql donfig fileImage RemovedDecompress the compressed package and open the appsettings file.
    app settings fileImage Removed

    download_SQLAgentClientImage Added

  5. Execute MSPbots SQL Agent.exe as an administrator.  
    mspbots sql agent_exeImage Added

  6. Go back to the MSPbots app. Copy the Secret string and Data Server strings from the Microsoft SQL Server Agent page to the Secret location in the configuration file and save it.
    app secret stringImage Removed
    sql secret locationImage Removedthe Setup window.
    secret_data serverImage Added

  7. Complete the installation by clicking Next on the Setup window.
    mysql setup windowImage Added 
  8. Next, run the MSPbots MS-SQL Server Agent as an administrator. 

  9. Return to the MSPbots app and click the + Add Connector button. 
    add connectorImage Added

  10. Expand the drop-down options for SQL Server // and enter the following:
    1. IP 
    2. Database Name
    3. User ID 
    4. Password
      MySQLImage Added
    On the MSPbots app, expand the testcase section and configure the database information. 
    1. Indicate the IP address of the server where the SQL server is located. 
    2. Provide the Database Name
    3. Enter the User ID of the one database login account.
    4. Enter the one database login Password.
      sql agent configImage Removed
  11. Click Save And Sync.

     

    Note
    titleImportant

    The following operations will be completed with assistance from MSPbots support.  


  12. On the MSPbots app

    On the SQL Server Agent server, open the downloaded configuration file. Find the AgentService program and run it.
    agentservice programImage Removed On the MSPbots app

    , go to Datasets. Choose a dataset and click the

    New button to create a dataset

    ellipsis ... > Edit

  13. Configure the fields to be queried in Database Source and the table name in the SQL Server to be queried:
    1. Use select username and password from sys_user for the SQL field.
    2. Select the Database Name configured on the Integration section (Refer to step 5) and indicate the Sync Frequency (calculated in minutes).
      edit databaseImage Removed 
  14. Click Update and save the Dataset.

  15. edit datasetImage Added

  16. When the Edit window appears, find the Data Cleaning tab, click it, and select SQL as Refresh Type. 
    data cleaningImage Added

  17. Click the add icon and set the configurations for the SQL agent. 
    add configImage Added
  18. Click Save to start data sync with MSPbots. At this point, the SQL Agent configuration is completed, and the data will be pulled into the tenant_agent_data table according to the set synchronization time.


Content by Label
showLabelsfalse
max5
showSpacefalse
titleRelated Topics
excludeCurrenttrue
cqllabel in ("integration","sql","agent")