Hello
I'm having some trouble figuring this out. This is a RB5009
On the terminal:
/system health print
Columns: NAME, VALUE, TYPE
# NAME VALUE TYPE
0 cpu-temperature 54 C
/system health get number=0
[nothing]
/system health get value-name=temperature (just to show that doesn't work)
input does not match any value of value-name
/system health get value-name=cpu-temperature
input does not match any value of value-name
Script:
:log info "$[/system identity get name] $[/system health print] testing";
outputs: router testing
How can get router temperature in a script?
Thank you