All Projects → bebehei → nagios-plugin-check_borg

bebehei / nagios-plugin-check_borg

Licence: GPL-3.0 license
nagios plugin to monitor borg repositories

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to nagios-plugin-check borg

borgjs
📦 A tiny wrapper for BorgBackup to automate your backup workflow
Stars: ✭ 31 (+29.17%)
Mutual labels:  borgbackup
btrfs-borg
btrfs-borg makes snapshots and backs up a btrfs snapshotted subvolumes and LXC containers using Borg
Stars: ✭ 22 (-8.33%)
Mutual labels:  borgbackup
ansible-role-borgbackup
No description or website provided.
Stars: ✭ 13 (-45.83%)
Mutual labels:  borgbackup
netapp-cdot-nagios
Nagios-Checks for monitoring NetApp cDOT-Systems via NetApp Perl API
Stars: ✭ 40 (+66.67%)
Mutual labels:  nagios-plugins
okconfig
Ready made monitoring packs for Nagios
Stars: ✭ 44 (+83.33%)
Mutual labels:  nagios-plugins
check zpools
Monitor the usage and status of ZFS Pools (zpools)
Stars: ✭ 16 (-33.33%)
Mutual labels:  nagios-plugins
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (+16.67%)
Mutual labels:  borgbackup
Nagios-WordPress-Update
Nagios plugin to check for WordPress update on a remote server without NRPE
Stars: ✭ 23 (-4.17%)
Mutual labels:  nagios-plugins
check lxc
Monitoring plugin to check LXC (Linux Container)
Stars: ✭ 13 (-45.83%)
Mutual labels:  nagios-plugins
check netapp ontap
🍀 Check NetApp Ontap 🍀
Stars: ✭ 38 (+58.33%)
Mutual labels:  nagios-plugins
borg-rclone-autobackup
Easily automate backups using Borg + RClone
Stars: ✭ 25 (+4.17%)
Mutual labels:  borgbackup
borg-import
importer for rsync+hardlink based backups / rsnapshot
Stars: ✭ 33 (+37.5%)
Mutual labels:  borgbackup
nagios-plugins-openshift
Nagios/Icinga 2 Plugins for monitoring OpenShift clusters
Stars: ✭ 24 (+0%)
Mutual labels:  nagios-plugins

check_borg

Check borg repository for date of latest archive.

Usable with nagios, icinga2 or any other nagios-fork.

Usage

./check_borg [ -C CONF ] [ -R <borg-repo-url> ] [ -P <borg-archivename-prefix> ] [ -c <date> ] [ -w <date> ]

<date> can be any valid format parsable by the date-command. So last day or 12 hours ago would be valid dates.

-R can be omitted, when BORG_REPO is set in the environment.

CONF is a file, which will get sourced. It can export variables like BORG_PASSPHRASE and BORG_REPO. You can separate with this file your borg specific secrets from the icinga2 configuration.

Non-standard executable paths

  • If your borg executable is not installed in your $PATH or is not called borg, you can define the environment variable BORG to point to the correct command.
  • If the GNU date executable is not installed as date, you can set the environment variable DATE to point to the correct date command.

Passwords

Export BORG_PASSPHRASE.

Requirements

Warnings

  • Be sure about the implications, when monitoring a repository secured with a passphrase.
  • I don't know how to exclude checkpoints in borg list in combination with --format='{time}{NUL}'.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].