Changeset 3880
- Timestamp:
- 08/30/10 21:14:28 (1 year ago)
- Files:
-
- trunk/master/lib/Munin/Master/GraphOld.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/master/lib/Munin/Master/GraphOld.pm
r3777 r3880 369 369 } 370 370 371 return (munin_get($service, "graph_title", $service) . " - $scale_text"); 371 my $title = munin_get($service, "graph_title", $service); 372 373 # Substitute ${graph_period} in title 374 my $period = munin_get($service, "graph_period", "second"); 375 $title =~ s/\$\{graph_period\}/$period/g; 376 377 return ("$title - $scale_text"); 372 378 } 373 379 … … 956 962 957 963 my $tmplabel = munin_get($field, "label", $fname); 964 965 # Substitute ${graph_period} 966 my $period = munin_get($service, "graph_period", "second"); 967 $tmplabel =~ s/\$\{graph_period\}/$period/g; 958 968 959 969 push(@rrd,
