Powershell script->no output returned from the command
Posted: Fri Jul 13, 2018 10:05 am
Hello team,
I have created a simple powershell script to test mirroring status, it works as expected from the powershell prompt. I have created a service in nagios for that and it always shows OK, with the output "no output available from command(check_mirroring_status)"
My code returns db name along with status and exit code when i run in the server. Please help
I have installed nsclient 0.5.62 version
Regards,
sannatar
I have created a simple powershell script to test mirroring status, it works as expected from the powershell prompt. I have created a service in nagios for that and it always shows OK, with the output "no output available from command(check_mirroring_status)"
My code returns db name along with status and exit code when i run in the server. Please help
I have installed nsclient 0.5.62 version
Regards,
sannatar