Creating Rules

After required actions are available, you can create event rules to determine what actions are taken to respond to specific events.

By default, the PXE provides four built-in event rules - System Event Log Rule, System SNMP Notification Rule, System Tamper Detection Alarmed, and System Tamper Detection Unavailable. If the built-in rules do not satisfy your needs, create new ones.

  1. Choose Device Settings > Event Rules. The Event Rule Settings dialog appears.
  2. On the Rules tab, click New.
  3. In the "Rule name" field, type a new name for identifying the rule. The default name is New Rule <number>, where <number> is a sequential number.
  4. Select the Enabled checkbox to activate this event rule.
  5. Click Event to select an event for which you want to trigger an action. A pull‑down menu showing various types of events appears.
  6. According to the event you selected in the previous step, the "Trigger condition" field containing three radio buttons may or may not appear.

    Event types

    Radio buttons

    Numeric sensor threshold-crossing events, or the occurrence of the selected event -- true or false

    Available radio buttons include "Asserted," "Deasserted" and "Both."

    • Asserted: The PXE takes the action only when the event occurs. This means the status of the described event transits from FALSE to TRUE.
    • Deasserted: The PXE takes the action only when the event condition disappears. This means the status of the described event transits from TRUE to FALSE.
    • Both: The PXE takes the action both when the event occurs (asserts) and when the event condition disappears (deasserts).

    Discrete (on/off) sensor state change

    Available radio buttons include "Alarmed," "No longer alarmed" and "Both."

    • Alarmed/Open/On: The PXE takes the action only when the chosen sensor enters the alarmed, open or on state.
    • No longer alarmed/Closed/Off: The PXE takes the action only when the chosen sensor returns to the normal, closed or off state.
    • Both: The PXE takes the action whenever the chosen sensor switches its state.

    Sensor availability

    Available radio buttons include "Unavailable," "Available" and "Both."

    • Unavailable: The PXE takes the action only when the chosen sensor is NOT detected and becomes unavailable.
    • Available: The PXE takes the action only when the chosen sensor is detected and becomes available.
    • Both: The PXE takes the action both when the chosen sensor becomes unavailable or available.

    Network interface link state

    Available radio buttons include "Link state is up," "Link state is down" and "Both."

    • Link state is up: The PXE takes the action only when the network link state changes from down to up.
    • Link state is down: The PXE takes the action only when the network link state changes from up to down.
    • Both: The PXE takes the action whenever the network link state changes.

    Function enabled or disabled

    Available radio buttons include "Enabled," "Disabled" and "Both."

    • Enabled: The PXE takes the action only when the chosen function is enabled.
    • Disabled: The PXE takes the action only when the chosen function is disabled.
    • Both: The PXE takes the action when the chosen function is either enabled or disabled.

    User logon state

    Available radio buttons include "Logged in," "Logged out," and "Both."

    • Logged in: The PXE takes the action only when the selected user logs in.
    • Logged out: The PXE takes the action only when the selected user logs out.
    • Both: The PXE takes the action both when the selected user logs in and logs out.

    Restricted service agreement

    Available radio buttons include "Accepted," "Declined," and "Both."

    • Accepted: The PXE takes the action only when the specified user accepts the restricted service agreement.
    • Declined: The PXE takes the action only when the specified user rejects the restricted service agreement.
    • Both: The PXE takes the action both when the specified user accepts or rejects the restricted service agreement

    Server monitoring event

    Available radio buttons include "Monitoring started," "Monitoring stopped," and "Both."

    • Monitoring started: The PXE takes the action only when the monitoring of any specified server starts.
    • Monitoring stopped: The PXE takes the action only when the monitoring of any specified server stops.
    • Both: The PXE takes the action when the monitoring of any specified server starts or stops.

    Server reachability

    Available radio buttons include "Unreachable," "Reachable," and "Both."

    • Unreachable: The PXE takes the action only when any specified server becomes inaccessible.
    • Reachable: The PXE takes the action only when any specified server becomes accessible.
    • Both: The PXE takes the action when any specified server becomes either inaccessible or accessible.

       

    Device connection or disconnection, such as a USB‑cascaded slave device

    Available radio buttons include "Connected," "Disconnected" and "Both."

    • Connected: PXE takes the action only when the selected device is physically connected to it.
    • Disconnected: PXE takes the action only when the selected device is physically disconnected from it.
    • Both: PXE takes the action both when the selected device is physically connected to it and when it is disconnected.

      Note: The PXE does NOT support events related to asset management, modem, webcam, USB-cascading and Schroff LHX/SHX devices.

  7. In the Actions field, select the desired action from the "Available actions" list box, and click Non-critical outlet Arrow--left to move it to the "Selected actions" list box. To make multiple selections, press Ctrl+click or Shift+click to highlight multiple ones.
  8. To remove any action, select it from the "Selected actions" list box, and click Non-critical outlet Arrow--right to move it back to the "Available actions" list box. To make multiple selections, press Ctrl+click or Shift+click to highlight multiple ones.
  9. Click OK to save the new event rule.

    Note: If you do not click OK before quitting the current settings page, a message appears. Then click Yes to save the changes, Discard to abort or Cancel to return to the current settings page.

  10. Repeat Steps 2 to 10 to create additional event rules.
  11. Click Close to quit the dialog.

See Also

Creating an Event Rule

Creating Actions

Scheduling an Action

Default Log Messages

Email and SMS Message Placeholders