Giter Site home page Giter Site logo

imajaydwivedi / sqlmonitor Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 7.0 10.32 MB

SQLMonitor is designed as opensource tool to replace expensive enterprise monitoring or to simply fill the gap and monitor all environments such as DEV, TEST, QA/UAT & PROD.

License: MIT License

TSQL 20.98% PLpgSQL 62.48% PowerShell 16.14% C# 0.40%

sqlmonitor's Introduction

About Me Contact Me ajaydwivedi.com LinkedIn YouTube StackOverflow

About Me

G. Resume

https://ajaydwivedi.com

LinkedIn Profile

YouTube ajaydwivedi

StackOverflow

sqlmonitor's People

Contributors

imajaydwivedi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sqlmonitor's Issues

Dashboard Exposing Latest Backup History

Is your feature request related to a problem? Please describe.
Sometimes backups are not happening, and we find out very late.

Having a dashboard will help in timely detection of miss backup issues.

Setup Alerting Infra

Design Email & Slack Alerts for following -

  • Instance Unavailability
  • Database Unvailability
  • CPU (High/Critical)
  • Blocking
  • Memory Grant Pending
  • Low SQL Server Ram
  • Jobs Alert
  • ErrorLog based Alerts
  • Login Failures
  • Backups not happening
  • TempDbSaver based alert
  • LogSaver based alert
  • Incorrect tempdb config
  • Alert for long running transaction

Add Parameters to Skip Particular Wait Type in `usp_waits_per_core_per_minute`

Is your feature request related to a problem? Please describe.
On some of my servers, there are some WaitTypes that always occurring, and overshadowing other relevant wait types.

Describe the solution you'd like
Below 2 options -

  1. A parameter to ignore comma separate list of wait types
  2. A table that keeps a list of wait types that can be ignored for easy handling. This table should be present on each server.

`Remove-SQLMonitor` - Save InstanceDetails are until the Instance is Removed Full

If Remove-SQLMonitor fails after step 49__DropTable_InstanceDetails, then with current code, its not possible to finish the unistallation as the details of instance are lost.

In order to get around this issue, kindly save the instance_details somewhere at start of installation, and remove same after successfull uninstallation.

Capture `sp_Blitz` Result & Create Dashboard

Is your feature request related to a problem? Please describe.
sp_Blitz exposes lots of issues that could be helpful to DBA & Developers.

Describe the solution you'd like
Capture sp_Blitz result at least once a week, and create dashboards exposing various kind of informations from same.

Dashboard - Deadlock Analysis

Dashboard - Deadlock Analysis

Below query can be used for this infra -

declare @_endDate datetime;
set @_startDate = dateadd(hour,-24,getdate());
set @_endDate = GETDATE()

exec sp_BlitzLock @StartDate = @_startDate, @EndDate = @_endDate
				,@OutputDatabaseName = 'tempdb'
go

select *
from tempdb..BlitzLock

Control Immediate Removal of Perfmon File in Job `(dba) CollectPerfmonData`

Is your feature request related to a problem? Please describe.
I was to analyze the generated perfmon blg files on my server. So don't want to remove them immediately.

Describe the solution you'd like
A parameter in script SQLMonitor\perfmon-collector-push-to-sqlserver.ps1 to decide if immediately remove a file or not.

Self-Sign PowerShell Scripts

In highly secured environment, only remote-signed powershell scripts are allowed.

Self-signing SQLMonitor powershell scripts will help in smooth deployments.

Job `(dba) Collect-DiskSpace` failing

Describe the bug
Job (dba) Collect-DiskSpace failing with below error message after upgrade of dbatools to latest release.

2023Nov22_1832 INFO:      Fetch disk space on $HostName = [21L-LTPABL-1187]..
2023Nov22_1832 INFO:      Push disk info to SqlServer [21L-LTPABL-1187].[DBA].[dbo].[disk_space]..
The certificate chain was issued by an authority that is not trusted
At line:97904 char:9
+         throw $records[0]
+         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ConnectionError: (21L-LTPABL-1187:String) [], Exception
    + FullyQualifiedErrorId : dbatools_Write-DbaDbTableData

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.