mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
* feat(host_analyzer): add host sysctl analyzer * chore: add e2e tests to support bundle collection * chore: missing spec e2e test update * chore: cleanup remote collector and use parse operator * chore: update schemas
19 lines
512 B
YAML
19 lines
512 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: HostPreflight
|
|
metadata:
|
|
name: sysctl
|
|
spec:
|
|
collectors:
|
|
- sysctl:
|
|
collectorName: host sysctl
|
|
analyzers:
|
|
- sysctl:
|
|
collectorName: host sysctl
|
|
outcomes:
|
|
- warn:
|
|
when: 'kern.ostype == Darwin'
|
|
message: "Running sysctl on a Darwin host"
|
|
- pass:
|
|
when: 'net.ipv4.conf.default.arp_ignore > 0'
|
|
message: "ARP ignore is enabled for the default interfaces interfaces on the host."
|