mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
if: one probably wants bit for traffic graphs
This commit is contained in:
parent
4a7a0de134
commit
42fd0b1a2c
@ -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
|
||||
|
||||
This plugin displays the following charts:
|
||||
Traffic, bytes
|
||||
Traffic, bit
|
||||
Traffic, packets
|
||||
Average packet size
|
||||
Interface errors
|
||||
@ -76,15 +76,15 @@ my $interfaces = {};
|
||||
# ------------------------ avialable graphs -------------------------
|
||||
my $graphs =
|
||||
{
|
||||
'if_bytes' =>
|
||||
'if_bit' =>
|
||||
{
|
||||
'munin' =>
|
||||
{
|
||||
'category' => 'network',
|
||||
'args' => '--base 1024',
|
||||
'title' => ':if: traffic, bytes',
|
||||
'vlabel' => 'Bytes in (-) / out (+), avg. per second',
|
||||
'info' => 'This graph shows the traffic in bytes of the :if:, averaged value per second from last update'
|
||||
'args' => '--base 1000',
|
||||
'title' => ':if: traffic, bit',
|
||||
'vlabel' => 'Bit in (-) / out (+), avg. per second',
|
||||
'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)],
|
||||
'general_fields' => [qw(rx_bytes tx_bytes)]
|
||||
@ -290,14 +290,15 @@ my $fields =
|
||||
{
|
||||
'type' => 'GAUGE',
|
||||
'draw' => 'LINE1',
|
||||
'label' => 'RX bytes',
|
||||
'info' => 'RX bytes'
|
||||
'label' => 'RX bit',
|
||||
'info' => 'RX bit'
|
||||
},
|
||||
'source' =>
|
||||
{
|
||||
'type' => 'file',
|
||||
'location' => $ifpath.'/:if:/statistics/rx_bytes'
|
||||
},
|
||||
'cdef' => '8,*',
|
||||
'peack_protect' => 'max_interface_bps',
|
||||
'negative' =>
|
||||
{
|
||||
@ -552,14 +553,15 @@ my $fields =
|
||||
{
|
||||
'type' => 'GAUGE',
|
||||
'draw' => 'LINE1',
|
||||
'label' => 'TX bytes',
|
||||
'info' => 'TX bytes'
|
||||
'label' => 'TX bit',
|
||||
'info' => 'TX bit'
|
||||
},
|
||||
'source' =>
|
||||
{
|
||||
'type' => 'file',
|
||||
'location' => $ifpath.'/:if:/statistics/tx_bytes'
|
||||
},
|
||||
'cdef' => '8,*',
|
||||
'peack_protect' => 'max_interface_bps',
|
||||
'difference' => 'per_secund'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user