Graylog2 / Graylog2/graylog2-server

Sidecar Idea: pre-validation

Open
#5,051 4 comments 0 reactions 0 assignees View on GitHub
feature needs-discussion sidecar triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

I'm facing the following problem: I'm managing `auditd` and `rsyslogd` through sidecar so, to run, these services have to be disabled and no longer be managed by `systemd`.

I don't have configuration management, so I can't just quickly roll-out a change to install sidecar everywhere, and in the same moment, also disable the services.

On some hosts, I will forget to disable the services, and the sidecar-managed processes will fail.

So here is my idea: Could there be a "pre-validation" step that executes and checks the output or response to a small script? For `rsyslogd` to be started using sidecar, I'd check first what `systemctl status rsyslogd` returns and put the process in a "pre-validation failed: rsyslogd not disabled in systemd" or something mode. This way, it is more obvious to me what happened. Especially compared to the generic "failing" status. I could also use it to check that a package is installed or a file exists, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.