mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41: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
|
@ -142,7 +142,6 @@ my $fields_info = [
|
|||
sub pidfile() { "$ENV{MUNIN_PLUGSTATE}/munin.$plugin.pid" }
|
||||
sub cachefile() { "$ENV{MUNIN_PLUGSTATE}/munin.$plugin.cache" }
|
||||
|
||||
sub graph_section() { "system:cpu" };
|
||||
sub graph_name() { "cpu_extended_multi_1s" };
|
||||
sub graph_title() { "CPU usage" };
|
||||
sub graph_title_all() { "Overall CPU usage" };
|
||||
|
@ -335,7 +334,7 @@ sub run_config() {
|
|||
|
||||
print <<EOF;
|
||||
multigraph @{[ graph_name() ]}
|
||||
graph_category @{[ graph_section() ]}
|
||||
graph_category cpu
|
||||
graph_title @{[ graph_title() ]}
|
||||
graph_vlabel cpu use %
|
||||
graph_scale no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue