1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Fix spelling mistakes in comments and descriptions

Thanks, codespell!
This commit is contained in:
Lars Kruse 2020-03-26 02:12:57 +01:00
parent 561da1a3f1
commit 8713eb3722
162 changed files with 248 additions and 248 deletions

View file

@ -83,7 +83,7 @@ sub poll_variables {
my $expression = shift;
my $ret = 0;
open(SERVICE, "$command |")
or die("Coult not execute '$command': $!");
or die("Could not execute '$command': $!");
while (<SERVICE>) {
my ($field, $value) = (m/(\w+).*?(\d+(?:\.\d+)?)/);
next unless ($field);

View file

@ -59,7 +59,7 @@ if ($arg eq 'config') {
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
my ($k, $v) = (m/(\w+).*?(\d+(?:\.\d+)?)/);

View file

@ -62,7 +62,7 @@ if ($arg eq 'config') {
my ($free, $used) = (0,0);
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
my ($k, $v) = (m/(\w+).*?(\d+(?:\.\d+)?)/);
@ -75,7 +75,7 @@ while (<SERVICE>) {
close(SERVICE);
open(SERVICE, "$COMMANDSIZE |")
or die("Coult not execute '$COMMANDSIZE': $!");
or die("Could not execute '$COMMANDSIZE': $!");
while (<SERVICE>) {
my ($k, $v) = (m/(\w+).*?(\d+(?:\.\d+)?)/);

View file

@ -72,7 +72,7 @@ my (@infos,$info,$i_data,$i_index);
my $COMMAND = "$MYSQLADMIN $ENV{mysqlopts} $db -e 'show table status;' | grep 'Data'";
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
(@infos) = split;
@ -95,7 +95,7 @@ foreach $info (@infos) {
$COMMAND = "$MYSQLADMIN $ENV{mysqlopts} $db -e 'show table status;' | cut -f $i_data,$i_index | grep -v leng";
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
(m/(\d+).*?(\d+(?:\.\d+)?)/);

View file

@ -76,7 +76,7 @@ foreach my $db (getDBList()) {
$COMMAND = "$MYSQLADMIN $ENV{mysqlopts} $db -e 'show table status;' | head -n 1";
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
(@infos) = split;
@ -100,7 +100,7 @@ foreach my $db (getDBList()) {
$COMMAND = "$MYSQLADMIN $ENV{mysqlopts} $db -e 'show table status;' | cut -f $i_data,$i_index | grep -v leng";
open(SERVICE, "$COMMAND |")
or die("Coult not execute '$COMMAND': $!");
or die("Could not execute '$COMMAND': $!");
while (<SERVICE>) {
(m/(\d+).*?(\d+(?:\.\d+)?)/);