No description
Find a file
2015-01-21 16:09:06 +01:00
check_backup.ps1 fix order exit status 2015-01-21 16:09:06 +01:00
LICENSE Initial commit 2015-01-20 23:18:27 +01:00
README.md fix no resoult 2015-01-21 13:37:57 +01:00

Monitoring Microsoft Windows Backup Status from Nagios with NRPE and NSClient++

Copy script check_backup.ps1 in NSClient++ scripts folder on Windows Server Client

Edit NSC.ini (config file for NSclient++) and add in section [External Scripts]

check_backup=cmd /c echo scripts\check_backup.ps1; exit($LastExitCode) | powershell.exe -command -

Authorize remote scripts execution

In powershell (Run as Admin) execute this command

Set-ExecutionPolicy remotesigned

Restart service NSClient++

On powershell

Restart-Service NSClientpp

Enable feature .NET Framework

DISM /Online /Enable-Feature /FeatureName:NetFx3