A customer recently inquired about missing data in the "Network Bandwidth" graph. This graph is supported by data from the proc.net.*
metrics (particularly proc.net.bytes
). The Scalyr Agent only looks for network interfaces with an eth
prefix, so if you are running a distribution where this differs, the associated proc.net
data will not show up.
To update the network prefix that is used, follow these steps:
In your /etc/scalyr-agent-2/agent.json configuration file, confirm that the implicit metrics monitor is turned off.
...
implicit_metric_monitor: false,
...
Add the Linux system metrics monitor to your monitors section and define the network prefix that your distribution uses.
...
monitors: [
{
module: "scalyr_agent.builtin_monitors.linux_system_metrics",
network_interface_prefixes: "ens",
}
]
These changes will be automatically picked up by the Scalyr Agent once you have saved the agent.json
file (the Scalyr Agent does not need to be manually restarted).
Comments
0 comments
Please sign in to leave a comment.