[dev.icinga.com #10757] Icinga-Web doesn't write to pipe #1370
Comments
Updated by Tux12Fun on 2015-12-01 14:03:57 +00:00 After a clear cache Icinga-web writes to file. But at the pipe I can see the following:
Looks like a missing \n or something? |
Updated by mhein on 2015-12-01 14:07:00 +00:00
Hi, yes I agree. I'll have a look. Thanks you. Kind regards, Marius |
Updated by Tux12Fun on 2015-12-01 14:12:28 +00:00 I think this could be a Bug at Icinga2 because this was the last component I updated. IcingaWeb2 is working, but if I send Commands vom IcinigaWeb1x they don't appear in Icinga2 Log as external Command. |
Updated by domin on 2015-12-01 14:28:57 +00:00 I have the same issue but i think i have found a solution: I think the reason of this behavour is that icinga 2 expects that there is an \n at the end of the command, but icinga-web uses printf to send the command which does not add a new-line character. The corresponding icinga 2 commit: github The corresponding code line in the icinga-web repo: github |
Updated by mfriedrich on 2015-12-15 09:41:07 +00:00
|
Updated by mfriedrich on 2015-12-15 09:41:21 +00:00
|
Updated by mfriedrich on 2015-12-15 09:41:48 +00:00
|
Updated by mhein on 2015-12-21 11:55:07 +00:00
Applied in changeset 9480252. |
Updated by mfriedrich on 2016-01-13 09:46:51 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10757
Created by Tux12Fun on 2015-12-01 13:29:25 +00:00
Assignee: mhein
Status: Resolved (closed on 2015-12-21 11:55:07 +00:00)
Target Version: 1.14
Last Update: 2016-01-13 09:46:51 +00:00 (in Redmine)
Hi,
my Icinga-Web is running for months, but now I'am unable to send commands.
So I tried to get every Info. Here is what I found.
I created a text file at /tmp/icinga2.cmd to see if any command reaches it. But it stays empty.
Can you give me a hint to fix this?
The file is writeable for everyone.
I can't find any error.
Changesets
2015-12-21 11:49:52 +00:00 by mhein 9480252
Relations:
The text was updated successfully, but these errors were encountered: