diff options
author | Bernd Arnold <wopfel@gmail.com> | 2018-06-13 16:10:17 +0200 |
---|---|---|
committer | Bernd Arnold <wopfel@gmail.com> | 2018-06-13 16:10:17 +0200 |
commit | a784b19d6fc193e4c98ec6b2248bf4e252a9a0d7 (patch) | |
tree | 0667e1ba11831f13ae2a4bc6acb6ff99cd9c868a /plugins-scripts/check_uptime.pl | |
parent | 9ee884b3de6c95f871a714dfc67cfb9b5e11724f (diff) | |
download | monitoring-plugins-a784b19d6fc193e4c98ec6b2248bf4e252a9a0d7.tar.gz |
Modified alignment
Diffstat (limited to 'plugins-scripts/check_uptime.pl')
-rwxr-xr-x | plugins-scripts/check_uptime.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_uptime.pl b/plugins-scripts/check_uptime.pl index 88170307..2b230f5c 100755 --- a/plugins-scripts/check_uptime.pl +++ b/plugins-scripts/check_uptime.pl | |||
@@ -192,7 +192,7 @@ sub process_arguments(){ | |||
192 | if ( $opt_w =~ /^(\d+)([a-z])$/ ) { | 192 | if ( $opt_w =~ /^(\d+)([a-z])$/ ) { |
193 | my $value = $1; | 193 | my $value = $1; |
194 | my $suffix = $2; | 194 | my $suffix = $2; |
195 | print "warning: value=$value, suffix=$suffix\n" if $verbose; | 195 | print "warning: value=$value, suffix=$suffix\n" if $verbose; |
196 | if ( ! defined $factor{$suffix} ) { | 196 | if ( ! defined $factor{$suffix} ) { |
197 | print "Error: wrong suffix ($suffix) for warning"; | 197 | print "Error: wrong suffix ($suffix) for warning"; |
198 | exit $ERRORS{'UNKNOWN'}; | 198 | exit $ERRORS{'UNKNOWN'}; |
@@ -202,7 +202,7 @@ sub process_arguments(){ | |||
202 | if ( $opt_c =~ /^(\d+)([a-z])$/ ) { | 202 | if ( $opt_c =~ /^(\d+)([a-z])$/ ) { |
203 | my $value = $1; | 203 | my $value = $1; |
204 | my $suffix = $2; | 204 | my $suffix = $2; |
205 | print "critical: value=$value, suffix=$suffix\n" if $verbose; | 205 | print "critical: value=$value, suffix=$suffix\n" if $verbose; |
206 | if ( ! defined $factor{$suffix} ) { | 206 | if ( ! defined $factor{$suffix} ) { |
207 | print "Error: wrong suffix ($suffix) for critical"; | 207 | print "Error: wrong suffix ($suffix) for critical"; |
208 | exit $ERRORS{'UNKNOWN'}; | 208 | exit $ERRORS{'UNKNOWN'}; |