SQLServer

Check_AG

Description:

Poweshell script to check MSSQL Server AvailabilityGroup for SQL Server 2012 with AllwaysOn

Current Version

1

Last Release Date

2016-10-19

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Owner


Project Files
Project Notes
## Script to check MSSQL Server AvailabilityGroup #Created 10/10/2016 by Vitor Paiva # #Poweshell script, tested on windows Server 2012 R2 with SQL SErver 2012 with AllwaysOn enabled. ################################################ #Usage on NSClient client (must allow check_nrpe): #check_ag=cmd /c echo scriptscheck_ag.ps1;exit($lastexitcode) | powershell.exe -command - # #Usage on Nagios Server: #./check_nrpe -H $HOSTADDRESS$ -p 5666 -t 100 -c check_ag # #param([string]$LISTENER , [string]$AG)
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
7,818