Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check_AG
## 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)
#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)
Be the first to review this listing!