Skip to content

Commit 2f8d31b

Browse files
committed
Revert "Add system.hostfs setting (#673)"
This reverts commit b1b35b1.
1 parent 300e96c commit 2f8d31b

12 files changed

Lines changed: 7 additions & 51 deletions

File tree

packages/linux/_dev/build/docs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ and the resulting `ptrace_may_access()` call by the kernel to check for
88
permissions can be blocked by
99
[AppArmor and other LSM software](https://gitlab.com/apparmor/apparmor/wikis/TechnicalDoc_Proc_and_ptrace), even though the System module doesn't use `ptrace` directly.
1010

11-
In addition, when running inside a container the proc filesystem directory of the host
12-
should be set using `system.hostfs` setting to `/hostfs`.
1311

1412
## Metrics
1513

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
metricsets: ["entropy"]
2-
period: {{period}}
3-
{{#if system.hostfs}}
4-
system.hostfs: {{system.hostfs}}
5-
{{/if}}
2+
period: {{period}}

packages/linux/data_stream/raid/agent/stream/stream.yml.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@ metricsets: ["raid"]
22
{{#if raid.mount_point}}
33
raid.mount_point: {{raid.mount_point}}
44
{{/if}}
5-
period: {{period}}
6-
{{#if system.hostfs}}
7-
system.hostfs: {{system.hostfs}}
8-
{{/if}}
5+
period: {{period}}

packages/linux/data_stream/socket/agent/stream/stream.yml.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ socket.reverse_lookup.success_ttl: {{socket.reverse_lookup.success_ttl}}
88
{{#if socket.reverse_lookup.failure_ttl}}
99
socket.reverse_lookup.failure_ttl: {{socket.reverse_lookup.failure_ttl}}
1010
{{/if}}
11-
period: {{period}}
12-
{{#if system.hostfs}}
13-
system.hostfs: {{system.hostfs}}
14-
{{/if}}
11+
period: {{period}}

packages/linux/docs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ and the resulting `ptrace_may_access()` call by the kernel to check for
88
permissions can be blocked by
99
[AppArmor and other LSM software](https://gitlab.com/apparmor/apparmor/wikis/TechnicalDoc_Proc_and_ptrace), even though the System module doesn't use `ptrace` directly.
1010

11-
In addition, when running inside a container the proc filesystem directory of the host
12-
should be set using `system.hostfs` setting to `/hostfs`.
1311

1412
## Metrics
1513

packages/linux/manifest.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: linux
33
title: Linux
4-
version: 0.3.6
4+
version: 0.3.5
55
license: basic
66
description: Linux Integration
77
type: integration
@@ -23,14 +23,6 @@ policy_templates:
2323
- type: system/metrics
2424
title: Collect system metrics from Linux instances
2525
description: Collecting Linux entropy, Network Summary, RAID, service, socket, and users metrics
26-
vars:
27-
- name: system.hostfs
28-
type: text
29-
title: Proc Filesystem Directory
30-
multi: false
31-
required: false
32-
show_user: true
33-
description: The proc filesystem base directory.
3426
- type: linux/metrics
3527
title: Collect low-level system metrics from Linux instances
3628
description: Collecting Linux conntrack, ksm, pageinfo metrics.

packages/system/_dev/build/docs/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ and the resulting `ptrace_may_access()` call by the kernel to check for
1212
permissions can be blocked by
1313
[AppArmor and other LSM software](https://gitlab.com/apparmor/apparmor/wikis/TechnicalDoc_Proc_and_ptrace), even though the System module doesn't use `ptrace` directly.
1414

15-
In addition, when running inside a container the proc filesystem directory of the host
16-
should be set using `system.hostfs` setting to `/hostfs`.
17-
1815
## Compatibility
1916

2017
The System datasets collect different kinds of metric data, which may require dedicated permissions

packages/system/data_stream/process/agent/stream/stream.yml.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ process.include_cpu_ticks: {{process.include_cpu_ticks}}
1313
processes:
1414
{{#each processes}}
1515
- {{this}}
16-
{{/each}}
17-
{{#if system.hostfs}}
18-
system.hostfs: {{system.hostfs}}
19-
{{/if}}
16+
{{/each}}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
metricsets: ["process_summary"]
2-
period: {{period}}
3-
{{#if system.hostfs}}
4-
system.hostfs: {{system.hostfs}}
5-
{{/if}}
2+
period: {{period}}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
metricsets: ["socket_summary"]
2-
period: {{period}}
3-
{{#if system.hostfs}}
4-
system.hostfs: {{system.hostfs}}
5-
{{/if}}
2+
period: {{period}}

0 commit comments

Comments
 (0)