Add network bonding collector
This collector exposes two metrics: - net_bonding_slaves: configured slaves per bonding interface - net_bonding_slaves_active: currently active slaves per bonding interface
This commit is contained in:
parent
b03ff7cb9b
commit
0bf0f67503
10 changed files with 123 additions and 0 deletions
0
collector/fixtures/bonding/bond0/bonding/slaves
Normal file
0
collector/fixtures/bonding/bond0/bonding/slaves
Normal file
1
collector/fixtures/bonding/bonding_masters
Normal file
1
collector/fixtures/bonding/bonding_masters
Normal file
|
|
@ -0,0 +1 @@
|
|||
bond0 dmz int
|
||||
1
collector/fixtures/bonding/dmz/bonding/slaves
Normal file
1
collector/fixtures/bonding/dmz/bonding/slaves
Normal file
|
|
@ -0,0 +1 @@
|
|||
eth0 eth4
|
||||
1
collector/fixtures/bonding/dmz/slave_eth0/operstate
Normal file
1
collector/fixtures/bonding/dmz/slave_eth0/operstate
Normal file
|
|
@ -0,0 +1 @@
|
|||
up
|
||||
1
collector/fixtures/bonding/dmz/slave_eth4/operstate
Normal file
1
collector/fixtures/bonding/dmz/slave_eth4/operstate
Normal file
|
|
@ -0,0 +1 @@
|
|||
up
|
||||
1
collector/fixtures/bonding/int/bonding/slaves
Normal file
1
collector/fixtures/bonding/int/bonding/slaves
Normal file
|
|
@ -0,0 +1 @@
|
|||
eth5 eth1
|
||||
1
collector/fixtures/bonding/int/slave_eth1/operstate
Normal file
1
collector/fixtures/bonding/int/slave_eth1/operstate
Normal file
|
|
@ -0,0 +1 @@
|
|||
down
|
||||
1
collector/fixtures/bonding/int/slave_eth5/operstate
Normal file
1
collector/fixtures/bonding/int/slave_eth5/operstate
Normal file
|
|
@ -0,0 +1 @@
|
|||
up
|
||||
Loading…
Add table
Add a link
Reference in a new issue