Hi all,
I'm not 100% sure where to submit a request to change so figured I would start here...
While installing elastic agent using the generic linux package I have battled for some time to get it to work with a web proxy, it turns out it doesn't pick up any pre-configured environment variables and relies on variables defined in the EnvironmentFile (but you need to look at the elastic-agent service config to find this, and for the life of me, I still can't find any documentation defining this...).
The elastic-agent services require any environment variables (such as proxies) to be added to /etc/sysconfig/elastic-agent
, the directory /etc/sysconfig
is not native to Debian-based OSs such as Ubuntu might I suggest a more generic location such as /etc/profile.d/elastic-agent
as this is more generic and would be a recognised location on Redhat and Debian-based operating systems.
It just feels a bit odd to create a sysconfig directory on an ubuntu host just for this when the native location for this kind of info would be /etc/default/<config>
I appreciate it is difficult to cater for all, but this solution is very Redhat orientated and I feel there is a more generic solution for a generic linux package such as the one suggested above.