Hi,

I created a powershell script that checks my Exchange 2010 DAG replication 
status, but I can't get it working via NRPE.

The commands tested:
command[mdb_01]=cmd /c echo "C:\Tasks\Check-Exchange-Database-Mdb01.ps1" | 
powershell.exe -command -
command[mdb_02]="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" 
-nologo -command "C:\Tasks\Check-Exchange-Database-Mdb02.ps1"

Neither of them will work.
The script does return an exit code, so that's not the source of the problem.

Anybody succesfully used powershell scripts behind NRPE on Windows?

Thanks.

Toni Van Remortel
System Engineer @ Precision Operations N.V.
Satenrozen 2a - B-2550 Kontich - Belgium
+32 3 451 92 26
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to