2014-08-20 20:27:41 +00:00
|
|
|
table_name("interface_details")
|
2015-02-09 01:40:35 +00:00
|
|
|
description("Detailed information and stats of network interfaces.")
|
2014-08-20 20:27:41 +00:00
|
|
|
schema([
|
2015-02-09 01:40:35 +00:00
|
|
|
Column("interface", TEXT, "Interface name"),
|
|
|
|
Column("mac", TEXT, "MAC of interface (optional)"),
|
|
|
|
Column("type", INTEGER, "Interface type (includes virtual)"),
|
|
|
|
Column("mtu", INTEGER, "Network MTU"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("metric", INTEGER, "Metric based on the speed of the interface"),
|
2015-02-09 01:40:35 +00:00
|
|
|
Column("ipackets", BIGINT, "Input packets"),
|
|
|
|
Column("opackets", BIGINT, "Output packets"),
|
|
|
|
Column("ibytes", BIGINT, "Input bytes"),
|
|
|
|
Column("obytes", BIGINT, "Output bytes"),
|
|
|
|
Column("ierrors", BIGINT, "Input errors"),
|
|
|
|
Column("oerrors", BIGINT, "Output errors"),
|
|
|
|
Column("last_change", BIGINT, "Time of last device modification (optional)"),
|
2014-08-20 20:27:41 +00:00
|
|
|
])
|
2014-10-14 04:58:26 +00:00
|
|
|
implementation("interfaces@genInterfaceDetails")
|