fix(mikrotik) units (#2308)

This commit is contained in:
UrBnW 2020-10-29 12:01:42 +01:00 committed by GitHub
parent 9e8a55daf8
commit b06cdc42ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ sub check {
if ($gauge_ok == 0 && defined($result->{mtxrHlCurrent}) && $result->{mtxrHlCurrent} =~ /[0-9]+/) {
check_current(
$self,
value => $result->{mtxrHlCurrent} / 100,
value => $result->{mtxrHlCurrent} / 1000,
instance => 1,
name => 'system'
);

View File

@ -116,7 +116,7 @@ sub check {
if ($gauge_ok == 0 && defined($result->{mtxrHlPower}) && $result->{mtxrHlPower} =~ /[0-9]+/) {
check_power(
$self,
value => $result->{mtxrHlPower} / 100,
value => $result->{mtxrHlPower} / 10,
instance => 1,
name => 'system'
);