add instance for mikrotik temperature

This commit is contained in:
garnier-quentin 2019-04-17 18:15:35 +02:00
parent e9876ea9c6
commit 91d2854ede
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ sub check {
$self->{output}->perfdata_add(
label => 'temperature', unit => 'C',
nlabel => 'hardware.temperature.celsius',
instances => 'system',
value => $result->{mtxrHlTemperature} / 10,
warning => $warn,
critical => $crit