Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check_AG

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2016-10-19
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Hits
5128
Files:
FileDescription
check_ag.ps1check_ag.ps1
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Poweshell script to check MSSQL Server AvailabilityGroup for SQL Server 2012 with AllwaysOn
## 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)