Project

General

Profile

Actions

Bug #22655

closed

Always send start/end reports even in changes-only mode

Added by Alexis Mousset over 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

Currently it is skipped unless we have a repaired/error report, but this leads to invalid runlogs being sent to the server.
As in HTTP reporting mode a report is sent for every agent run, let's make it valid.

More precisely:

  • When we have old techniques making hard-coded reports, we have runlogs containing valid reports without a start/end (as the detection mechanism is in the new reporting methods), and relayd logs a Missing start/end control reports in runlog, no config id available.
  • When we have no report at all, we still have all CFEngine logs and relayd cannot affect them to a report, which leads to Invalid report logs.

This might have a very slight performance impact on the server as more reports will be inserted in the database.

Actions

Also available in: Atom PDF