Additional Utilities

Contents
casp1032
AlarmNotifier includes three utilities that you can use to manage existing alarms:
  • assignticket
  • clearticket
  • updatealarm
assignticket Utility
The assignticket utility is used to populate the Trouble Ticket ID field of an alarm with the name of the person to whom the ticket is assigned.
Run this utility using the following syntax:
assignticket modelhandle alarmid assignee [username]
  •  
     
    modelhandle
     
    Indicates the handle of the model where the alarm was raised.
  •  
     
    alarmid
     
    Indicates the ID of the alarm to which to write.
  •  
     
    assignee
     
    Indicates the name of the user to whom the ticket is assigned.
  •  
     
    username
     
    (Optional) Specifies the name of the
    DX NetOps Spectrum
    user account to use to connect to the SpectroSERVER.
clearticket Utility
Use the clearticket utility to clear an alarm.
Run this utility using the following syntax:
clearticket -mh model_handle -ai alarm_ID -su username
  •  
    -mh 
    model handle
     
    Indicates the handle of the model where the alarm exists.
  •  
    -ai 
    alarm_ID
     
    Indicates the ID of the alarm to clear.
  •  
    -su 
    username
     
    Specifies the name of the user account to use to connect to the SpectroSERVER.
updatealarm Utility
Use the updatealarm utility to set the value of any attribute on any alarm.
Run this utility using the following syntax:
updatealarm modelhandle alarmid attrid attrvalue [username]
  •  
     
    modelhandle
     
    Indicates the handle of the model where the alarm was raised.
  •  
     
    alarmid
     
    Indicates the ID of the alarm to which to write.
  •  
     
    attrid
     
    Indicates the ID of the attribute to which to write.
  •  
     
    attrvalue
     
    Indicates the value to write to the attribute.
  •  
     
    username
     
    (Optional) Specifies the name of the user account to use to connect to the SpectroSERVER.