Levian Mozna se ti nevycita spravne
:local PSU1state [/system health get psu1-state]
:local PSU2state [/system health get psu2-state]
Tak zkus system/health/print ... to ti ukaze na kterym cisle mas psu:
Columns: NAME, VALUE, TYPE
NAME VALUE TYPE
0 cpu-temperature 45 C
1 sfp-temperature 69 C
2 switch-temperature 48 C
3 fan1-speed 1410 RPM
4 fan2-speed 1320 RPM
5 board-temperature1 34 C
6 board-temperature2 35 C
7 psu1-state ok
8 psu2-state ok
a pak to nahrat timto "system/health/get number=cislo_PSU value" tedy sprave
:local PSU1state [/system/health/get number=7 value]
:local PSU2state [/system/health/get number=8 value]