mirror of
https://github.com/netdata/netdata.git
synced 2025-05-08 19:10:25 +00:00
![]() <!-- Describe the change in summary section, including rationale and degin decisions. Include "Fixes #nnn" if you are fixing an existing issue. In "Component Name" section write which component is changed in this PR. This will help us review your PR quicker. If you have more information you want to add, write them in "Additional Information" section. This is usually used to help others understand your motivation behind this change. A step-by-step reproduction of the problem is helpful if there is no related issue. --> ##### Summary Fix postgres connection, port value was incorrect, it was taking host value instead of port. ##### Component Name [collectors/python.d.plugin/postgres](https://github.com/netdata/netdata/tree/master/collectors/python.d.plugin/postgres) ##### Additional Information |
||
---|---|---|
.. | ||
Makefile.inc | ||
postgres.chart.py | ||
postgres.conf | ||
README.md |
postgres
Module monitors one or more postgres servers.
Requirements:
python-psycopg2
package. You have to install it manually.
Following charts are drawn:
- Database size MB
- size
- Current Backend Processes processes
- active
- Write-Ahead Logging Statistics files/s
- total
- ready
- done
- Checkpoints writes/s
- scheduled
- requested
- Current connections to db count
- connections
- Tuples returned from db tuples/s
- sequential
- bitmap
- Tuple reads from db reads/s
- disk
- cache
- Transactions on db transactions/s
- committed
- rolled back
- Tuples written to db writes/s
- inserted
- updated
- deleted
- conflicts
- Locks on db count per type
- locks
configuration
socket:
name : 'socket'
user : 'postgres'
database : 'postgres'
tcp:
name : 'tcp'
user : 'postgres'
database : 'postgres'
host : 'localhost'
port : 5432
When no configuration file is found, module tries to connect to TCP/IP socket: localhost:5432
.