add instance for mikrotik temperature
This commit is contained in:
parent
e9876ea9c6
commit
91d2854ede
|
@ -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