Module: check_mk
Branch: master
Commit: 7a2d7fe3696d8aae394660cb0d3767f8c8c1556c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7a2d7fe3696d8a…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Sep 28 14:51:35 2018 +0200
6733 FIX veeam_backup_status: Plugin is bakeable
Change-Id: I2ab4de22a0d7d18225124e07b836536da2dbe98a
---
.werks/6733 | 18 ++++++++++++++++++
agents/windows/plugins/veeam_backup_status.bat | 8 --------
...eeam_backup_status.ps1_ => veeam_backup_status.ps1} | 0
3 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/.werks/6733 b/.werks/6733
new file mode 100644
index 0000000..2ebd3bb
--- /dev/null
+++ b/.werks/6733
@@ -0,0 +1,18 @@
+Title: veeam_backup_status: Plugin is bakeable
+Level: 1
+Component: agents
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.6.0i1
+Date: 1538042010
+
+If no 64-bit Windows agent is used you have to create a wrapper batch script,
+eg. {{veeam_backup_status.bat}} which calls the {{veeam_backup_status.ps1}}.
+In this case the powershell script needs to be put somewhere else (see example
+here) and is called from this .bat script with the 64 bit powershell:
+<code>
+@ECHO OFF
+%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy
Unrestricted " &
""C:\scripts\veeam_backup_status.ps1"""
+</code>
diff --git a/agents/windows/plugins/veeam_backup_status.bat
b/agents/windows/plugins/veeam_backup_status.bat
deleted file mode 100644
index 1e21286..0000000
--- a/agents/windows/plugins/veeam_backup_status.bat
+++ /dev/null
@@ -1,8 +0,0 @@
-@ECHO OFF
-REM version 0.9
-REM Put this file in cmk Plugins-Folder *only* if you need to run
-REM the veeam_backup_status.ps1 powershell script and you
-REM have no 64 bit check_mk agent available
-REM In this case the powershell script needs to be put somewhere else
-REM (see example here) and is called from this .bat script with the 64 bit powershell
-%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy
Unrestricted " &
""C:\skripte\veeam_backup_status.ps1"""
diff --git a/agents/windows/plugins/veeam_backup_status.ps1_
b/agents/windows/plugins/veeam_backup_status.ps1
similarity index 100%
rename from agents/windows/plugins/veeam_backup_status.ps1_
rename to agents/windows/plugins/veeam_backup_status.ps1