Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_amanda.pl - Disk-to-Disk
1.4
2017-08-23
GPL
10570
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
* 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.
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
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