Giter VIP home page Giter VIP logo

netdata-sqlserver's Introduction

netdata-sqlserver

netdata python plugin for sqlserver statistics

SQL Server is available on linux and netdata is the best monitoring tool, therefore this plugin.

Everything is work in progress.

Currently collects performance counter data from sys.dm_os_performance_counters

Requirements

pymssql must be present on the system. Get it with something like pip install pymssql or apt install python3-pymssql

SQL Server user for netdata. Granted view server state permission.

systemd unit file should be altered for plugin to work on boot. Append mssql-server.service to After= line.

Installation

  • Place sqlserver.chart.py in /usr/libexec/netdata/python.d/
  • Place sqlserver.conf in /etc/netdata/python.d/
  • Edit /etc/netdata/python.d/sqlserver.conf, provide username, password, database names to be monitored.
  • Edit config using /etc/netdata/edit-config python.d.conf, add line sqlserver: yes
  • Restart netdata

Screenshots

Transactions

Batch requests

TODO

  • define missing charts (suggestions are welcome)
  • possibly organize charts to provide most meaningful results
  • implement lock/wait type data collection
  • screenshots
  • documentation

Troubleshoot

Something meaningful can be acquired using sudo -u netdata /usr/libexec/netdata/plugins.d/python.d.plugin sqlserver debug

Credits

Based on netdata postgres plugin by: facetoe,dangtranhoang

Uses pymssql library

netdata-sqlserver's People

Contributors

liepumartins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kmalinich lugoues

netdata-sqlserver's Issues

transaction/s showing total

hello,
i have an issue with transaction/s showing total number of transaction in the chart not t/s.
it is continuously increasing number.
is there any way to divide with time between 2 successful polls?
same with: latch waits

also noticed that every time netdata is collecting counters are increased, is there any possibility to subtract that from being reported?

thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.