Log to File Action
The Log to Text action logs custom messages to specified text files.
Configure the following:
- . Enter a unique name for the action. This name displays in the Actions Library.
- . Enter a short description about the action. This description displays next to the action in the Actions Library.
- . Enter the full path to the location where the log file will be written.
- . Select to have log messages appended to the Log file. Select to have log messages overwrite existing log messages.
- . Enter the message to be written to the log file. Additionally, you can use the , , and/or dropdown menus within the dialog to automatically insert supported 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
Progress WhatsUp Gold