aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts')
-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 09600df4..8c1f3d20 100755
--- a/plugins-scripts/check_uptime.pl
+++ b/plugins-scripts/check_uptime.pl
@@ -137,7 +137,7 @@ if ( $opt_s ) {
$state = $ERRORS{$state_str};
# Perfdata support
-print "$msg|uptime=$uptime_seconds;$opt_w;$opt_c;0\n";
+print "$msg|uptime=${uptime_seconds}s;$opt_w;$opt_c;0\n";
exit $state;