summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_uptime.pl
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2018-06-13 18:23:21 (GMT)
committerSven Nierlein <sven@nierlein.de>2018-06-13 18:23:21 (GMT)
commit0b9c85109b3b929993f0afa16cb069e67e94e872 (patch)
tree4346eea6c64f390651ce2060b44dfa682ca4f8ff /plugins-scripts/check_uptime.pl
parentae7c16306c9562d98caa843a550687cd618e36af (diff)
downloadmonitoring-plugins-0b9c85109b3b929993f0afa16cb069e67e94e872.tar.gz
fix typo in check_uptime
Diffstat (limited to 'plugins-scripts/check_uptime.pl')
-rwxr-xr-xplugins-scripts/check_uptime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_uptime.pl b/plugins-scripts/check_uptime.pl
index 1f844ff..9679a7c 100755
--- a/plugins-scripts/check_uptime.pl
+++ b/plugins-scripts/check_uptime.pl
@@ -124,7 +124,7 @@ my $out_of_bounds_text = "";
124if ( $uptime_seconds > $upper_crit_threshold ) { 124if ( $uptime_seconds > $upper_crit_threshold ) {
125 $state_str = "CRITICAL"; 125 $state_str = "CRITICAL";
126 $out_of_bounds_text = "upper crit"; 126 $out_of_bounds_text = "upper crit";
127} elsif ( $uptime_seconds < $lower_crit_threshold ) { 127} elsif ( $uptime_seconds < $lower_crit_threshold ) {
128 $state_str = "CRITICAL"; 128 $state_str = "CRITICAL";
129 $out_of_bounds_text = "lower crit"; 129 $out_of_bounds_text = "lower crit";
130} elsif ( $uptime_seconds > $upper_warn_threshold ) { 130} elsif ( $uptime_seconds > $upper_warn_threshold ) {