DX Infrastructure Manager

Expand all | Collapse all

Is it possible to create and manipulate Alarm Annotations using LUA

  • 1.  Is it possible to create and manipulate Alarm Annotations using LUA

    Posted 03-13-2014 11:10 AM

    Hi,

     

    I need to put a link to a Unified Reporter report inside an alarm annotation, to provide a quick way to launch a report that lists information for the specific alarm.

     

    I cannot find any information about alarm annotations in the NAS user manual for NAS v4.20 or the "NAS Technical Brief".
    Have anyone found information about this or has any other solution to this?

     

    The latest version of "NAS Technical Brief" i have is 3.6, and the NAS version relased with Nimsoft Ser ver 7.1 is NAS 4.20...

     

    regards,

    Frode



  • 2.  Re: Is it possible to create and manipulate Alarm Annotations using LUA

    Posted 03-13-2014 12:51 PM


  • 3.  Re: Is it possible to create and manipulate Alarm Annotations using LUA

    Posted 03-14-2014 04:51 PM

    I think you are looking for the note function library in Lua, which should be in the NAS Technical Brief:

     

    note.create ( Name, Description [,AutoRemove [,Category]] )
    Creates a note with the provided name and description fields set, and returns the note identification number (NoteId).

    note.append ( Name | NoteId, Description [, Overwrite ] )
    Appends the descriptive text to an existing note defined by the name or the id. A new note will be created when no matches are found. Returns status.

    note.delete ( Name | NoteId )
    Deletes a note with the provided name or id. Returns status.

    note.find ( Name )
    Returns the NoteId of the named note, and the note description as the second return parameter, or nil when nothing matches the provided Name.

    note.attach ( Name | NoteId, NimId [, NimId…] )
    Attaches the note to one or more alarms specified as NimIds.