Monitoring Backup files

Backups are a vital part of any network infrastructure- they can contain personal data files, configurations or any important data. NetCrunch can help you track if backups are successfully created and if files are present in the designated directory

Pre-Requisites

This article will show you how to monitor backup files created by Cobian Backup but this instruction can be applied to any backup software, no matter whether it's built-in into the system or it's an external application. If the output of the backup software is a file that can be accessed by NetCrunch - you are good to go.

The main requirement for monitoring backup file is the accessibility of the backup directory for NetCrunch.

Monitoring Directories

Folder sensors can be used to monitor the content of the directory and directory itself.

This article will focus on monitoring backup files - and to be more specific, we will monitor to check if the new backup file hasn't been added in the designated time range. The node (device or virtual machine) where backups are stored needs to be part of NetCrunch Atlas.

Adding Folder Sensor

  1. Open settings of the node where backups are held
  2. Add new monitoring sensor - search for Folder sensor or click on Folders & Files category and pick it from there.
  3. Pick proper protocol - if it's Windows, a simple share can be used, but it depends on the configuration of the server. This article will use a 'Windows' backup example, therefore it's a Windows Share.
  4. Set a path to the directory where backups are stored. Sensor Config
  5. Use 'Test' in the top right corner to confirm that the directory is accessible for NetCrunch. Sensor Test

With this easy setup, the sensor is almost ready to go.

Alerting setup

In this particular scenario, we want to be alarmed only if the new backup file is not added within a designated time range (12:30 PM and 1:00 PM every day).

Adding Alert

In the sensor configuration:

  1. Click on 'Add alert'
  2. Select 'New Alert on Folder Content'
  3. Select Alert on 'New file added'
  4. Set proper file mask - you can use wildcard here - so the name can be like *.7z (All files with 7z extension for example)
  5. In 'Trigger Alerting Actions On' select the "Event not happened in the time between' option and enter your time range (you can use advanced settings if backup times are different on different days of the week). Alert Config
  6. Save everything.

The sensor is now good to go.

Result

As a result, NetCrunch will inform you about missing backups or backups that took too long to complete (backups could be either bigger than expected, there may be a problem with saving the file, or with the backup software itself.

result

backupcobian backupfoldernetcrunch 10sensor

NetCrunch Network Monitoring

Network Maps, Dashboards, and Alerts.
Monitor anything. Network, cloud, config.