mirror of
https://github.com/Vitexus/check_winbulog.git
synced 2026-04-04 05:40:01 +00:00
No description
| check_backup.ps1 | ||
| LICENSE | ||
| README.md | ||
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