categraf/inputs/sqlserver/README.md

13 lines
489 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# kubernetes
forked from telegraf/sqlserver. 这个插件的作用是获取sqlserver的监控指标这里去掉了Azure相关部分监控只保留了本地部署sqlserver情况。
# 按照下面方法创建监控账号,用于读取监控数据
USE master;
CREATE LOGIN [categraf] WITH PASSWORD = N'mystrongpassword';
GRANT VIEW SERVER STATE TO [categraf];
GRANT VIEW ANY DEFINITION TO [categraf];
Data Source=10.19.1.1;Initial Catalog=hc;User ID=sa;Password=mystrongpassword;