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:
%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
- Click . The Log to Text File action is added to the actions list.