. NET open source MSSQL, REDIS surveillance product opserver MSSQL configuration

Source: Internet
Author: User
Tags mssql redis

The configuration of MSSQL is relatively simple and consists of three main parts:

Default configuration (defaultconnectionstring), cluster configuration (clusters), single-instance configuration (instances)

DefaultConnectionString the node cannot be deleted by default and the value can be empty. Cluster and instance must exist, otherwise the SQL monitoring page does not render, specific configuration details can be viewed under the Opserver.core Project setting folder, Sqlsetting.cs file

{  "defaultconnectionstring":"Data source=192.168.11.210;initial catalog=test; User Id=sa; password=************",  "clusters": [    {      "name":"192.168.11.210",      "Refreshintervalseconds": -,      "nodes": [        {          "name":"192.168.11.220",          "connectionString":"Data source=192.168.11.220;initial catalog=test; User Id=sa; password=**********"        },        {          "name":"192.168.11.210",          "connectionString":"Data source=192.168.11.210;initial catalog=test; User Id=sa; password=**********"        }      ]    }  ],  "instances": [    {      "name":" Work",      "connectionString":"Data source=192.168.11.210;initial catalog=test; User Id=sa; password=**********"    }  ]}

It's so simple and convenient.

Just a few of these, really powerful.

. NET open source MSSQL, REDIS surveillance product opserver MSSQL configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.