It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda RMM
formerly Managed Workplace

Adding a Monitor for Log Files

  • Last updated on

A Log File monitor searches log files for content that you specify, and raises an alert if the search string is found inside the file. You can specify whether to search by whole word and if the search is case-sensitive, and use regular expressions to add power and flexibility to your search.

To display the results of log file monitors, see Viewing the Results of Log File Monitors.

When to Use

Log File monitors are useful when you encounter applications that do not expose their status by any other means. When this occurs, typically applications continue appending to logs to record status events for use during troubleshooting.

Additionally, log files present a significant opportunity for you to design your own solutions when combined with Barracuda RMM’s scripting. Partners without development resources available will still have technicians capable of creating batch files that pipe results to a text file.

When to Use an Individual Monitor instead of Adding a Monitor to a Monitoring Policy

The best practice for monitors is to add them to monitoring policies, however you may want to create an individual monitor for log files when:

  • You want to monitor a single device and you want to use a UNC full or relative path.
  • You want to monitor a file share.
To add a monitor for Log Files
  1. In Service Center, click Configuration > Monitor & Alert Rules.
  2. From the Site list, select the site where the device is located.
  3. From the Device list, select the device to which you want to add a monitor.
  4. Click Add Monitor.
  5. From the Choose Monitor Type list, select Log File.
  6. Click Add Monitor.
  7. In the Monitor tab, type a title for the monitor.
  8. Optionally, type a description for the monitor.
  9. Do one of the following
    • If you are applying the monitor to devices directly, in the Log Monitor section, select UNC File Path or Local File Path. Type the path to the log file in the File Path box. For example, \\192.168.0.1\C$\Program Files\Application\example.log.
      NOTE For UNC paths, the log file must be accessible via UNC path from Onsite Manager. Network-mapped drives are user specific and are not accessible to Windows Services. Full or relative paths are accepted. Environment variables such as C$ to indicate a shared folder and %ProgramFiles% to indicate the fully qualified name of the folder are accepted.
    • If you are creating a monitor to add to a monitoring policy, in the Log Monitor section, type the local path to the log file in the File Path box. For example, C:Program Files\Application\example.log.
      The log file must be accessible via UNC path from Onsite Manager. Network-mapped drives are user specific and are not accessible to Windows Services.
  10. In the Search String box, type the search values as a text string.
    NOTE Regular expressions are accepted.
  11. If desired, do one of the following:
    • To return only similarly cased entries in the log, select the Match Case check box.
    • To prevent finding the search string contained in another word, select the Match Whole Word check box.
    • To use regular expressions in the Search String box, select the Use Regular Expressions check box.
  12. Select a polling interval.
  13. To configure an alert, see Setting Alert Actions.
  14. Click Save.
Last updated on