Feature Suggestion: Network Monitoring API Enhancements for Interface Status and Traffic Metrics

m0z

New Member
Jun 22, 2026
3
0
1
Hello,

The current API endpoint /nodes/{node}/network exposes an active field, but this appears to reflect the administrative/configuration state of an interface rather than its actual operational status. For example, a physical NIC can lose carrier (cable unplugged, switch port down, transceiver failure) while still being reported as active=1.

For monitoring purposes, we would like the API to expose, for each physical interface and bond:

- Operational status (link up/down)
- Bond member status
- Real-time traffic counters (RX/TX bytes, packets, errors)
- Interface speed

This would allow monitoring platforms to:

- Detect bond degradation when a slave interface loses its link.
- Monitor interface health without SSH/SNMP access.
- Calculate bandwidth utilization and trigger alerts when usage exceeds thresholds (e.g. 90% of link capacity).

Providing these metrics through the REST API would greatly simplify network monitoring and eliminate the need for custom scripts or direct host access.

Thanks.
 
Last edited: