Configuring Fluentd Monitor Agent with specific Network Interfaces
The OMS Agent deploys a monitoring agent plugin that exports Fluentd's internal metrics via REST API. By default, it listens on port 25324
and binds on all interfaces (0.0.0.0
).
There are certain instances where there might be a requirement to ensure that the Monitor Agent on port 25324
is bound to a specific network interface. This can be configured through the monitor.conf
file by specifying a bind
directive.
The monitor.conf
file can be found in /etc/opt/microsoft/omsagent/{WORKSPACE-ID}/conf/omsagent.d/monitor.conf
.
monitor.conf
<source>
type monitor_agent
bind 127.0.0.1 # Replace this value with the IP of your preferred network interface
tag oms.health
port 25324
emit_interval 5m
emit_config true
</source>
...