Start your 30 day free trial.
Start for freeGetting Started
Process Collection
Gremlin can collect information about the processes running on the Linux machines where the Gremlin Agent is installed. This process information is required to define Services in Gremlin Reliability Management and helps inform Gremlin's Service features.
What is collected?
For every process visible to the Gremlin Agent, Gremlin will collect:
- process ID (PID)
- parent process ID (PPID)
- active UDP and TCP sockets (<span class="code-class-custom">ipaddress:port</span>)
- path to process executable
- command line argument to process
Requirements
- Gremlin Agent version <span class="code-class-custom">2.18.0</span>
- Gremlin Kubernetes Chao version <span class="code-class-custom">0.3+</span>
- Gremlin must run within the PID namespace of the host; for Kubernetes this means hostPID=true
- Gremlin needs the CAP_SYS_PTRACE capability
- Gremlin needs the CAP_DAC_READ_SEARCH capability
Enable Process Collection
To enable Process Collection, use one of the following methods:
- set <span class="code-class-custom">GREMLIN_COLLECT_PROCESSES=true</span> in the Gremlin agent environment (by writing to <span class="code-class-custom">/etc/default/gremlind</span>)
- set <span class="code-class-custom">collect_processes: true</span> in /etc/gremlin/config.yaml
Examples
The following sections show examples for enabling Process Collection on your platform.
Existing installation
APT
YUM
Kubernetes
Docker
Disable Process Collection
To disable Process Collection, use one of the following methods:
- set GREMLIN_COLLECT_PROCESSES=false in the Gremlin agent environment (by writing to /etc/default/gremlind)
- set collect_processes: false in /etc/gremlin/config.yaml
Examples
The following sections show examples for disabling Process Collection on your platform.
Existing installation
APT
YUM
Kubernetes
Docker
No items found.