MetricsHub
MetricsHub Enterprise 2.0.00
Connectors directory[1] Full listing of connectors[2]
Microsoft SQL Server
Description
Monitors performance and operational metrics for a Microsoft SQL Server database server, version 2012 or higher.
database[3] enterprise[4] linux[5] windows[6]
Target
Typical platform: Microsoft SQL Server[7]
Operating systems: Microsoft Windows, Linux
Prerequisites
Leverages: Microsoft SQL Server
Technology and protocols: SQL/JDBC
Examples
CLI
metricshub HOSTNAME -t win -c +MSSQL --jdbc -u USER --jdbc-url URL
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: win
connectors: [ +MSSQL ] # Optional, to load only this connector
protocols:
jdbc:
port: <PORT>
database: <DB_NAME>
type: <type>
url: <URL>
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Microsoft SQL Server connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- The SQL query below succeeds on the monitored database:
- SQL Query:
SELECT CASE WHEN SERVERPROPERTY('ProductVersion') IS NOT NULL THEN 1 ELSE 0 END AS is_mssql;
- Expected Result:
1
- SQL Query:
Metrics
Type | Collected Metrics | Specific Attributes |
---|---|---|
error |
|
|
io |
|
|
mssql |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.