Git Product home page Git Product logo

dbareports's Introduction

DBA Reports

licence badge stars badge forks badge issues badge

This repo contains the PowerShell module SSRS and PowerBi samples for you to gather, store and report on information about your SQL Server estate. You can find more details on the website https://dbareports.io

[Build status]- Development branch appveyor build latest

[Build status]- master branch appveyor build latest

Installer

We’ve tried to make the installation experience as simple as possible. Executing Install-DBAreports does the following:

Alt text

  • Uses SQL Server’s default backup directory if no InstallPath is specified
  • Uses a logging directory within your InstallPath if no log path is specified
  • If no proxy account is specified, you will be prompted to create one or choose to use the SQL Agent’s service account
  • Customizes the PowerShell scripts for your specific install and associates them with the SQL Agent Jobs
  • Creates the database if it doesn’t already exist
  • Creates the required schemas, extended proeprties, tables, stored procedures and user-defined table types
  • Automatically creates the required SQL Agent PowerShell and T-SQL jobs
  • Automatically schedules each job
  • Writes a client config file to your local PowerShell directory so that you don’t have to specify your dbareports server and database each time you run a command

Alt Text

Experience

Adding and modifying SQL Servers is performed through PowerShell commands, while PowerBI and SSRS are used to visualize the data that the Agent Jobs collect.

Goals

The ultimate goal of dbareports is to enable SQL Server DBAs to provide up to date, accurate information about the SQL Server Estate (It can easily be expanded for other technologies) to other parties. The other parties could be

  • technical teams: DBA Team, DataCenter, Systems Teams, Developers, IT Security
  • technical process teams: Change Managers, Project Managers, Compliance
  • senior management
  • business teams: Client Account Managers, System Owners
  • external: Auditors, Third Party Suppliers

This is NOT real-time monitoring – of course you could develop it to be so. But at present dbareports is designed to provide information about estates it does not alert about issues. The types of information available about the estate includes

  • Overall Information: Number of Servers, Instances, Databases, Environments, Clients, Locations
  • Operating System: HostName, Operating System version, IP Addresses, RAM, CPU
  • Instance: SQL version, edition, collation, service accounts, memory settings, default locations, configuration
  • Database: Collation, Compatibility, last backup, owner, space used, space available
  • SQL Agent server level: Roll up of number of jobs and status
  • SQL Agent detail: Name, Category, Status, Last Run Time, Outcome
  • Suspect Pages: Number of suspect pages in msdb
  • Database last used: Uses the sys.dm_db_index_usage_stats

How To Install

  • Click on Clone or Download and download the repo.
  • Unzip and Copy the folder to your modules folder Use $env:PSModulePath to pick a folder
  • Run Import-Module dbareports
  • Get-Help Install-Dbareports -showwindow
  • Then install using the details and examples there
  • To add servers use Add-DbrServerToInventory Run Get-Help Add-DbrServerToInventory -detailed or -showwindow first

dbareports's People

Contributors

sqldbawithabeard avatar potatoqualitee avatar claudioessilva avatar ktaranov avatar jonasonline avatar andrewn2000 avatar jonaswork avatar sirsql avatar sqlvariant avatar cporteou avatar squaffle avatar lowlydba avatar misterzeus avatar kaushal10 avatar

Watchers

brahma avatar

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.