Adding and Editing a Windows Event Log Action

The Windows Event Log action allows you to configure log messages to post to the Windows Event Viewer.

To add a Windows Event Log action:

  1. From the WhatsUp Gold web interface, go to Admin > Actions. The Action Library appears.
  2. Click New. The Select Action Type dialog appears.
  3. Select Windows Event Log, then click OK. The New Windows Event Log Action dialog appears.
  4. Enter or select the appropriate information:
    • Name. Enter a unique name for the action. This name displays in the Action Library.
    • Description. (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
    • Source. The origin of messages logged to the Windows Event Viewer. The default source is the Ipswitch WhatsUp Log Action.
    • Event ID. Enter an event ID for the messages that are logged to the Windows Event Viewer. The default event ID is 1000, the WhatsUp engine event ID.
    • Level. Select a level for messages logged to the Windows Event Viewer. You can select Error, Warning, or Information. The default level is Error.
    • Log Message. Enter a log message that displays in the Windows Event Viewer. This message supports percent variables. The default log message is:
      %Device.ActiveMonitorDownNames is %Device.State on %Device.Type: %Device.HostName (%Device.Address).

      Details:

      Monitors that are down include: %Device.ActiveMonitorDownNames

      Monitors that are up include: %Device.ActiveMonitorUpNames

      Notes on this device (from device property page):

      %Device.Notes

      ----------------------------------------

      This message was logged on %System.Date at %System.Time

      Ipswitch WhatsUp Gold

    Tip: Right-click in the Log Message box to select the percent variables you would like to use in the action.

  5. Click OK to save changes.

To edit an existing Windows Event Log action:

  1. From the WhatsUp Gold web interface, go to Admin > Actions. The Action Library dialog appears.
  2. Select the action you would like to edit, then click Edit.
  3. Enter or select the appropriate information:
    • Name. Enter a unique name for the action. This name displays in the Action Library.
    • Description. (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
    • Source. The origin of messages logged to the Windows Event Viewer. The default source is the Ipswitch WhatsUp Log Action.
    • Event ID. Enter an event ID for the messages that are logged to the Windows Event Viewer. The default event ID is 1000, the WhatsUp engine event ID.
    • Level. Select a level for messages logged to the Windows Event Viewer. You can select Error, Warning, or Information. The default level is Error.
    • Log Message. Enter a log message that displays in the Windows Event Viewer. This message supports percent variables. The default log message is:
      %Device.ActiveMonitorDownNames is %Device.State on %Device.Type: %Device.HostName (%Device.Address).

      Details:

      Monitors that are down include: %Device.ActiveMonitorDownNames

      Monitors that are up include: %Device.ActiveMonitorUpNames

      Notes on this device (from device property page):

      %Device.Notes

      ----------------------------------------

      This message was logged on %System.Date at %System.Time

      Ipswitch WhatsUp Gold

    Tip: Right-click in the Log Message box to select the percent variables you would like to use in the action.

  4. Click OK to save changes.

See Also

Configuring an action

Adding and editing an Active Script Action

Adding and editing a Beeper Action

Adding and editing an Email Action

Adding and editing a Log to Text File Action

Adding and editing a Pager Action

Adding and editing a PowerShell action

Example - PowerShell action scripts

Adding and editing a Program Action

Adding and editing a Service Restart Action

Adding and editing a SMS Action

Adding and editing a SMS Direct Action

Adding and editing a SNMP Set Action

Adding and editing a Sound Action

Adding and editing a SSH Action

Adding and editing a Syslog Action

Adding and editing a Text-To-Speech Action

Adding and Editing a VMware Action

Adding and Editing a Web Alarm Action

Using the WinPopup Action