mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
plugin categories: reorganize multiple plugins
This commit is contained in:
parent
5a45d49760
commit
34eeebbe37
19 changed files with 21 additions and 29 deletions
|
@ -102,7 +102,6 @@ if (!defined $ENV{MUNIN_PLUGSTATE}) {
|
|||
sub pidfile() { "$ENV{MUNIN_PLUGSTATE}/munin.$plugin.pid" }
|
||||
sub cachefile() { "$ENV{MUNIN_PLUGSTATE}/munin.$plugin.cache" }
|
||||
|
||||
sub graph_section() { "system:network" }
|
||||
sub graph_name() { "interfaces" }
|
||||
#sub graph_title() { "interfaces" }
|
||||
#sub graph_title_all() { "Overall CPU usage" }
|
||||
|
@ -327,7 +326,7 @@ sub show_config()
|
|||
}
|
||||
print <<EOF;
|
||||
multigraph @{[ graph_name() ]}
|
||||
graph_category @{[ graph_section() ]}
|
||||
graph_category network
|
||||
graph_title overall bits per seconds
|
||||
graph_vlabel bits per seconds
|
||||
update_rate 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue