Huawei alarms via SSH?

Hello everyone,
Does anyone know if there is a way to collect Huawei alarms (we currently see them via NetEco and Mae) through SSH? We want to generate a script for our ticketing tool that shows the active alarms of an indicated equipment. With ENM we could do it from AMOS, but I can’t find a similar way with Huawei equipment.

Thank you so much!