SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
HAWKULAR ALERTING
Flexible and scalable alerting services
Lucas Ponce
Hawkular Team
November 2016
Hawkular Alerting2
CLICK TO ADD TEXT
Hawkular Alerting3
Hawkular Alerting
In a nutshell
● Generic alerting services
Suitable for multiple business domains
● Flexible and scalable
Simple REST API
Cassandra backend
Cluster ready
● Pluggable actions architecture
Out of the box plugins
Simplified API to develop new plugins
Hawkular Alerting4
Action Plugins
Generic Alerting Services
Alerting philosophy
Trigger definitions
X > 10, Y < 20
N < 80% of M
K is DOWN
E.url=/x/y/z and E.time > 10s
Data
Events Events
Alerts
Hawkular Alerting5
Generic Alerting Services
Data, Events and Alerts
Data
Events
Alerts
Time-series data (gauges, counters, availability)
Stored on Hawkular Metrics
Simple condition expressions
Generic representation of a captured happening
Structured data
Internal: generated by the Alerting engine
External: provided as data
Events that required human attention
Lifecycle (Open, Acknowledged, Resolved)
Internal: generated by the Alerting engine
Hawkular Alerting6
Generic Alerting Services
Triggers, Conditions and Dampenings
Trigger definitions
X > 10, Y < 20
N < 80% of M
K is DOWN
E.url=/x/y/z and E.time > 10s
Trigger
IF Conditions are met
THEN Fires an Event or Alert
Execute Actions
Conditions
Triggers can have one or more conditions
Triggers can fire when ALL or ANY of conditions are met
Dampening
Triggers can fire every time Conditions are met, or
Define dampening rules like
responseTime > 10s [4 times in 5 minutes]
Hawkular Alerting7
Generic Alerting Services
Alert Lifecycle
Alerts
Open
Acknowledged
Resolved
Alert is fired by a Trigger
Alert is acknowledged by a User
Starting investigation on it
Alert can be resolved by a User, or
Alert can be resolved automatically
Lifecycle transitions can execute Actions
Action Plugins
Hawkular Alerting8
Generic Alerting Services
AUTORESOLVE
Alerts
Open
Resolved
Trigger can define
FIRING Conditions (when a bad situation happens)
Generates an Alert
AUTORESOLVE Conditions (when the situation is gone)
Automatically resolves the Alert
i.e.
FIRING responseTime > 10s
AUTORESOLVE responseTime <= 10s
Hawkular Alerting9
MemberTrigger definition
ResponseTime-A > 10s in last 5m
MemUsed-A > 500Mb
DiskUsed-A > 10 Gb
MemberTrigger definition
ResponseTime-A > 10s in last 5m
MemUsed-A > 500Mb
DiskUsed-A > 10 Gb
Generic Alerting Services
Managing Group of Triggers
GroupTrigger
It acts like a template
GroupTrigger definition
ResponseTime > 10s in last 5m
MemUsed > 500Mb
DiskUsed > 10 Gb
MemberTriggers
Generated from a GroupTrigger
Personalize data Ids
Managed from parent GroupTrigger
i.e. GroupTrigger applied to
machines [A, B, C]
MemberTrigger definition
ResponseTime-A > 10s in last 5m
MemUsed-A > 500Mb
DiskUsed-A > 10 Gb
Hawkular Alerting10
Generic Alerting Services
Conditions
Condition Type Examples
AVAILABILITY X is DOWN, Y is NOT_UP
COMPARE X > 80% of Y
EVENT
event.id starts 'IDXYZ', event.tag.category == 'Server',
event.tag.from ends '.com'
EXTERNAL Delegate the evaluation on external pluggable Alerters
MISSING Not X in last 5 minutes
RATE X > 10 per-minute
STRING X matches “A.*B”
RANGE X inside [10, 20), X outside [100,200]
THRESHOLD X > 10, Y <= 20
Hawkular Alerting11
Flexible and Scalable
Simple REST API
● Main REST API
● Additional Hawkular clients
Ruby
Python (in progress)
Java
Content-Type: application/json
/hawkular/alerts
GET /
POST /triggers
...
http://www.hawkular.org/docs/rest/rest-alerts.html
Content-Type: application/json
/hawkular/alerts
GET /
POST /triggers
...
http://www.hawkular.org/docs/rest/rest-alerts.html
Hawkular Alerting12
Flexible and Scalable
Complex Events Processing and Cassandra backend
Alerting Engine Optimized CEP algorithm
Stateful Rules Engine
Backed by JBoss Drools
Cassandra Scalable
Distributed
Structured data store
Hawkular Alerting13
Flexible and Scalable
Cluster Ready
Alerting Engine
Cassandra
Horizontal scalability
Full distribution of data and definitions
Cloud ready
Hawkular Alerting14
Pluggable Actions Architecture
Out of the box plugins
Action Plugins Email
Webhooks
Sms (Twilio SDK)
Aerogear
PagerDuty
Irc
File
DIY plugins
@Plugin(name = “my-diy-plugin)
Public class DiyPlugin implements ActionPluginListener {
public void process(ActionMessage msg) {
// Process the msg
}
}
@Plugin(name = “my-diy-plugin)
Public class DiyPlugin implements ActionPluginListener {
public void process(ActionMessage msg) {
// Process the msg
}
}
Hawkular Alerting15
Deployments
Choose what you need
● Standalone
Embed an Alerting engine into your system
● Hawkular Metrics + Alerting
Metrics Storage + Alerting engine
Available on Openshift deployments
● Hawkular Services
Metrics Storage + Alerting engine + Inventory and more
Available as Middleware provider on ManageIQ
THANK YOU
hawkular.org
#hawkular on Freenode.net
@hawkular_org
github.com/hawkular

Contenu connexe

Similaire à Hawkular Alerting

The hidden engineering behind machine learning products at Helixa
The hidden engineering behind machine learning products at HelixaThe hidden engineering behind machine learning products at Helixa
The hidden engineering behind machine learning products at HelixaAlluxio, Inc.
 
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...Amazon Web Services
 
The Enterprise IT Checklist for Docker Operations
The Enterprise IT Checklist for Docker Operations The Enterprise IT Checklist for Docker Operations
The Enterprise IT Checklist for Docker Operations Nicola Kabar
 
Intelligent Monitoring
Intelligent MonitoringIntelligent Monitoring
Intelligent MonitoringIntelie
 
Monitor everything from physical hardware to application functionality
Monitor everything from physical hardware to application functionalityMonitor everything from physical hardware to application functionality
Monitor everything from physical hardware to application functionalityNicolas Seyvet
 
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...Amazon Web Services
 
How we sleep well at night using Hystrix at Finn.no
How we sleep well at night using Hystrix at Finn.noHow we sleep well at night using Hystrix at Finn.no
How we sleep well at night using Hystrix at Finn.noHenning Spjelkavik
 
Introducing the WSO2 Complex Event Processor
Introducing the WSO2 Complex Event ProcessorIntroducing the WSO2 Complex Event Processor
Introducing the WSO2 Complex Event ProcessorWSO2
 
Stream Processing with Ballerina
Stream Processing with BallerinaStream Processing with Ballerina
Stream Processing with BallerinaBallerina
 
Infrastructure as a service for Mobile Testing as a Service
Infrastructure as a service for Mobile Testing as a ServiceInfrastructure as a service for Mobile Testing as a Service
Infrastructure as a service for Mobile Testing as a ServiceSaurabh Jinturkar
 
Webinar - What's new in Axon 3
Webinar - What's new in Axon 3 Webinar - What's new in Axon 3
Webinar - What's new in Axon 3 Allard Buijze
 
Aws + Puppet = Dynamic Scale
Aws + Puppet = Dynamic ScaleAws + Puppet = Dynamic Scale
Aws + Puppet = Dynamic ScalePuppet
 
CQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveCQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveMaria Gomez
 
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...Fulvio Corno
 
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...Amazon Web Services
 
XcellHost - Performance Cloud Servers
XcellHost -  Performance Cloud Servers XcellHost -  Performance Cloud Servers
XcellHost - Performance Cloud Servers Samir Jhaveri
 
Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixMax Kuzkin
 
善用分析與推播訊息增加及留住用戶
善用分析與推播訊息增加及留住用戶善用分析與推播訊息增加及留住用戶
善用分析與推播訊息增加及留住用戶Amazon Web Services
 

Similaire à Hawkular Alerting (20)

The hidden engineering behind machine learning products at Helixa
The hidden engineering behind machine learning products at HelixaThe hidden engineering behind machine learning products at Helixa
The hidden engineering behind machine learning products at Helixa
 
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
 
The Enterprise IT Checklist for Docker Operations
The Enterprise IT Checklist for Docker Operations The Enterprise IT Checklist for Docker Operations
The Enterprise IT Checklist for Docker Operations
 
Intelligent Monitoring
Intelligent MonitoringIntelligent Monitoring
Intelligent Monitoring
 
Monitor everything from physical hardware to application functionality
Monitor everything from physical hardware to application functionalityMonitor everything from physical hardware to application functionality
Monitor everything from physical hardware to application functionality
 
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...
AWS re:Invent 2016: IoT Blueprints: Optimizing Supply for Smart Agriculture f...
 
Android workshop
Android workshopAndroid workshop
Android workshop
 
How we sleep well at night using Hystrix at Finn.no
How we sleep well at night using Hystrix at Finn.noHow we sleep well at night using Hystrix at Finn.no
How we sleep well at night using Hystrix at Finn.no
 
Introducing the WSO2 Complex Event Processor
Introducing the WSO2 Complex Event ProcessorIntroducing the WSO2 Complex Event Processor
Introducing the WSO2 Complex Event Processor
 
Stream Processing with Ballerina
Stream Processing with BallerinaStream Processing with Ballerina
Stream Processing with Ballerina
 
Stream Processing with Ballerina
Stream Processing with BallerinaStream Processing with Ballerina
Stream Processing with Ballerina
 
Infrastructure as a service for Mobile Testing as a Service
Infrastructure as a service for Mobile Testing as a ServiceInfrastructure as a service for Mobile Testing as a Service
Infrastructure as a service for Mobile Testing as a Service
 
Webinar - What's new in Axon 3
Webinar - What's new in Axon 3 Webinar - What's new in Axon 3
Webinar - What's new in Axon 3
 
Aws + Puppet = Dynamic Scale
Aws + Puppet = Dynamic ScaleAws + Puppet = Dynamic Scale
Aws + Puppet = Dynamic Scale
 
CQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveCQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspective
 
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
 
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...
Best Practices for Managing Security Operations in AWS - AWS July 2016 Webina...
 
XcellHost - Performance Cloud Servers
XcellHost -  Performance Cloud Servers XcellHost -  Performance Cloud Servers
XcellHost - Performance Cloud Servers
 
Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with Zabbix
 
善用分析與推播訊息增加及留住用戶
善用分析與推播訊息增加及留住用戶善用分析與推播訊息增加及留住用戶
善用分析與推播訊息增加及留住用戶
 

Dernier

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Hawkular Alerting

  • 1. HAWKULAR ALERTING Flexible and scalable alerting services Lucas Ponce Hawkular Team November 2016
  • 3. Hawkular Alerting3 Hawkular Alerting In a nutshell ● Generic alerting services Suitable for multiple business domains ● Flexible and scalable Simple REST API Cassandra backend Cluster ready ● Pluggable actions architecture Out of the box plugins Simplified API to develop new plugins
  • 4. Hawkular Alerting4 Action Plugins Generic Alerting Services Alerting philosophy Trigger definitions X > 10, Y < 20 N < 80% of M K is DOWN E.url=/x/y/z and E.time > 10s Data Events Events Alerts
  • 5. Hawkular Alerting5 Generic Alerting Services Data, Events and Alerts Data Events Alerts Time-series data (gauges, counters, availability) Stored on Hawkular Metrics Simple condition expressions Generic representation of a captured happening Structured data Internal: generated by the Alerting engine External: provided as data Events that required human attention Lifecycle (Open, Acknowledged, Resolved) Internal: generated by the Alerting engine
  • 6. Hawkular Alerting6 Generic Alerting Services Triggers, Conditions and Dampenings Trigger definitions X > 10, Y < 20 N < 80% of M K is DOWN E.url=/x/y/z and E.time > 10s Trigger IF Conditions are met THEN Fires an Event or Alert Execute Actions Conditions Triggers can have one or more conditions Triggers can fire when ALL or ANY of conditions are met Dampening Triggers can fire every time Conditions are met, or Define dampening rules like responseTime > 10s [4 times in 5 minutes]
  • 7. Hawkular Alerting7 Generic Alerting Services Alert Lifecycle Alerts Open Acknowledged Resolved Alert is fired by a Trigger Alert is acknowledged by a User Starting investigation on it Alert can be resolved by a User, or Alert can be resolved automatically Lifecycle transitions can execute Actions Action Plugins
  • 8. Hawkular Alerting8 Generic Alerting Services AUTORESOLVE Alerts Open Resolved Trigger can define FIRING Conditions (when a bad situation happens) Generates an Alert AUTORESOLVE Conditions (when the situation is gone) Automatically resolves the Alert i.e. FIRING responseTime > 10s AUTORESOLVE responseTime <= 10s
  • 9. Hawkular Alerting9 MemberTrigger definition ResponseTime-A > 10s in last 5m MemUsed-A > 500Mb DiskUsed-A > 10 Gb MemberTrigger definition ResponseTime-A > 10s in last 5m MemUsed-A > 500Mb DiskUsed-A > 10 Gb Generic Alerting Services Managing Group of Triggers GroupTrigger It acts like a template GroupTrigger definition ResponseTime > 10s in last 5m MemUsed > 500Mb DiskUsed > 10 Gb MemberTriggers Generated from a GroupTrigger Personalize data Ids Managed from parent GroupTrigger i.e. GroupTrigger applied to machines [A, B, C] MemberTrigger definition ResponseTime-A > 10s in last 5m MemUsed-A > 500Mb DiskUsed-A > 10 Gb
  • 10. Hawkular Alerting10 Generic Alerting Services Conditions Condition Type Examples AVAILABILITY X is DOWN, Y is NOT_UP COMPARE X > 80% of Y EVENT event.id starts 'IDXYZ', event.tag.category == 'Server', event.tag.from ends '.com' EXTERNAL Delegate the evaluation on external pluggable Alerters MISSING Not X in last 5 minutes RATE X > 10 per-minute STRING X matches “A.*B” RANGE X inside [10, 20), X outside [100,200] THRESHOLD X > 10, Y <= 20
  • 11. Hawkular Alerting11 Flexible and Scalable Simple REST API ● Main REST API ● Additional Hawkular clients Ruby Python (in progress) Java Content-Type: application/json /hawkular/alerts GET / POST /triggers ... http://www.hawkular.org/docs/rest/rest-alerts.html Content-Type: application/json /hawkular/alerts GET / POST /triggers ... http://www.hawkular.org/docs/rest/rest-alerts.html
  • 12. Hawkular Alerting12 Flexible and Scalable Complex Events Processing and Cassandra backend Alerting Engine Optimized CEP algorithm Stateful Rules Engine Backed by JBoss Drools Cassandra Scalable Distributed Structured data store
  • 13. Hawkular Alerting13 Flexible and Scalable Cluster Ready Alerting Engine Cassandra Horizontal scalability Full distribution of data and definitions Cloud ready
  • 14. Hawkular Alerting14 Pluggable Actions Architecture Out of the box plugins Action Plugins Email Webhooks Sms (Twilio SDK) Aerogear PagerDuty Irc File DIY plugins @Plugin(name = “my-diy-plugin) Public class DiyPlugin implements ActionPluginListener { public void process(ActionMessage msg) { // Process the msg } } @Plugin(name = “my-diy-plugin) Public class DiyPlugin implements ActionPluginListener { public void process(ActionMessage msg) { // Process the msg } }
  • 15. Hawkular Alerting15 Deployments Choose what you need ● Standalone Embed an Alerting engine into your system ● Hawkular Metrics + Alerting Metrics Storage + Alerting engine Available on Openshift deployments ● Hawkular Services Metrics Storage + Alerting engine + Inventory and more Available as Middleware provider on ManageIQ
  • 16. THANK YOU hawkular.org #hawkular on Freenode.net @hawkular_org github.com/hawkular