Module: check_mk
Branch: master
Commit: 34016d242c55cc15d3d41c18875de42e4741be71
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=34016d242c55cc…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Tue Mar 17 11:31:39 2015 +0100
Updated bug entries #2295
---
.bugs/2295 | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/.bugs/2295 b/.bugs/2295
new file mode 100644
index 0000000..740fefe
--- /dev/null
+++ b/.bugs/2295
@@ -0,0 +1,40 @@
+Title: mk_inventory.ps1 workaround für BOM führt bei manchen Kunden zu Problemen
+Component: inv
+State: open
+Date: 2015-03-17 11:25:20
+Targetversion: 1.2.6
+Class: bug
+
+die zweite Zeile in mk_inventory.ps1
+verursacht bei uns das Problem:
+
+ mk_inventory.ps1
+
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
+
+ write-output "" # workaround
+ to prevent the byte order mark to be at the beginning of the first section
+
+ $name = (Get-Item env:\Computername).Value
+
+ ....
+
+ Das Script wir bei jedem Agentenaufruf
+ gecalled, steigt dann aber vor dem Inventory aus, da ein Timestamp existiert.
+
+ Da die leere Zeile aber vor dem Ausstieg
+ geschrieben wird, führt dies zu folgenden Bild im Agentenoutput:
+
+ [[[Veeam Backup]]]
+ [[[Windows PowerShell]]]
+ <<<logwatch>>>
+
+ <<<local>>>
+ <<<mrpe>>>
+
+ Damit kommt dann der logwatch.ec check nicht mehr zurecht.
+
+ Log Forwarding UNKNOWN - invalid output from agent, invalid check
+
+ > parameters or error in implementation of check logwatch.ec. Please
+ > enable "Log exceptions in check plugins" for further information.