add instance for mikrotik temperature
This commit is contained in:
parent
436cdf688d
commit
d0c65d4700
|
@ -53,6 +53,7 @@ sub check {
|
||||||
$self->{output}->perfdata_add(
|
$self->{output}->perfdata_add(
|
||||||
label => 'temperature', unit => 'C',
|
label => 'temperature', unit => 'C',
|
||||||
nlabel => 'hardware.temperature.celsius',
|
nlabel => 'hardware.temperature.celsius',
|
||||||
|
instances => 'system',
|
||||||
value => $result->{mtxrHlTemperature} / 10,
|
value => $result->{mtxrHlTemperature} / 10,
|
||||||
warning => $warn,
|
warning => $warn,
|
||||||
critical => $crit
|
critical => $crit
|
||||||
|
|
Loading…
Reference in New Issue