mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
Added suffix "s" for seconds in perfdata output
This commit is contained in:
parent
44816b4979
commit
d5fbf8ae93
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue