How to get Alarm title from Show alarm command in CLI
Use the "-x" parameter:
./show alarms -x mh=0x100000ID Date Time PCauseId MHandle MName MTypeName Severity LastOccurDate&Time Ack Stale Assignment Status17625 02/27/2019 13:24:59 0x10256 0x100000 ackjo04-L21790 VNM MINOR 02/27/2019 13:24:59 No Yes
0x10256 THE INTERNAL LOG QUEUE OF EVENTS HAS OVERFLOWED SYMPTOMS: The SpectroSERVER is generating Events faster than they can be written to the Archive Manager, and the queue to the Archive Manager has overflowed. Events are being transferred to local storage and will be processed from there. PROBABLE CAUSES: Archive Manager performance is low due to monitored devices generating too many Events, too many Statistics being recorded, old record purging, Event reporting, or Statistics Reporting. RECOMMENDED ACTIONS: Improve Archive Manager performance by reducing the number of Events generated by monitored devices, reducing the number of Statistics recorded, stopping the purge activity, stopping Event reporting, or stopping Statistics reporting.
Is there a way to get that information in a csv format with just alarm title, alarm ID , alarm date
The -d parameter give the following output:
./show alarms -d mh=0x100000ID Date Time PCauseId MHandle MName MTypeName Severity LastOccurDate&Time Ack Stale Assignment StatusTITLE: THE INTERNAL LOG QUEUE OF EVENTS HAS OVERFLOWED17625 02/27/2019 13:24:59 0x10256 0x100000 ackjo04-L21790 VNM MINOR 02/27/2019 13:24:59 No Yes
Highlighted are the title, alarm ID and date/time. You would need to write a script to strip out what you want and save it to a csv format file.