Adding 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 APM > Actions, then click Actions in the Actions Management tree. The Actions page appears.
  2. Click Add Action. The Edit Action page appears.
  3. Select Windows Event Log from the Action type list. The boxes for the Windows Event Log action appear.
  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:

      %Application.ApplicationInstance.ApplicationName is
      %Application.ApplicationInstance.CurrentState.

      Details:

      Application is hosted on
      %Application.ApplicationInstance.MasterDeviceDisplayName

      Triggering component: %Application.TriggeringComponent.Name

      Triggering component’s current state:
      %Application.TriggeringComponent.CurrentState

      Triggering component’s previous state:
      %Application.TriggeringComponent.PreviousState

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

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

      Ipswitch WhatsUp Gold

  5. Click Save. The Windows Event Log action is added to the Actions list.

See Also

Creating an action in APM

Adding an Active Script action

Adding an E-mail action

Adding a Log-to-Text File action

Adding a PowerShell Script action

Adding a Program action

Adding a Service Restart action

Adding an SMS action

Adding an SMS Direct action

Adding an SSH action

Adding a Syslog action

Adding a VMware action