diff options
author | Sven Nierlein <sven@nierlein.de> | 2018-06-13 20:23:21 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-06-13 20:23:21 +0200 |
commit | 0b9c85109b3b929993f0afa16cb069e67e94e872 (patch) | |
tree | 4346eea6c64f390651ce2060b44dfa682ca4f8ff /plugins-scripts | |
parent | ae7c16306c9562d98caa843a550687cd618e36af (diff) | |
download | monitoring-plugins-0b9c85109b3b929993f0afa16cb069e67e94e872.tar.gz |
fix typo in check_uptime
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_uptime.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_uptime.pl b/plugins-scripts/check_uptime.pl index 1f844ff6..9679a7cd 100755 --- a/plugins-scripts/check_uptime.pl +++ b/plugins-scripts/check_uptime.pl @@ -124,7 +124,7 @@ my $out_of_bounds_text = ""; if ( $uptime_seconds > $upper_crit_threshold ) { $state_str = "CRITICAL"; $out_of_bounds_text = "upper crit"; -} elsif ( $uptime_seconds < $lower_crit_threshold ) { +} elsif ( $uptime_seconds < $lower_crit_threshold ) { $state_str = "CRITICAL"; $out_of_bounds_text = "lower crit"; } elsif ( $uptime_seconds > $upper_warn_threshold ) { |