If you want to query alarms generated on the FW on the console, you can configure the FW to output alarms to the console.
After this configuration, you can log in to the FW in console mode and view alarms to know the operating status of the FW.
system-view
info-center source { module-name | default } channel { channel-number | channel-name } trap { state { off | on } | level severity } *
info-center console channel { channel-number | channel-name }
By default, channel 0 is used.
quit
terminal monitor
terminal trapping
terminal echo synchronous