GithubHelp home page GithubHelp logo

tbe / check_postgres Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bucardo/check_postgres

0.0 1.0 0.0 1.97 MB

Nagios check_postgres plugin for checking status of PostgreSQL databases

Home Page: http://bucardo.org/wiki/Check_postgres

License: Other

Perl 82.28% HTML 17.72%

check_postgres's Introduction

check_postgres

Build Status

This is check_postgres, a monitoring tool for Postgres.

The most complete and up to date information about this script can be found at:

https://bucardo.org/check_postgres/

This document will cover how to install the script.

Quick method

For the impatient Nagios admin, just copy the "check_postgres.pl" file to your Nagios scripts directory, and perhaps symlink entries to that file by:

cd <the directory you just copied the file to>
mkdir postgres
cd postgres
perl ../check_postgres.pl --symlinks

Then join the announce mailing list (see below)

Complete method

The better way to install this script is via the standard Perl process:

perl Makefile.PL
make
env -i make test
make install

The last step usually needs to be done as the root user. You may want to copy the script to a place that makes more sense for Nagios, if using it for that purpose. See the "Quick" instructions above.

For make test, please report any failing tests to [email protected]. The tests need to have some standard Postgres binaries available, such as initdb, psql, and pg_ctl. If these are not in your path, or you want to use specific ones, please set the environment variable PGBINDIR first. More details on running the testsuite are available in README.dev.

Once make install has been done, you should have access to the complete documentation by typing:

man check_postgres

The HTML version of the documentation is also available at:

https://bucardo.org/check_postgres/check_postgres.pl.html

Mailing lists

The final step should be to subscribe to the low volume check_postgres-announce mailing list, so you learn of new versions and important changes. Information on joining can be found at:

https://mail.endcrypt.com/mailman/listinfo/check_postgres-announce

General questions and development issues are discussed on the check_postgres list, which we recommend people join as well:

https://mail.endcrypt.com/mailman/listinfo/check_postgres

Development happens via git. You can check out the repository by doing:

https://github.com/bucardo/check_postgres
git clone https://github.com/bucardo/check_postgres.git

COPYRIGHT

Copyright 2007 - 2023 Greg Sabino Mullane

LICENSE INFORMATION

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

check_postgres's People

Contributors

df7cb avatar turnstep avatar petdance avatar gleu avatar glynastill avatar hasegeli avatar theory avatar terrorobe avatar orgrim avatar f0rk avatar ioguix avatar petere avatar msijmons avatar uu avatar maletin avatar mintsoft avatar jacksonfoz avatar stanvit avatar sebastianwebber avatar plockaby avatar nyamada avatar mbra avatar mbanck avatar mnencia avatar mhagander avatar lvazquez avatar kabalin avatar jonjensen avatar jeffjanes avatar pabl0 avatar

Watchers

 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.