Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
StevenT
New Contributor III

Anyway to check the psu status details when doing UAT?

Hi All,

 

I had try to find any CLI command everywhere for fortigate to display the status of the power supply unit when doing UAT, Power Redundancy Test. But could not be found.

For this unit, Fg401E, Fw 7.0.10

Example like, when 2 PSU is plug on, the status will be like Connected or Ok. When one of it is unplug off, the CLI command will display 1 PSU connected 2 PSU Not connected, etc.

Attached is an example of it.


INV.JPG

 

1 Solution
pgautam

Hi Steven,

 

diag hard deviceinfo psu >> Command will give the PSU details 

 

To check the PSU status sensor list command will help you

 

execute sensor list

e.g:-

PS1 Temp alarm=0 value=31 threshold_status=0
PS1 Fan 1 alarm=0 value=7552 threshold_status=0
PS1 VIN alarm=0 value=226 threshold_status=0
PS1 VOUT_12V alarm=0 value=11.969 threshold_status=0
PS1 Status alarm=0
PS2 Temp alarm=0 value=34 threshold_status=0
PS2 Fan 1 alarm=1 value=0 threshold_status=0x7
PS2 VIN alarm=1 value=0 threshold_status=0x7
PS2 VOUT_12V alarm=1 value=-0.064 threshold_status=0x7
PS2 Status alarm=1

 

If FGT has RPS then we check the status of the PS

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-check-power-supply-details-for-100-...

 

Regards

Priyanka

View solution in original post

5 REPLIES 5
pgautam
Staff
Staff

Hi Steven,

 

Thank you for posting your query.

 

Please use the below command to check the psu and sensor details:-

 

# exec sensor list
# exec sensor detail

# diag hard deviceinfo rps

 

RPS- redundant power supplies

 

Regards

Priyanka

StevenT
New Contributor III

Thanks @pgautam 

 

Firmware 7.0.10

But only left this command cannot work at all.

# diag hard deviceinfo rps

 

I had tried in FGT CLI and SSH. both could not execute this command.

pgautam

Hi Steven,

 

Thank you for the update.

Is this firewall running in multi-vdom ?

When you run the below command what option do you see?

diag hard deviceinfo ?

 

Lab output:-

diag hard deviceinfo ?
disk Display information of all disks.
nic Display NIC information. [Take 0-1 arg(s)]
cp8 Display cp8 information.
rps Display power supply information.

 

Regards

Priyanka

StevenT
New Contributor III

FW in root vdom only

With ? command, it displays these few:

disk

nic

psu

 

If i key in the psu, it display the below:

product manufacturer:
product name:
product version:
product serial:
Product Extra: Pri f/w rev:
Product Extra: Sec f/w rev:

 

Which one state that it is the running psu or not-running psu?

pgautam

Hi Steven,

 

diag hard deviceinfo psu >> Command will give the PSU details 

 

To check the PSU status sensor list command will help you

 

execute sensor list

e.g:-

PS1 Temp alarm=0 value=31 threshold_status=0
PS1 Fan 1 alarm=0 value=7552 threshold_status=0
PS1 VIN alarm=0 value=226 threshold_status=0
PS1 VOUT_12V alarm=0 value=11.969 threshold_status=0
PS1 Status alarm=0
PS2 Temp alarm=0 value=34 threshold_status=0
PS2 Fan 1 alarm=1 value=0 threshold_status=0x7
PS2 VIN alarm=1 value=0 threshold_status=0x7
PS2 VOUT_12V alarm=1 value=-0.064 threshold_status=0x7
PS2 Status alarm=1

 

If FGT has RPS then we check the status of the PS

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-check-power-supply-details-for-100-...

 

Regards

Priyanka

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors