mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
plugins: make all of them use graph_vlabel instead of graph_vtitle.
This commit is contained in:
parent
55cb01870b
commit
c814853976
5 changed files with 9 additions and 9 deletions
|
@ -64,7 +64,7 @@ when 'config'
|
|||
puts <<CONFIG
|
||||
graph_title Netstat: #{desc}
|
||||
graph_category netstat
|
||||
graph_vtitle current
|
||||
graph_vlabel current
|
||||
graph_order #{values.map { |name, _| name.to_s.escape }.join ' '}
|
||||
CONFIG
|
||||
puts values.map { |name, _|
|
||||
|
|
|
@ -58,7 +58,7 @@ class Graph
|
|||
"multigraph #{name(unit)}",
|
||||
"graph_title Netstat: #{@protocol}: #{@name}#{" (#{unit})" if multigraphs.size > 1}",
|
||||
"graph_category netstat",
|
||||
"graph_vtitle per second",
|
||||
"graph_vlabel per second",
|
||||
"graph_order #{labels.map(&:escape).join(' ')}"
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue