SlideShare a Scribd company logo
1 of 40
New Integration Options
with Postgres Enterprise
Manager 8.0
Anthony Waite, Scott Grant
Hosted by: Molly Halsey
Slides and recording will be made available
Submit questions via Zoom – will be answering at end
Welcome – Housekeeping Items
Are you currently using Postgres Enterprise Manager (PEM)?
1.Yes
2.No
3.Not yet, planning to use
Poll #1
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
4
Agenda
• Why Postgres Enterprise Manager?
• What’s new?
• Expanded REST API
• Webhooks
• Other notable new features
• Webhooks demo
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
5
Three takeaways
#1
New webhooks automatically push
notifications to incident-management
or team-collaboration systems
#2 #3
Expanded REST API provides
fuller context for third-party
integrations
Additional support for open
source PostgreSQL with
performance diagnostics
Why Postgres
Enterprise
Manager?
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
7
What is Postgres Enterprise Manager (PEM)?
An interface to control and
optimize PostgreSQL
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
8
Quick Deploy
Solution Design
Migration Assessment
Migration Assistance
PostgreSQL Strategy
Security Assessment
Enterprise Architecture
EDB Postgres Advanced Server
PostgreSQL
EDB Postgres Tools
PostgreSQL Optimization Enterprise Strategy Custom Services
Getting Started
Cloud
DBA Service
Remote
DBA Service
Technical
Account Manager
PostgreSQL
Technical Support
Software
Support
Design
and Build
Services
Overview: EDB Product Suite
Performance Tuning
Automation Services
Monitoring Best Practices
Backup Best Practices
Implementation
Embedded Expert
Training
PEM
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
9
Why not use my other DBMS tools?
PostgreSQL is complex
Extensibility, scalability, and interoperability
are strong points, but this can be challenging
and intimidating for new users
Specialized tooling is essential for successful
tuning and optimization of PostgreSQL
What tools are you using for monitoring PostgreSQL?
1.Nagios
2.Datadog
3.Prometheus/Grafana
4.SolarWinds
5.Zabbix
6.Other
Poll #2
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
11
Manage from one
interface
Optimize database
performance
Monitor system
health
Integrate with other
tools
Why Postgres Enterprise Manager?
One place to visualize
and manage everything
PostgreSQL
In-depth diagnostics for
database reports and
tuning
Built-in dashboards and
customizable alert
thresholds
APIs and webhooks to
fetch data, send alerts,
and manage servers
Manage, monitor, and tune PostgreSQL at scale
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
12
Market overview
PEM
Monitoring
and
Alerting
Management
and
Administration
AWS
Cloudwatch
Nagios
Splunk
Datadog
SolarWinds
Sysdig
Elastic.co APM
Prometheus
and
Grafana
pgAdmin
Toad Edge
DataGrip
RazorSQL
Elephant
Shed
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
13
PEM architecture
• PEM Server
• PEM Web Client
• PEM Agent
• SQL Profiler
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
14
PEM functionality
Management Monitoring/alerting Tuning/diagnostics
Deep insights into your PostgreSQL deployment
Built-in query debugger
User/group access management
Query tool and analysis
Job scheduling
Backup and failover
management
Customizable charts and
dashboards
Predefined and custom alerts via
email or SNMP
Audit log manager
Database and OS level
monitoring
Detailed performance
diagnostics
SQL profiler
Capacity management
User-defined metrics log
analysis
Expert wizards for configuration
setup
What’s New?
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
16
What’s new: summary
Accessibility, security, and integration
• Certified for Web Content Accessibility Guidelines (WCAG) 2.0 Level AA
• Updated Security Guide
• More support for open source PostgreSQL
• Additional API endpoints
• Webhooks
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
17
PEM web client
• Inaccessibility create barriers, not just
those with disabilities
• Meets requirements for federal
contracting, government buyers, and
regulated industries
• Self-certification published online
• enterprisedb.com/accessibility
Certified for Web Content Accessibility Guidelines (WCAG) 2.0 Level AA
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
18
Security Guide
• New Security Guide for 8.0
• Best practices to consider when
configuring both PEM and Apache
• Available in EDB documentation
Identify, analyze and verify security vulnerabilities
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
19
Performance Diagnostics
• Analyze performance during query
execution by monitoring the wait events
• New edb_wait_states plugin for
PostgreSQL is required
• EDB further embraces the open-source
community by extending PostgreSQL
Now certified for PostgreSQL 10 or above
Expanded REST API
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
21
● Third-party clients have more control as they place calls
● Know whether if PEM is online
● Suitable for manipulating data in third-party systems
● Offers Create, Read, Update, Delete (CRUD) capabilities
● Ideal for monitoring
REST API in PEM
Great fit for application and service integrations with constant data changes
PEM
Is my data ready?
No
Yes, here you go!
Is my data ready?
No
Is my data ready?
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
22
● Retrieval of the objects from monitored server and agents
● Retrieval of the statistics collected by probes
● CRUD operations for probes, alerts, email groups, and
templates
● Retrieval and update of PEM server and probe configurations
● Copy the agents/servers/database/schema level probe
configurations to other same- or lower-level objects
● Copy the alert configuration of one object to other objects
REST API in PEM
Exposed endpoints for the following operations
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
23
● Extended REST API for alert states in PEM 7.16
(October 2020)
○ Current threshold violations
○ Change state history for agents, servers & databases
○ Current state of all agents
○ Current state of all monitored servers
Expanded REST API
Allows integration with other apps and services
New webhooks
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
25
REST API Webhooks
PEM
Is my data ready?
No
Yes, here you go!
PEM
Is my data ready?
No
Is my data ready?
Here’s your data!
Tell me when my
data’s ready
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
26
REST APIs are one-way traffic and require polling the PEM server:
• Webhooks are automated, event-based alerts with a payload sent
from PEM to keep other systems in sync
• Changes are automatically triggered if current values deviate
from threshold values
• When an event triggers a webhook, PEM will send this notification
to the specified endpoint(s)
Webhooks in Postgres Enterprise Manager 8.0
Ideal for alerting scenarios for incident-management systems and team-collaboration channels
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
27
• URL that may include variables
• Request method
• Payload template
• Key/value pairs
• Authentication details
• Additional HTTP headers
Webhooks in PEM comprise of endpoint(s)
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
28
• Each alert sent to an endpoint based on a level, similar to email groups
• Select multiple endpoints for each alert level
• Set default endpoints for each alert level; users can override settings and
disable at individual alert level
Alerts based on Webhooks in PEM
POST https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Content-type: application/json
{
"text": "An alert state was detected on svr01.enterprisedb.com: Disk space usage on /var is at
95%."
}
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
29
A PEM request might include fields other than "text":
POST https://moogsoft.lseg.com/hooks/alerts
Content-type: application/json
X-Auth-Token: fdsjkfsjflkewrrtdfsdrioume45dfsmasd
{
"text": "An alert state was detected on svr01.enterprisedb.com: Disk space usage on /dev/sdb3 is
at 95%."
"host": "svr01.enterprisedb.com",
"server": "Finance QA 003",
"alert": "Disk Usage",
"level": "High",
"device": "/dev/sdb3",
"value": "95%"
}
Payload, headers & URL can be user defined and templatized to enable integration with most systems that support webhooks.
Additional webhook data:
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
30
Demo: Sending a
webhook to Slack
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
31
Webhooks in PEM (1 of 6)
Use the Webhooks tab to configure the PEM Server to receive notification of alert events on threshold
value violations in your configured applications
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
32
Create Webhook (2 of 6)
Define a new webhook by clicking the + icon in the upper-right corner of the table
Note: By default, the
enable_webhook parameter
is set to true only for the
agent on PEM Server. For all
other agents on other hosts,
it needs to be set manually
via the command line utility
during registration with
PEM Server.
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
33
Configure SSL (3 of 6)
Define the webhook SSL parameters in the respective agent configuration file or registry in Windows
Note: If you add or remove any
of the agent configuration
parameters, you must restart
the agent to apply them.
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
34
Set up HTTP Headers (4 of 6)
Use the HTTP Headers tab to define the header parameters to pass while calling the webhook endpoints
• All the values will be specified as a key and value pair
• Specify a key parameter in the Key field and a value in the Value field
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
35
Define Payloads (5 of 6)
Use the Payload tab to define the JSON data to be sent to the endpoint when an alert is triggered;
configure the template placeholders
• %AlertID%
• %AlertName%
• %ObjectName%
• %ObjectType%
%ThresholdValue%
• %CurrentValue%
• %CurrentState%
• %OldState%
• %AlertRaisedTime%
• %AgentID%
• %AgentName%
• %ServerID%
• %ServerName%
• %ServerIP%
• %ServerPort%
• %DatabaseName%
• %SchemaName%
• %PackageName%
• %DatabaseObjectName%
• %Parameters%.
• %AlertInfo%
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
36
Override an alert (6 of 6)
Use the Webhook tab under Manager Alerts to override any endpoint configurations per alert level:
Low, Medium, High, and Cleared
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
37
37
EDB Postgres Database
24/7 Global Support
Professional Services Postgres Contributions
Tools & Innovation Security/performance
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
38
• New webhooks automatically push notifications to incident-management or
team-collaboration systems
• Expanded REST API provides fuller context for third-party integrations
• Additional support for open source PostgreSQL with performance
diagnostics
Summary
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
39 39
QUESTIONS?
EDB supercharges Postgres to help our customers
overcome these challenges.
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
40
Learn More
Other resources:
Postgres Pulse EDB Youtube
Channel
Contact EDB
info@edbpostgres.com

More Related Content

More from EDB

Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
EDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB
 
Migrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleMigrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleEDB
 
All you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSAll you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSEDB
 
Cloud Native PostgreSQL
Cloud Native PostgreSQLCloud Native PostgreSQL
Cloud Native PostgreSQLEDB
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsEDB
 
A Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJA Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJEDB
 
Database Dumps and Backups
Database Dumps and BackupsDatabase Dumps and Backups
Database Dumps and BackupsEDB
 

More from EDB (20)

Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
EDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City Project
 
Migrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleMigrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from Oracle
 
All you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSAll you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICS
 
Cloud Native PostgreSQL
Cloud Native PostgreSQLCloud Native PostgreSQL
Cloud Native PostgreSQL
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needs
 
A Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJA Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJ
 
Database Dumps and Backups
Database Dumps and BackupsDatabase Dumps and Backups
Database Dumps and Backups
 

Recently uploaded

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

New Integration Options with Postgres Enterprise Manager 8.0

  • 1. New Integration Options with Postgres Enterprise Manager 8.0 Anthony Waite, Scott Grant Hosted by: Molly Halsey
  • 2. Slides and recording will be made available Submit questions via Zoom – will be answering at end Welcome – Housekeeping Items
  • 3. Are you currently using Postgres Enterprise Manager (PEM)? 1.Yes 2.No 3.Not yet, planning to use Poll #1
  • 4. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 4 Agenda • Why Postgres Enterprise Manager? • What’s new? • Expanded REST API • Webhooks • Other notable new features • Webhooks demo
  • 5. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 5 Three takeaways #1 New webhooks automatically push notifications to incident-management or team-collaboration systems #2 #3 Expanded REST API provides fuller context for third-party integrations Additional support for open source PostgreSQL with performance diagnostics
  • 7. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 7 What is Postgres Enterprise Manager (PEM)? An interface to control and optimize PostgreSQL
  • 8. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 8 Quick Deploy Solution Design Migration Assessment Migration Assistance PostgreSQL Strategy Security Assessment Enterprise Architecture EDB Postgres Advanced Server PostgreSQL EDB Postgres Tools PostgreSQL Optimization Enterprise Strategy Custom Services Getting Started Cloud DBA Service Remote DBA Service Technical Account Manager PostgreSQL Technical Support Software Support Design and Build Services Overview: EDB Product Suite Performance Tuning Automation Services Monitoring Best Practices Backup Best Practices Implementation Embedded Expert Training PEM
  • 9. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 9 Why not use my other DBMS tools? PostgreSQL is complex Extensibility, scalability, and interoperability are strong points, but this can be challenging and intimidating for new users Specialized tooling is essential for successful tuning and optimization of PostgreSQL
  • 10. What tools are you using for monitoring PostgreSQL? 1.Nagios 2.Datadog 3.Prometheus/Grafana 4.SolarWinds 5.Zabbix 6.Other Poll #2
  • 11. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 11 Manage from one interface Optimize database performance Monitor system health Integrate with other tools Why Postgres Enterprise Manager? One place to visualize and manage everything PostgreSQL In-depth diagnostics for database reports and tuning Built-in dashboards and customizable alert thresholds APIs and webhooks to fetch data, send alerts, and manage servers Manage, monitor, and tune PostgreSQL at scale
  • 12. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 12 Market overview PEM Monitoring and Alerting Management and Administration AWS Cloudwatch Nagios Splunk Datadog SolarWinds Sysdig Elastic.co APM Prometheus and Grafana pgAdmin Toad Edge DataGrip RazorSQL Elephant Shed
  • 13. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 13 PEM architecture • PEM Server • PEM Web Client • PEM Agent • SQL Profiler
  • 14. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 14 PEM functionality Management Monitoring/alerting Tuning/diagnostics Deep insights into your PostgreSQL deployment Built-in query debugger User/group access management Query tool and analysis Job scheduling Backup and failover management Customizable charts and dashboards Predefined and custom alerts via email or SNMP Audit log manager Database and OS level monitoring Detailed performance diagnostics SQL profiler Capacity management User-defined metrics log analysis Expert wizards for configuration setup
  • 16. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 16 What’s new: summary Accessibility, security, and integration • Certified for Web Content Accessibility Guidelines (WCAG) 2.0 Level AA • Updated Security Guide • More support for open source PostgreSQL • Additional API endpoints • Webhooks
  • 17. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 17 PEM web client • Inaccessibility create barriers, not just those with disabilities • Meets requirements for federal contracting, government buyers, and regulated industries • Self-certification published online • enterprisedb.com/accessibility Certified for Web Content Accessibility Guidelines (WCAG) 2.0 Level AA
  • 18. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 18 Security Guide • New Security Guide for 8.0 • Best practices to consider when configuring both PEM and Apache • Available in EDB documentation Identify, analyze and verify security vulnerabilities
  • 19. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 19 Performance Diagnostics • Analyze performance during query execution by monitoring the wait events • New edb_wait_states plugin for PostgreSQL is required • EDB further embraces the open-source community by extending PostgreSQL Now certified for PostgreSQL 10 or above
  • 21. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 21 ● Third-party clients have more control as they place calls ● Know whether if PEM is online ● Suitable for manipulating data in third-party systems ● Offers Create, Read, Update, Delete (CRUD) capabilities ● Ideal for monitoring REST API in PEM Great fit for application and service integrations with constant data changes PEM Is my data ready? No Yes, here you go! Is my data ready? No Is my data ready?
  • 22. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 22 ● Retrieval of the objects from monitored server and agents ● Retrieval of the statistics collected by probes ● CRUD operations for probes, alerts, email groups, and templates ● Retrieval and update of PEM server and probe configurations ● Copy the agents/servers/database/schema level probe configurations to other same- or lower-level objects ● Copy the alert configuration of one object to other objects REST API in PEM Exposed endpoints for the following operations
  • 23. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 23 ● Extended REST API for alert states in PEM 7.16 (October 2020) ○ Current threshold violations ○ Change state history for agents, servers & databases ○ Current state of all agents ○ Current state of all monitored servers Expanded REST API Allows integration with other apps and services
  • 25. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 25 REST API Webhooks PEM Is my data ready? No Yes, here you go! PEM Is my data ready? No Is my data ready? Here’s your data! Tell me when my data’s ready
  • 26. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 26 REST APIs are one-way traffic and require polling the PEM server: • Webhooks are automated, event-based alerts with a payload sent from PEM to keep other systems in sync • Changes are automatically triggered if current values deviate from threshold values • When an event triggers a webhook, PEM will send this notification to the specified endpoint(s) Webhooks in Postgres Enterprise Manager 8.0 Ideal for alerting scenarios for incident-management systems and team-collaboration channels
  • 27. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 27 • URL that may include variables • Request method • Payload template • Key/value pairs • Authentication details • Additional HTTP headers Webhooks in PEM comprise of endpoint(s)
  • 28. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 28 • Each alert sent to an endpoint based on a level, similar to email groups • Select multiple endpoints for each alert level • Set default endpoints for each alert level; users can override settings and disable at individual alert level Alerts based on Webhooks in PEM POST https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX Content-type: application/json { "text": "An alert state was detected on svr01.enterprisedb.com: Disk space usage on /var is at 95%." }
  • 29. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 29 A PEM request might include fields other than "text": POST https://moogsoft.lseg.com/hooks/alerts Content-type: application/json X-Auth-Token: fdsjkfsjflkewrrtdfsdrioume45dfsmasd { "text": "An alert state was detected on svr01.enterprisedb.com: Disk space usage on /dev/sdb3 is at 95%." "host": "svr01.enterprisedb.com", "server": "Finance QA 003", "alert": "Disk Usage", "level": "High", "device": "/dev/sdb3", "value": "95%" } Payload, headers & URL can be user defined and templatized to enable integration with most systems that support webhooks. Additional webhook data:
  • 30. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 30 Demo: Sending a webhook to Slack
  • 31. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 31 Webhooks in PEM (1 of 6) Use the Webhooks tab to configure the PEM Server to receive notification of alert events on threshold value violations in your configured applications
  • 32. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 32 Create Webhook (2 of 6) Define a new webhook by clicking the + icon in the upper-right corner of the table Note: By default, the enable_webhook parameter is set to true only for the agent on PEM Server. For all other agents on other hosts, it needs to be set manually via the command line utility during registration with PEM Server.
  • 33. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 33 Configure SSL (3 of 6) Define the webhook SSL parameters in the respective agent configuration file or registry in Windows Note: If you add or remove any of the agent configuration parameters, you must restart the agent to apply them.
  • 34. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 34 Set up HTTP Headers (4 of 6) Use the HTTP Headers tab to define the header parameters to pass while calling the webhook endpoints • All the values will be specified as a key and value pair • Specify a key parameter in the Key field and a value in the Value field
  • 35. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 35 Define Payloads (5 of 6) Use the Payload tab to define the JSON data to be sent to the endpoint when an alert is triggered; configure the template placeholders • %AlertID% • %AlertName% • %ObjectName% • %ObjectType% %ThresholdValue% • %CurrentValue% • %CurrentState% • %OldState% • %AlertRaisedTime% • %AgentID% • %AgentName% • %ServerID% • %ServerName% • %ServerIP% • %ServerPort% • %DatabaseName% • %SchemaName% • %PackageName% • %DatabaseObjectName% • %Parameters%. • %AlertInfo%
  • 36. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 36 Override an alert (6 of 6) Use the Webhook tab under Manager Alerts to override any endpoint configurations per alert level: Low, Medium, High, and Cleared
  • 37. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 37 37 EDB Postgres Database 24/7 Global Support Professional Services Postgres Contributions Tools & Innovation Security/performance
  • 38. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 38 • New webhooks automatically push notifications to incident-management or team-collaboration systems • Expanded REST API provides fuller context for third-party integrations • Additional support for open source PostgreSQL with performance diagnostics Summary
  • 39. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 39 39 QUESTIONS? EDB supercharges Postgres to help our customers overcome these challenges.
  • 40. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. 40 Learn More Other resources: Postgres Pulse EDB Youtube Channel Contact EDB info@edbpostgres.com