postgres.conf 549 B

12345678910111213141516
  1. # you can disable an alarm notification by setting the 'to' line to: silent
  2. template: total_connection_utilization
  3. on: postgres.connections_utilization
  4. class: Utilization
  5. type: Database
  6. component: PostgreSQL
  7. hosts: *
  8. lookup: average -1m unaligned of used
  9. units: %
  10. every: 1m
  11. warn: $this > (($status >= $WARNING) ? (70) : (80))
  12. crit: $this > (($status == $CRITICAL) ? (80) : (90))
  13. delay: down 15m multiplier 1.5 max 1h
  14. info: average total connection utilization over the last minute
  15. to: dba