Monitor for mssql HA (always on)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitor for mssql HA (always on)

Post by cdienger »

Try editing the batch file and at the top put @echo off.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
s.wiki
Posts: 82
Joined: Sat Mar 04, 2017 11:02 am

Re: Monitor for mssql HA (always on)

Post by s.wiki »

Hi ,
Thanks guy i have solved this by not using batch script and use the powershell command instead.

Code: Select all

test-sqlavailabilitygroup=cmd /c echo scripts\custom\Test-SqlAvailabilityGroup.ps1; exit($lastexitcode) | powershell.exe -command 
Thanks anyway,kindly close the ticket
Locked