Comments (6)
@agup006 Can you take a look at this, provide guidance, and correct docs if needed?
from oms-agent-for-linux.
@agup006 Did you take a look at this? Can this issue be closed?
from oms-agent-for-linux.
@jeffaco
I think the instructions are correct since as prerequisite of using OMS with Docker is:
Your container hosts must be running:
Docker 1.8 or later
My original intention was to set up a Linux VM using an ARM Template with the following:
- Docker Extension
- OMS Monitoring the Docker Containers
The problem with this approach is that OMS won't enable Docker monitoring if Docker is not installed. You could first use the docker extension and then the OMS extension but this would fail by "log-driver=fluentd" docker start-up parameter - since the service is started by the OMS Extension.
I think a possible solution could be to flag the OMS extension to enable Docker Monitoring even if is not currently installed. A Workaround would be to have a custom script to restart the docker server as the last step on the ARM Template.
Thanks for your help!
from oms-agent-for-linux.
@jmacias I'm somewhat confused by your message.
Unfortunately, I don't know a lot about the Docker extension, but I know enough where we can hopefully help each other.
Normally, we only listen for log messages via UDP 25225. We do this because it's "lower weight", and generally sufficient for us to capture all logging information. But we later learned that, under very high message loads (like ~1000 messages/second), messages can be lost (even on the same system) with UDP, and you really needed TCP. So we did some optimization work to make OMS more efficient with batching, and we documented how to enable TCP/IP if you needed it.
So, with that explained, are you saying that Docker will only work with TCP/IP enabled (it won't work otherwise)? If so, that's definitely a documentation problem, and Anurag will need to fix that. Or are you saying something else?
Next, I don't fully understand your issue. The Docker agent does require that Docker be installed (it uses Docker directly). And you're running Docker containers, so you must have Docker installed, right?
The message on the portal is maintained by someone else; I can refer him to this thread if needed. But right now, I'd just like to clearly and succinctly understand your issues.
Thanks, and sorry for my confusion. There's multiple teams maintaining different components, and I need to clearly understand what's happening so I can involve the proper teams.
from oms-agent-for-linux.
I'm having the same issue. TCP port 25225 is not running.
There is a tcp port 24220 and a UDP port 25224 coming from a ruby script which I assume is the OMS agent.
following the instructions exactly, on multiple machines, port 25225 is never running.
Host OS is Centos 7.1
Docker v 1.9.1
omsagent version 1.1.0-239
changing the docker options line to use
OPTIONS="--log-driver=fluentd --log-opt fluentd-address=localhost:24220"
instead of
OPTIONS="--log-driver=fluentd --log-opt fluentd-address=localhost:25224"
works like a charm.
from oms-agent-for-linux.
Hi all, In some cases the docker configuration does not get loaded as part of the agent install. The container.conf
file can be found here - and can be copied over to /etc/opt/microsoft/omsagent/conf/omsagent.d/.
This configuration file opens the port to listen for logs being sent from the docker daemon.
from oms-agent-for-linux.
Related Issues (20)
- Error on Arc-enabled AWS VM
- OMS security rules causing Extensive audit logging
- OmsAgentForLinux-1.14.23 Debian 11 support? HOT 5
- No visible means to update cert, certs not updating HOT 1
- Helper.py will throw a variable exception if run on an unsupported OS
- selinux omsconfig rule does not take effact. HOT 1
- Cisco ASA Logs not parsing correctly
- Troubleshooter connectivity test
- onboard_agent.sh: Permission denied
- Understanding Cisco ASA CEF Flow HOT 1
- 1.14.23-0 installs broken version of omi
- Rate limiting
- How to enable GPU utilization from this agent?
- dsc_host crashing on Red Hat 7.9 HOT 1
- Rubrik syslog message field truncated HOT 1
- OMS agent is not collecting custom log from target path in a Linux folder HOT 1
- Agent cannot onboard
- Where is the new AzureMonitorAgent repository located? HOT 1
- error ejecucion de backup azure | /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.13.40/omsagent_shim.sh -install
- How to disable Azure Portal to automatically install OmsAgentForLinux on my VM?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oms-agent-for-linux.