parent
7f8469b66a
commit
a93e1ceac8
|
@ -31,6 +31,7 @@ specifying a docker endpoint to get metrics from.
|
||||||
- [#563](https://github.com/influxdata/telegraf/pull/563): Docker plugin overhaul.
|
- [#563](https://github.com/influxdata/telegraf/pull/563): Docker plugin overhaul.
|
||||||
- [#285](https://github.com/influxdata/telegraf/issues/285): Fixed-size buffer of points.
|
- [#285](https://github.com/influxdata/telegraf/issues/285): Fixed-size buffer of points.
|
||||||
- [#546](https://github.com/influxdata/telegraf/pull/546): SNMP Input plugin. Thanks @titilambert!
|
- [#546](https://github.com/influxdata/telegraf/pull/546): SNMP Input plugin. Thanks @titilambert!
|
||||||
|
- [#589](https://github.com/influxdata/telegraf/pull/589): Microsoft SQL Server input plugin. Thanks @zensqlmonitor!
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- [#506](https://github.com/influxdata/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!
|
- [#506](https://github.com/influxdata/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!
|
||||||
|
|
1
Godeps
1
Godeps
|
@ -47,6 +47,7 @@ github.com/stretchr/objx 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
|
||||||
github.com/stretchr/testify f390dcf405f7b83c997eac1b06768bb9f44dec18
|
github.com/stretchr/testify f390dcf405f7b83c997eac1b06768bb9f44dec18
|
||||||
github.com/wvanbergen/kafka 1a8639a45164fcc245d5c7b4bd3ccfbd1a0ffbf3
|
github.com/wvanbergen/kafka 1a8639a45164fcc245d5c7b4bd3ccfbd1a0ffbf3
|
||||||
github.com/wvanbergen/kazoo-go 0f768712ae6f76454f987c3356177e138df258f8
|
github.com/wvanbergen/kazoo-go 0f768712ae6f76454f987c3356177e138df258f8
|
||||||
|
github.com/zensqlmonitor/go-mssqldb ffe5510c6fa5e15e6d983210ab501c815b56b363
|
||||||
golang.org/x/crypto 3760e016850398b85094c4c99e955b8c3dea5711
|
golang.org/x/crypto 3760e016850398b85094c4c99e955b8c3dea5711
|
||||||
golang.org/x/net 72aa00c6241a8013dc9b040abb45f57edbe73945
|
golang.org/x/net 72aa00c6241a8013dc9b040abb45f57edbe73945
|
||||||
golang.org/x/text cf4986612c83df6c55578ba198316d1684a9a287
|
golang.org/x/text cf4986612c83df6c55578ba198316d1684a9a287
|
||||||
|
|
|
@ -164,6 +164,7 @@ Currently implemented sources:
|
||||||
* rabbitmq
|
* rabbitmq
|
||||||
* redis
|
* redis
|
||||||
* rethinkdb
|
* rethinkdb
|
||||||
|
* sql server (microsoft)
|
||||||
* twemproxy
|
* twemproxy
|
||||||
* zfs
|
* zfs
|
||||||
* zookeeper
|
* zookeeper
|
||||||
|
|
|
@ -33,6 +33,7 @@ import (
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/rethinkdb"
|
_ "github.com/influxdata/telegraf/plugins/inputs/rethinkdb"
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/sensors"
|
_ "github.com/influxdata/telegraf/plugins/inputs/sensors"
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/snmp"
|
_ "github.com/influxdata/telegraf/plugins/inputs/snmp"
|
||||||
|
_ "github.com/influxdata/telegraf/plugins/inputs/sqlserver"
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/statsd"
|
_ "github.com/influxdata/telegraf/plugins/inputs/statsd"
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/system"
|
_ "github.com/influxdata/telegraf/plugins/inputs/system"
|
||||||
_ "github.com/influxdata/telegraf/plugins/inputs/trig"
|
_ "github.com/influxdata/telegraf/plugins/inputs/trig"
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
# SQL Server plugin
|
||||||
|
|
||||||
|
This sqlserver plugin provides metrics for your SQL Server instance.
|
||||||
|
It currently works with SQL Server versions 2008+.
|
||||||
|
Recorded metrics are lightweight and use Dynamic Management Views supplied by SQL Server:
|
||||||
|
```
|
||||||
|
Performance counters : 1000+ metrics from sys.dm_os_performance_counters
|
||||||
|
Performance metrics : special performance and ratio metrics
|
||||||
|
Wait stats : wait tasks categorized from sys.dm_os_wait_stats
|
||||||
|
Memory clerk : memory breakdown from sys.dm_os_memory_clerks
|
||||||
|
Database size : databases size trend from sys.dm_io_virtual_file_stats
|
||||||
|
Database IO : databases I/O from sys.dm_io_virtual_file_stats
|
||||||
|
Database latency : databases latency from sys.dm_io_virtual_file_stats
|
||||||
|
Database properties : databases properties, state and recovery model, from sys.databases
|
||||||
|
OS Volume : available, used and total space from sys.dm_os_volume_stats
|
||||||
|
CPU : cpu usage from sys.dm_os_ring_buffers
|
||||||
|
```
|
||||||
|
|
||||||
|
You must create a login on every instance you want to monitor, with following script:
|
||||||
|
```SQL
|
||||||
|
USE master;
|
||||||
|
GO
|
||||||
|
CREATE LOGIN [telegraf] WITH PASSWORD = N'mystrongpassword';
|
||||||
|
GO
|
||||||
|
GRANT VIEW SERVER STATE TO [telegraf];
|
||||||
|
GO
|
||||||
|
GRANT VIEW ANY DEFINITION TO [telegraf];
|
||||||
|
GO
|
||||||
|
```
|
||||||
|
|
||||||
|
Overview
|
||||||
|
![telegraf-sqlserver-0](https://cloud.githubusercontent.com/assets/16494280/12538189/ec1b70aa-c2d3-11e5-97ec-1a4f575e8a07.png)
|
||||||
|
|
||||||
|
General Activity
|
||||||
|
![telegraf-sqlserver-1](https://cloud.githubusercontent.com/assets/16494280/12591410/f098b602-c467-11e5-9acf-2edea077ed7e.png)
|
||||||
|
|
||||||
|
Memory
|
||||||
|
![telegraf-sqlserver-2](https://cloud.githubusercontent.com/assets/16494280/12591412/f2075688-c467-11e5-9d0f-d256e032cd0e.png)
|
||||||
|
|
||||||
|
I/O
|
||||||
|
![telegraf-sqlserver-3](https://cloud.githubusercontent.com/assets/16494280/12591417/f40ccb84-c467-11e5-89ff-498fb1bc3110.png)
|
||||||
|
|
||||||
|
Disks
|
||||||
|
![telegraf-sqlserver-4](https://cloud.githubusercontent.com/assets/16494280/12591420/f5de5f68-c467-11e5-90c8-9185444ac490.png)
|
||||||
|
|
||||||
|
CPU
|
||||||
|
![telegraf-sqlserver-5](https://cloud.githubusercontent.com/assets/16494280/12591446/11dfe7b8-c468-11e5-9681-6e33296e70e8.png)
|
||||||
|
|
||||||
|
Full view
|
||||||
|
![telegraf-sqlserver-full](https://cloud.githubusercontent.com/assets/16494280/12591426/fa2b17b4-c467-11e5-9c00-929f4c4aea57.png)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue