Adding and editing a Log to Text File Action

This action logs custom messages to specified text files.

To add or edit a log to text file action:

  1. Click the Admin tab, then click Action Library.
  2. Click New and select Log to Text File to create a new log to text file action. Click OK.
    - or -
    Select the action you want to change from the list of current actions, and then click Edit.
  3. Type or select the appropriate information in the following fields.
    • Name. Type a name for the action. This name displays in the Action Library.
    • Description. Type a short description. This description displays next to the action in the Action Library.Specify a Name for the action as it will appear in the Action Library.

    Tip: On the console, click the Browse _ button to browse to the log file.

    • Log file. Type the full path to the location where the log file will bee written.
    • Select the Log file write mode. Select Append to have log messages appended to the Log file. Select Overwrite to have log messages overwrite existing log messages.
    • Type the Log Message that will be written to the log file. 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 a Pager Action

Adding and editing a Program Action

Adding and editing a SMS Action

Adding and editing a SMS Direct 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

Using the Email Action

Adding and editing a SNMP Set Action

Adding and editing a Sound Action

Adding and editing a Service Restart Action

Adding and Editing a Web Alarm Action

Adding and Editing a Windows Event Log Action

Using the WinPopup Action