{"repo":"bebehei/nagios-plugin-check_borg","free":true,"listed":false,"github":"https://github.com/bebehei/nagios-plugin-check_borg","clone":"git clone https://github.com/bebehei/nagios-plugin-check_borg.git","description":"nagios plugin to monitor borg repositories","language":"Shell","stars":26,"topics":["monitoring","nagios-plugins","borgbackup"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"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 ] [ -P ] [ -c ] [ -w ] 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 - GNU's version of date . - borgbackup 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}' .","default_branch":null,"files":null,"tree":[],"storefront":"/r/bebehei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bebehei/nagios-plugin-check_borg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}