DX NetOps Manager

Expand all | Collapse all

How to get Alarm title from Show alarm command

Jump to Best Answer
  • 1.  How to get Alarm title from Show alarm command

    Posted 03-20-2019 10:47 AM

    How to get Alarm title from Show alarm command in CLI 



  • 2.  Re: How to get Alarm title from Show alarm command
    Best Answer

    Posted 03-20-2019 11:36 AM

    Use the "-x" parameter:

     

    ./show alarms -x mh=0x100000
    ID Date Time PCauseId MHandle MName MTypeName Severity LastOccurDate&Time Ack Stale Assignment Status
    17625 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.

     

    Joe



  • 3.  Re: How to get Alarm title from Show alarm command

    Posted 03-20-2019 11:55 AM

    Is there a way to get that information in a csv format with just alarm title, alarm ID , alarm date



  • 4.  Re: How to get Alarm title from Show alarm command

    Posted 03-20-2019 12:22 PM

    The -d parameter give the following output:

     

    ./show alarms -d mh=0x100000
    ID Date Time PCauseId MHandle MName MTypeName Severity LastOccurDate&Time Ack Stale Assignment Status
    TITLE: THE INTERNAL LOG QUEUE OF EVENTS HAS OVERFLOWED
    17625 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.

     

    Joe