Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Feb 20, 2013

check chassis fan and power supply status?

Hi

 

 

In v. 9-10 How to check status is "b platform" right?

 

but in v. 11.x Do you have a command to check chassis fan and power supply status?

 

I tried " tmsh show sys hardware" but didn't find anything about chassis fan and power supply status

 

 

thank you

 

  • I tried " tmsh show sys hardware" but didn't find anything about chassis fan and power supply statuswhere did you run "tmsh show sys hardware"? is it ssh or console? can you try ssh? i think there is bug which some information is missing when running the command on console.

    this is what i got. unit is running 11.1.0.

    [root@VIP4400-R15-S35:/S2-green-P:Active] config  tmsh show sys hardware|grep -iA 9 "Chassis Fan Status"
    Chassis Fan Status
      Index  Status  Fan Speed(rpm)
      1      up      3375
      2      up      3375
      3      up      3375
      4      up      3443
      5      up      3375
      6      up      3515
      7      up      3375
      8      up      3375
    
    [root@VIP4400-R15-S35:/S2-green-P:Active] config  tmsh show sys hardware|grep -iA 5 "Chassis Power Supply Status"
    Chassis Power Supply Status
      Index  Status
      1      up
      2      up
      3      down
      4      down
    
  • The '| grep -iA 9 "Chassis Fan Status"' part says 'show any line containing "Chassis Fan Status" (case-insensitive) and the 9 lines after that'. It's used here to only show the part of the output that you're actually interested in, rather than all the other "show sys hardware" guff as well.

     

    It's useful in examples like this to trim output (especially with the amount of stuff on a Viprion) and avoid including serial numbers or other identifying data. It does mean you need to know how many lines to include (which varies - a Viprion 4400 might have eight fans and four PSUs, whereas a smaller appliance might only have three fans and two PSUs), so for your own use, you can just leave it out if you're not sure.