fix(mikrotik) units (#2308)
This commit is contained in:
parent
9e8a55daf8
commit
b06cdc42ed
|
@ -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'
|
||||
);
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue