Home Directory Plugins Backup and Recovery Amanda check_amanda.pl - Disk-to-Disk

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_amanda.pl - Disk-to-Disk

Current Version
1.4
Last Release Date
2017-08-23
Owner
License
GPL
Hits
7637
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a Nagios plugin to check that

* All configured backups have a recent backup item
* Backup sizes exceed a minumum size
* A least N backup items are configured

* If you are using Amanda backup,
and
* If your backups go to disk (Disk-to-Disk backups)

Then this plugin is for you.
*Now also supports open source Amanda, as well as the Zmanda product*

This check reads the files named disklist.conf or disklist which are present in /etc/amanda/backup-set-name/

It creates a list of all Disk List Entries (DLEs).

A DLE is a backup item - normally a file-system on a client host.

No additional configuration is required.

For the backup items (DLEs) found, 3 things are checked by this plugin:

* Minimum backup age
warning or critical if the most recent backup (for any item/DLE) is more than 2 or 3 days old. This is configurable in hours. Either level 0 or level 1+ backups qualify.

* Minimum backup size
warning or critical if the most recent level 0 backup is less than 32k or 64k, respectively. This is configurable in k, M, G or T

* Minumum number of backup items (DLEs) found.
Critical if less than 1 backup item found, configurable.

In addition, the plugin will also

* Report as performance data the total size of all level 0 backups plus the most recent level 1 backups (for capacity planning), suitable for use with PNP4Nagios.

By default, every backup item (DLE) which is configured is checked, but the check can be restricted to a particular backup-set or client server.

A PNP4Nagios template is also provided.
Reviews (1)
bypsabaris, July 17, 2020
./check_amanda.pl -v
Type of arg 1 to keys must be hash (not hash element) at ./check_amanda.pl line 532, near "} ) "
Type of arg 1 to keys must be hash (not hash element) at ./check_amanda.pl line 542, near "} ) "
Type of arg 1 to keys must be hash (not hash element) at ./check_amanda.pl line 660, near "} ) "
Type of arg 1 to keys must be hash (not hash element) at ./check_amanda.pl line 668, near "} ) "
Execution of ./check_amanda.pl aborted due to compilation errors.


this perl script doesn't work