Designing and Managing Behavior Models - Alarm Actions - Log to Database -
Inform Specific Numbers      Log to File

Log to Database

The Log to Database alarm action, available only on Windows systems, writes information about an alarm transition to the NerveCenter database. You can extract logged data from the database using any ODBC-compliant reporting tool.

 
  To add a Log to Database action to a transition:

  1. From the Transition Definition window, select the New Action button.

    A pop-up menu listing all the alarm actions is displayed.

  2. Select Log to Database from the pop-up menu.

    The Log to Database Action dialog is displayed.

    logToDbAction

  3. Enter a number in the Log Identity text field.

    Since all Log to Database actions write their output to the same database, you need some way to determine which data was written by which alarm. This number gives you that ability.

  4. To log particular information instead of NerveCenter's default data, do the following:
    1. Deselect the Default Data checkbox.
    2. In the Custom Data field, type or paste the variables you want included in the log, separating each variable with a space.

           

        CommandActionArrow You can also select a variable from the Special Symbol drop-down listbox and then click the red arrow.


  5. Select the OK button in the Log to Database Action dialog.
  6. Select the OK button in the Transition Definition window.
  7. Select the Save button in the Alarm Definition window.

See the table Fields in Log Entry or Mail Message for a list of the values that constitute a log file entry. These are the values you can retrieve from the database.


Inform Specific Numbers Log to File
29 July 2003