Skip to main content

Module varlink_networkd

Module varlink_networkd 

Source
Expand description

Collection of systemd-networkd statistics via the io.systemd.Network varlink API. Available from systemd v257+.

When enabled via enable_varlink = true in the [networkd] config section, monitord will attempt to collect interface states via varlink and fall back to parsing /run/systemd/netif/links state files on failure.

Re-exports§

pub use crate::varlink::network::NETWORK_SOCKET_PATH;

Functions§

get_networkd_state
Collect networkd interface stats via the io.systemd.Network varlink Describe method.