Project

General

Profile

Actions

Architecture #25869

open

metrics survey are never sent because technique wants yes and get complete

Added by François ARMAND 7 days ago. Updated about 9 hours ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
No

Description

The survey script is managed :

- in the webapp by the settings that is a tri-state: no, minimal, complete
- in the cfengine file: /var/rudder/config-repo/techniques/system/rudder-service-webapp/1.0/metrics-reporting.cf

This file seems to expect "yes", which never happens:

      "accept_metrics" expression => strcmp("${server_roles_common.send_metrics}", "yes");
      "run_metrics"    expression => "accept_metrics";

It should be "not no".

I tested to change it to:

     "accept_metrics"        not => strcmp("${server_roles_common.send_metrics}", "no");
      "run_metrics"    expression => "accept_metrics";

But the file is still not send:

rudder agent run:

...
E| n/a           Rudder Webapp             Send metrics to rudder-p|                    Sending metrics to rudder-project.org is not enabled. Skipping.

[root@server configuration-repository]# grep -i "send_metrics" /var/rudder/cfengine-community/inputs/*
/var/rudder/cfengine-community/inputs/rudder.json:  "SEND_METRICS":"complete",

Subtasks 1 (1 open0 closed)

Architecture #25918: Disable send metrics pop-up and menu in RudderNewActions

Related issues 1 (1 open0 closed)

Related to Rudder - Architecture #25841: Create an instance id on each root serverPending technical reviewFrançois ARMANDActions
Actions

Also available in: Atom PDF