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

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.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