A PostgreSQL Riemann client.
The Ruby PostgreSQL Client pg
has a dependency on the PostgreSQL development libraries. You will need to install this package using your OS package manager.
Ubuntu/Debian :
sudo apt-get install postgresql-server-dev-<postgresql-server-version> (e.g. postgresql-server-dev-9.1)
CentOS :
sudo yum install postgresql-devel
Then install the riemann-postgresql
gem.
gem install riemann-postgresql
Use the --help
option of the riemann-postgresql
binary to see the available options.
riemann-postgresql --help