microsoft / OMS-Agent-for-Linux

http://www.microsoft.com/oms
Other
410 stars 311 forks source link

Agent install on RHEL 7.6 certificate path doesn't get created/detected properly #898

Closed bobfrankly closed 1 week ago

bobfrankly commented 5 years ago

Following the official documentation

  1. Performed a install of omsagent-1.6.0-163.rhel.7.x64.sh
  2. attempted to find the certificate for signing. normal linux path does not exist. /etc/opt/microsoft/scx/ssl contains only scx.pem. No host pem file.
  3. attempted running /opt/microsoft/omsagent/bin/regenerate_scom_cert.sh got the following output:

Regenerating SCOM certs Generating certificate with hostname="servername.redacted.org"

Generation of certificate raised an exception Output path "/etc/opt/microsoft/omsagent/scom/certs/" does not exist

WORKAROUND

I was able to create the missing path, and generate some certificates. I still have to sign them and test further, but this looks on the face like undesireable behavior.

hestolz commented 1 week ago

Thank you for your submission. As previously announced, the Log Analytics agent has been deprecated and has no support as of August 31, 2024. If you use the Log Analytics agent to ingest data to Azure Monitor, migrate now to the new Azure Monitor agent. As part of repo archival, open issues and pull requests will be closed.