mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -11,7 +11,7 @@
|
|||
# Reads has logarithmic scale
|
||||
# Adjust some scaling factors
|
||||
# Support for INET connections, the new default
|
||||
#
|
||||
#
|
||||
# Invoke using symlinks to zeo_monitor_ in the form zeo_monitor_{clients,reads,writes,errors}_<storage_name>
|
||||
#
|
||||
# This plugin can be configured manually or by autoconf (provided that the ZEO
|
||||
|
@ -26,7 +26,7 @@
|
|||
# ln -s /usr/share/munin/plugins/zeo_monitor_ /etc/munin/plugins/zeo_monitor_reads_temp
|
||||
# ln -s /usr/share/munin/plugins/zeo_monitor_ /etc/munin/plugins/zeo_monitor_writes_1
|
||||
# ln -s /usr/share/munin/plugins/zeo_monitor_ /etc/munin/plugins/zeo_monitor_writes_temp
|
||||
#
|
||||
#
|
||||
#
|
||||
# Configuration variables:
|
||||
#
|
||||
|
@ -131,7 +131,7 @@ die qq(Symlink to this script by appending a mode and storage name such as "zeo_
|
|||
##########
|
||||
|
||||
if ( $ARGV[0] and $ARGV[0] eq "config") {
|
||||
|
||||
|
||||
print <<"EOF";
|
||||
graph_title ZEO $mode for storage $storage_name
|
||||
graph_args --base 1000 --lower-limit 0
|
||||
|
@ -258,7 +258,7 @@ sub parse_zeo_monitor {
|
|||
)
|
||||
\n
|
||||
/sx;
|
||||
|
||||
|
||||
my %name_var=(
|
||||
'Clients' => 'clients',
|
||||
'Commits' => 'commits',
|
||||
|
@ -268,7 +268,7 @@ sub parse_zeo_monitor {
|
|||
'Conflicts' => 'conflicts',
|
||||
'Conflicts resolved' => 'conflictsres',
|
||||
);
|
||||
|
||||
|
||||
my %stats=();
|
||||
foreach (split /\n/, $stats) {
|
||||
(my $name,my $value)=split ': ',$_,2;
|
||||
|
@ -276,7 +276,7 @@ sub parse_zeo_monitor {
|
|||
next unless $var;
|
||||
$stats{$var}=$value;
|
||||
}
|
||||
|
||||
|
||||
return %stats;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue