Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Nagios check_postgres plugin for checking status of PostgreSQL databases

License

NotificationsYou must be signed in to change notification settings

bucardo/check_postgres

Repository files navigation

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" fileto your Nagios scripts directory, and perhaps symlink entries to thatfile by:

cd <the directory you just copied the file to>mkdir postgrescd postgresperl ../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.PLmakeenv -i make testmake install

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

Formake test, please report any failing tests tocheck_postgres@bucardo.org.The tests need to have some standard Postgres binaries available, such asinitdb,psql, andpg_ctl. If these are not in your path, or you want touse specific ones, please set the environment variablePGBINDIR first. Moredetails on running the testsuite are available inREADME.dev.

Oncemake install has been done, you should have access to the completedocumentation by typing:

man check_postgres

The HTML version of the documentation is also available at:

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

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

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

Mailing lists

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

https://bucardo.org/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://bucardo.org/mailman/listinfo/check_postgres

COPYRIGHT

Copyright 2007 - 2025 Greg Sabino Mullane

LICENSE INFORMATION

Redistribution and use in source and binary forms, with or withoutmodification, 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 documentationand/or other materials provided with the distribution.

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

About

Nagios check_postgres plugin for checking status of PostgreSQL databases

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors39


[8]ページ先頭

©2009-2025 Movatter.jp