How to display parent model name in a process down alarm

Document ID : KB000048476
Last Modified Date : 14/02/2018
Show Technical Document Details


Process down alarms are generated on the process model. You can also reconfigure these alarms so that they get asserted on the device models from the Monitored processes tab on the device component detail panel. But there can be requirement where you want to have the alarm on the process model along with the parent model details . This solution is designed to achieve this requirement.


The following steps helps you have the alarm on the process model along with the parent model name in the alarm title.

  1. The event code for process down event is 0x2390000e.
  2. The clear event for process down alarm is 0x23900007
  3. Open Event Configuration Editor from Oneclick
  4. Create a new event with the same event message as 0x2390000e event.
  5. Assert a severity of critical for this new event.
  6. Remove the alarm for old event with the code 0x2390000e.
  7. Save the changes from ECE.
  8. Now logon to Spectroserver -> Go to custom/events directory.
  9. Open the eventdisp file and place the below code into the file
    0x2390000e P"\ --------------------------> Event Procedure Start
    {C CURRENT_MODEL},\ -----------------------> Create the new event on the current model
    {H <place the new event code here>},\ -------------------> New event
    SetEventVariable(\ ---------------> Set function to configure the event variables in the new event
    GetEventVariableList(),\ -----------------> Get function to get the event variables from the default event
    {H 0x00012b4c},\ --------------------------------> Dynamic alarm title attribute
    {S\"Process is down. Parent Model name :\"},\ ------> Alarm Title for the new event which gets displayed in Oneclick
    GetEventVariable({U 5}))))" ------> Get the parent model name from event variable '5' of the event message

    Note: Place the new event code in above code

  10. Save the file.
  11. Update the event configuration on vnm icon under Spectroserver control tab.
  12. From OC -> Administration -> Update event/pcause tabs -> Click on reload.
  13. Now raise a process down alarm on the process model.

    The "Name" column in the alarm should give you the process model and thealarm title should give you the parent model name details.

    Alarm title should look like " Process is down. Parent Model name :CA"