Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syslog detection uses hardcoded paths #312

Closed
arvedarved opened this issue Dec 29, 2016 · 5 comments
Closed

Syslog detection uses hardcoded paths #312

arvedarved opened this issue Dec 29, 2016 · 5 comments

Comments

@arvedarved
Copy link

Currently hardcoded paths are used to find syslog-ng.conf in linux.data

E.g. OMS-Agent expects syslog-ng.conf in /etc/syslog-ng/syslog-ng.conf. On my distribution it is in /etc/syslog-ng.conf Other valid locations are e.g. /usr/local/etc/syslog-ng.conf

Possible solutions:

  • Allow specifying location of configuration files as commandline arguments
  • Test for common paths

This also applies to other Paths in linux.data e.g. rsyslog /sudoers configuration files

@KrisBash
Copy link
Contributor

KrisBash commented Jan 3, 2017

Hello,

What Linux distribution/version is this?

Thanks,

Kris

@arvedarved
Copy link
Author

A custom one.

@lagalbra
Copy link
Contributor

@arvedarved Unfortunately, since your Linux machine is custom (and therefore not on our documented list of supported distributions), you may have to customize some of the OMSAgent support yourself.

I would encourage you to create a fork of our repository, alter the differing paths, and build a bundle to install on your machine.

@lagalbra
Copy link
Contributor

lagalbra commented Apr 3, 2017

@arvedarved If you have any other questions, please update this thread; otherwise, this issue will be closed.

@lagalbra
Copy link
Contributor

Closing issue due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants