mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
(plugin) os::linux::local - mode uptime handle login message (#3898)
This commit is contained in:
parent
a95e3c8025
commit
80371ef943
@ -63,7 +63,7 @@ sub run {
|
||||
);
|
||||
|
||||
my ($uptime, $idletime);
|
||||
if ($stdout =~ /([0-9\.]+)\s+([0-9\.]+)/) {
|
||||
if ($stdout =~ /^([0-9\.]+)\s+([0-9\.]+)/m) {
|
||||
($uptime, $idletime) = ($1, $2)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user