1
0
Fork 0
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:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -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;
}