Follow simple steps to install check_postgres on Mac

Package Information:

Name: check_postgres
Use: check_postgres is a script for monitoring various attributes of your database. It is designed to work with Nagios, MRTG, or in standalone scripts.
URL: https://bucardo.org/wiki/Check_postgres

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Execute the following command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install check_postgres using brew
    brew install check_postgres

check_postgres is ready to use now!