Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

pg_db_size

Rating
1 vote
Favoured:
0
Hits
95290
Files:
FileDescription
pg_db_size.tar.gzMeasure size of any Postgres database
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
The pg_db_size plugin checks for the on disk size of any given PostgreSQL database.
It creates a view in the database the first time it's run. All consecutive times it will return the size.

You can set the size factor to KB, MB or GB so that you can get the output you'd like.

It requires the pqxx library (PostgreSQL's C++ wrapper classes) and ofcourse the PostgreSQL client library the libpq.