Code Monkey home page Code Monkey logo

nagios-plugin-bacula's Introduction

check_bacula_client

check_bacula_client is a Nagios plugin to check Bacula client backups. It will warn or indicate a critical state if the last successful backup for a client is older than a specified period. It uses the bconsole program to interact with the Bacula Director and therefore is independent of the client and the database used by the Bacula Director.

Dependencies

Installation

check_bacula_client assumes that the bconsole program can connect automatically without requiring a username or password. You may need to edit bconsole.conf to acheive this and add the nagios user to the bacula group. To test this, try running: # su -s which bconsole nagios This should drop you into the bconsole shell. If it does not, check the permissions on bconsole.conf and the Bacula management password.

Usage

Example

$ ./check_bacula_client -H isdc1101.isdc.unige.ch-fd -B isdc1101.isdc.unige.ch-backup -w 12h -c 1d
WARNING: Incr, 1493 files, 42.20MB, 2010-02-08 23:01:00 (14.4 hours ago)

Options

  • -H FD_NAME client file director name
  • -B BACKUP_NAME backup job name
  • -w PERIOD generate warning if last successful backup older than PERIOD
  • -c PERIOD generate critical if last successful backup older than PERIOD
  • -b PATH path to bconsole

PERIOD is an floating point number followed by m for minutes, h for hours, d for days, or w for weeks.

nagios-plugin-bacula's People

Contributors

twpayne avatar l13t avatar evgeni avatar

Watchers

James Cloos avatar Felipe Silva avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.