Bug #5099
closed
Rsyslog conditonnal cannot accept reports from CFEngine 3.6
Added by Lionel Le Folgoc over 10 years ago.
Updated over 10 years ago.
Category:
System integration
Description
Hi again,
Still with the 4 components architecture (cf. #5080, #5087, #5089 and #5098).
On server-1 (rudder-front), the /etc/rsyslog.d/rudder.conf file condition (line 39-45) to redirect to server-4 (rudder-webapp) does not seem to match anything:
[...]
if $programname startswith 'rudder' and $msg startswith ' R: @@' then @@rudderdv.jcd.priv:514
[...]
Reports are always missing on server-4...
If I create a dummy file named /etc/rsyslog.d/alolponies.conf containing:
if $programname startswith 'rudder' then @@rudderdv.jcd.priv:514
log messages are correctly forwarded to server-4 (rudder-webapp), and reports are showing.
Thanks.
- Category set to 39
- Assignee set to Nicolas CHARLES
- Target version set to 2.11.0~beta2
Oh. CFEngine 3.6 slighly changed its output format :(
- Status changed from New to Pending technical review
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/418
- Status changed from Pending technical review to In progress
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Target version changed from 2.11.0~beta2 to 2.6.16
To preserve compatibility between every versions of rudder, we are going to remove this in Rudder 2.6
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Pull Request changed from https://github.com/Normation/rudder-techniques/pull/418 to https://github.com/Normation/rudder-techniques/pull/419
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:190323939686b82cc564d1c4412a94f047100111.
Applied in changeset policy-templates:commit:c32ec780cc9f939f4032f734f7f29141daab1d77.
- Subject changed from Incorrect rsyslog conditional to Reports may not be forwarded to Rudder server due to an incorrect conditonal
- Category changed from 39 to System integration
- Subject changed from Reports may not be forwarded to Rudder server due to an incorrect conditonal to Rsyslog conditonnal cannot accept reports from CFEngine 3.6
- Status changed from Pending release to Released
Also available in: Atom
PDF