Adding a Log-to-Text File action
The Log to Text action logs custom messages to specified text files.
To add a new Log to Text File action:
- From the WhatsUp Gold web interface, go to then click in the Actions Management tree. The Actions page appears.
- Click . The Edit Action page appears.
- Select from the list. The boxes for the Log To Text File action appear.
- Enter or select the appropriate information:
- . Enter a unique name for the action. This name displays in the Action Library.
- . (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
- . Enter the full path to the location where the log file will bee written.
- . Select to have log messages appended to the Log file. Select to have log messages overwrite existing log messages.
- . Enter the message that will be written to the log file. 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
- Click . The Log to Text File action is added to the actions list.