mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
if: one probably wants bit for traffic graphs
This commit is contained in:
parent
4a7a0de134
commit
42fd0b1a2c
1 changed files with 12 additions and 10 deletions
|
@ -10,7 +10,7 @@ if - Multigraph plugin to monitor network wired and wireless interfaces
|
||||||
In the general graphs made key fields for each interface, a subsidiary graphs for each interface there are detailed
|
In the general graphs made key fields for each interface, a subsidiary graphs for each interface there are detailed
|
||||||
|
|
||||||
This plugin displays the following charts:
|
This plugin displays the following charts:
|
||||||
Traffic, bytes
|
Traffic, bit
|
||||||
Traffic, packets
|
Traffic, packets
|
||||||
Average packet size
|
Average packet size
|
||||||
Interface errors
|
Interface errors
|
||||||
|
@ -76,15 +76,15 @@ my $interfaces = {};
|
||||||
# ------------------------ avialable graphs -------------------------
|
# ------------------------ avialable graphs -------------------------
|
||||||
my $graphs =
|
my $graphs =
|
||||||
{
|
{
|
||||||
'if_bytes' =>
|
'if_bit' =>
|
||||||
{
|
{
|
||||||
'munin' =>
|
'munin' =>
|
||||||
{
|
{
|
||||||
'category' => 'network',
|
'category' => 'network',
|
||||||
'args' => '--base 1024',
|
'args' => '--base 1000',
|
||||||
'title' => ':if: traffic, bytes',
|
'title' => ':if: traffic, bit',
|
||||||
'vlabel' => 'Bytes in (-) / out (+), avg. per second',
|
'vlabel' => 'Bit in (-) / out (+), avg. per second',
|
||||||
'info' => 'This graph shows the traffic in bytes of the :if:, averaged value per second from last update'
|
'info' => 'This graph shows the traffic in bit of the :if:, averaged value per second from last update'
|
||||||
},
|
},
|
||||||
'per_if_fields' => [qw(rx_bytes tx_bytes)],
|
'per_if_fields' => [qw(rx_bytes tx_bytes)],
|
||||||
'general_fields' => [qw(rx_bytes tx_bytes)]
|
'general_fields' => [qw(rx_bytes tx_bytes)]
|
||||||
|
@ -290,14 +290,15 @@ my $fields =
|
||||||
{
|
{
|
||||||
'type' => 'GAUGE',
|
'type' => 'GAUGE',
|
||||||
'draw' => 'LINE1',
|
'draw' => 'LINE1',
|
||||||
'label' => 'RX bytes',
|
'label' => 'RX bit',
|
||||||
'info' => 'RX bytes'
|
'info' => 'RX bit'
|
||||||
},
|
},
|
||||||
'source' =>
|
'source' =>
|
||||||
{
|
{
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'location' => $ifpath.'/:if:/statistics/rx_bytes'
|
'location' => $ifpath.'/:if:/statistics/rx_bytes'
|
||||||
},
|
},
|
||||||
|
'cdef' => '8,*',
|
||||||
'peack_protect' => 'max_interface_bps',
|
'peack_protect' => 'max_interface_bps',
|
||||||
'negative' =>
|
'negative' =>
|
||||||
{
|
{
|
||||||
|
@ -552,14 +553,15 @@ my $fields =
|
||||||
{
|
{
|
||||||
'type' => 'GAUGE',
|
'type' => 'GAUGE',
|
||||||
'draw' => 'LINE1',
|
'draw' => 'LINE1',
|
||||||
'label' => 'TX bytes',
|
'label' => 'TX bit',
|
||||||
'info' => 'TX bytes'
|
'info' => 'TX bit'
|
||||||
},
|
},
|
||||||
'source' =>
|
'source' =>
|
||||||
{
|
{
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'location' => $ifpath.'/:if:/statistics/tx_bytes'
|
'location' => $ifpath.'/:if:/statistics/tx_bytes'
|
||||||
},
|
},
|
||||||
|
'cdef' => '8,*',
|
||||||
'peack_protect' => 'max_interface_bps',
|
'peack_protect' => 'max_interface_bps',
|
||||||
'difference' => 'per_secund'
|
'difference' => 'per_secund'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue