SlideShare a Scribd company logo
1 of 27
Monitoring Neuron ESB
Monitoring Neuron ESB
• Learn how, when and where to use Auditing
• Understand Message History and Failed Message Reporting
• Using Activity Sessions to monitor remote Endpoints
• Understand the capabilities of Endpoint Health Monitoring
• Learn to use Neuron ESB WMI Events and Performance Counters
• Understand the Neuron ESB REST API and how it can be used
Goals
Monitoring Neuron ESB
• Auditing
• Topic Level Auditing
• Topic Level Auditing vs Process Level Auditing
• Audited Messages
• Message History / Failed Messages
• Message Viewer
• Republishing Strategies
• Active Session Reporting
• Endpoint Health
• WMI
• Neuron ESB REST API
Lesson Plan
Monitoring Neuron ESB
Topic Level Auditing
• Topic level auditing can be configured
through the Auditing tab
• A Neuron ESB database must be created and
associated with the deployment group to use
topic-level auditing
• Enabling topic-level auditing will instruct
Neuron ESB to audit messages on both send
and receive
Monitoring Neuron ESB
Topic Level Auditing
• Audit Custom Message Properties
• If unchecked custom properties associated with
messages will not be stored in the Neuron ESB
database
• Audit Message Body
• If unchecked the body of the Neuron message will
not be stored in the Neuron ESB database
• Audit messages before publish process executes
• If checked messages will be stored to the Neuron ESB
database prior to the execution of business Processes
associated with the publisher
• Audit messages after receive process executes
• If checked messages will be stored to the Neuron ESB
database after they are processed by any business
processes associated with the subscriber
Monitoring Neuron ESB
Topic Level Auditing
• Audit published messages when there are no
recipients
• If checked messages will be stored in the Neuron
ESB database even if no subscribers are listening to
the topic
• Use verbose detail when auditing message failures
• If checked failed messages stored in the Neuron
ESB database will have verbose detail included in
the message being stored (Affects the Audit
Business Process Step)
• Audit messages asynchronously
• If unchecked messages will be audited
synchronously, and will wait for the previous audit
to complete before it is allowed to be audited
(Affects the Audit Business Process Step)
Developing and Hosting REST APIs
Topic Level Auditing
• Captures every message sent or received by parties
on a topic
• Used primarily in debugging scenarios
• Not ideal for production use as it clutters the database
with unnecessary messages
• Selective auditing of messages under specific scenarios
as determined by the business process
• Used for production situations where the auditing of
messages should be controlled based on business logic
Topic Level Auditing vs Process Level Auditing
Process Level Auditing
Topic Level Auditing : Demo
Purpose:
To familiarize users with topic level auditing in the Neuron ESB Explorer
Objectives:
To acquaint users with the following:
• Enabling topic level auditing
• Auditing before or after publish and receive business process events
• Understanding the difference between verbose detail in a failed message and non-verbose detail in a failed message
Monitoring Neuron ESB
Message History
• Messages can be viewed via the message history
tab
• Message history can be filtered
• Topic
• Date
• Maximum Number of Records
• Filter Dialog
• Right clicking a message allows you to:
• View the message
• Save the message to disk
• View related messages
• Delete a message from the Neuron ESB database
Monitoring Neuron ESB
Failed Messages
• Failed messages can be
viewed via the failed messages history tab
• Failed message history can
be filtered
• Topic
• Date
• Maximum Number of Records
• Filter Dialog
• Right clicking a message will allow you to
• View the message
• Save the message to disk
• View related messages
• Delete a message from the Neuron ESB database
Monitoring Neuron ESB
Filter Dialog
The filter dialog allows you to filter messages based
on specific criteria
• Supports basic operands
• Supports filtering on custom properties
• Supports AND / OR
Monitoring Neuron ESB
Message Viewer
The message viewer provides you with a
snapshot the audited message
• Message Body
• Neuron Properties
• Custom Properties
The message viewer also provides you the
ability to republish the message, or save it to
disk.
Monitoring Neuron ESB
Message Viewer
Failed messages are shown in the Failed Message
Viewer, which has all the same functionality of the
Message Viewer, but additionally provides
• The date the message failed
• The type of exception that was thrown
• The message associated with that
exception
Failed Messages can be generated when
• A policy is configured to send the message to
the failed database, after retries are exhausted
• When the neuron runtime catches an
unhandled exception in any endpoint or
process provided there is a source message to
capture
• When the Audit Step’s action property is set to
Failure.
Monitoring Neuron ESB
Message Viewer
• Messages can be republished as a selected
party to a specific topic that party has access
to
• Messages can be republished to a topic or
directly to an endpoint
Monitoring Neuron ESB
“Republishing failed” messages to the same topic may not always be the best option. Especially if the
message was audited after a business process has already been run on the message.
• Republish to a new topic that does not have an attached business process
• Republish to an Error topic that Routes the message to the correct Topic based on the Neuron Topic Property
• Republish directly to an endpoint that is the original recipient of the message
• If the business process audits the original message, and not the message as it looks after processing, you can publish
back to the original topic
Strategies for Republishing Messages
Message History and Viewing : Demo
Purpose:
To familiarize users with the Message Viewer and Failed Message Viewer in the Neuron ESB Explorer
Objectives:
To acquaint users with the following:
• View audited messages
• View failed messages
• Inspect message properties
• Republish messages
Monitoring Neuron ESB
Active Session Reporting
• Displays information per party about activity
performed by that party
• Displays multiple instances of the party, if the
party has subscriptions to multiple topics
• Displays information about applications
remotely connected to the bus via the
Neuron Client API
Active Session Reporting : Demo
Purpose:
To familiarize users with active session reporting in the Neuron ESB Explorer
Objectives:
To acquaint users with the following:
• Active session report screen
• Running active session reports
Monitoring Neuron ESB
Endpoint Health
• Displays information about endpoints
registered with Neuron ESB
• Endpoints can be stopped or restarted
• If an endpoint is configured for multiple
machines, it can be stopped or restarted on
the current machine, or on all machines that
it is configured to run on
• Endpoint hosts can be started and stopped
in the same way as other endpoints
Endpoint Health : Demo
Purpose:
To familiarize users with Endpoint Health in the Neuron ESB Explorer
Objectives:
To acquaint users with the following:
• Monitoring endpoint health
• Stopping a running service
• Starting a stopped service
Monitoring Neuron ESB
Windows Management Instrumentation (WMI)
• WMI is a set of specifications from Microsoft for
consolidating the management of devices and
applications in a network from Windows
computing systems.
• It provides users with information about status of
local or remote computer systems through events
and performance counters.
• Neuron ESB uses WMI to expose performance
metrics, which can be consumed by third-party
tools, for reporting and monitoring purposes
• Zones, in the Deployment section of the Neuron
ESB Explorer, has two settings for performance
counters
Monitoring Neuron ESB
Windows Management Instrumentation (WMI)
• Neuron ESB also uses WMI events to allow
for monitoring of Neuron ESB using tools
that subscribe to these WMI events
• Failed Message events
• Failed message events receive a
copy of the failed message
• Endpoint status change events
• An application which monitors WMI events
can be used to subscribe to events raised by
Neuron ESB
Monitoring Neuron ESB
Windows Management Instrumentation (WMI)
• In order to use WMI events and performance
counters in Neuron ESB, you must have
installed the ESB service Management
Objects when initially installing Neuron ESB
• If you did not install the ESB Service
Management Objects during the initial
installation of Neuron ESB, you can use the
Powershell scripts provided by Neuron ESB
to do so
Windows Management Instrumentation : Demo
Purpose:
To familiarize users with WMI performance counters and events in relation to Neuron ESB.
Objectives:
To acquaint users with the following:
• Configuring Party and Topic / Endpoint performance counters
• View WMI performance counters
Monitoring Neuron ESB
REST API
Provides a REST API for information regarding
the Neuron instance
• API functions are broken up into 5 categories
• Activity
• Configuration
• Deployment
• Endpoint Health
• Runtime
• Allows users to perform actions without needing
access to the Neuron ESB Explorer
• Provides the ability to make minor modifications to
the configuration for a given instance of Neuron
ESB.
Monitoring Neuron ESB : Lab
Purpose:
To acquaint users with topic level auditing, as well as how to view audited messages in the Message History report
Objectives:
• Enable topic level Auditing
• Send a message on the topic
• View the audited message in the Message History report
Monitoring Neuron ESB
Review
• Topic level auditing can be used to capture all messages sent across a topic, both on publish and
on receive.
• “Use verbose details when auditing message failures” and “Audit messages asynchronously” affect
the audit process step in business processes.
• Active Session Reporting provides information on all endpoints connected to the Neuron ESB
instance.
• Endpoint Health can be monitored via the Neuron ESB Explorer and the Neuron ESB REST API and
provides a detailed view of the current state of the Neuron ESB endpoints.
• Message can be republished via the Message History and Failed Messages Report
• Messages can be republished to Topics or directly to an Endpoint

More Related Content

Similar to Monitoring Neuron ESB 3.7

Module 22 Deployment Configuration
Module 22 Deployment ConfigurationModule 22 Deployment Configuration
Module 22 Deployment Configuration
Courtney Doeing
 
Module 14 Building Custom Adapters Connectors
Module 14 Building Custom Adapters ConnectorsModule 14 Building Custom Adapters Connectors
Module 14 Building Custom Adapters Connectors
Courtney Doeing
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
sumitjain2013
 

Similar to Monitoring Neuron ESB 3.7 (20)

Workflow Hosting and Tracking 3.7
Workflow Hosting and Tracking 3.7Workflow Hosting and Tracking 3.7
Workflow Hosting and Tracking 3.7
 
Analyze Your Code With Visual Studio 2015 Diagnostic Tools
Analyze Your Code With Visual Studio 2015 Diagnostic ToolsAnalyze Your Code With Visual Studio 2015 Diagnostic Tools
Analyze Your Code With Visual Studio 2015 Diagnostic Tools
 
Module 22 Deployment Configuration
Module 22 Deployment ConfigurationModule 22 Deployment Configuration
Module 22 Deployment Configuration
 
Introduction to Adapters 3.7
Introduction to Adapters 3.7Introduction to Adapters 3.7
Introduction to Adapters 3.7
 
Ejb3.1 for the starter
Ejb3.1 for the starterEjb3.1 for the starter
Ejb3.1 for the starter
 
Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4
 
Module 14 Building Custom Adapters Connectors
Module 14 Building Custom Adapters ConnectorsModule 14 Building Custom Adapters Connectors
Module 14 Building Custom Adapters Connectors
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
Deployment and Configuration 3.7
Deployment and Configuration 3.7Deployment and Configuration 3.7
Deployment and Configuration 3.7
 
OCSP.pptx
OCSP.pptxOCSP.pptx
OCSP.pptx
 
Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008Context Driven Automation Gtac 2008
Context Driven Automation Gtac 2008
 
Pawan111
Pawan111Pawan111
Pawan111
 
Unite5-EJB-2019.ppt
Unite5-EJB-2019.pptUnite5-EJB-2019.ppt
Unite5-EJB-2019.ppt
 
Building Custom Adapters 3.7
Building Custom Adapters 3.7Building Custom Adapters 3.7
Building Custom Adapters 3.7
 
Build, Test and Extend Integrated Workflows 3.7
Build, Test and Extend Integrated Workflows 3.7Build, Test and Extend Integrated Workflows 3.7
Build, Test and Extend Integrated Workflows 3.7
 
Developing and Hosting SOAP Based Services
Developing and Hosting SOAP Based ServicesDeveloping and Hosting SOAP Based Services
Developing and Hosting SOAP Based Services
 
.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric.NET microservices with Azure Service Fabric
.NET microservices with Azure Service Fabric
 
Incorta Data Security
Incorta Data SecurityIncorta Data Security
Incorta Data Security
 
InfoQ QCon San Francisco 2009
InfoQ QCon San Francisco 2009InfoQ QCon San Francisco 2009
InfoQ QCon San Francisco 2009
 
Linkedin NUS QCon 2009 slides
Linkedin NUS QCon 2009 slidesLinkedin NUS QCon 2009 slides
Linkedin NUS QCon 2009 slides
 

More from StephenKardian (13)

Workflow Patterns and Correlation 3.7
Workflow Patterns and Correlation 3.7Workflow Patterns and Correlation 3.7
Workflow Patterns and Correlation 3.7
 
Using Adapters and Mediation to Integrate Systems 3.7
Using Adapters and Mediation to Integrate Systems 3.7Using Adapters and Mediation to Integrate Systems 3.7
Using Adapters and Mediation to Integrate Systems 3.7
 
Web Security 3.7
Web Security 3.7Web Security 3.7
Web Security 3.7
 
Developing and Hosting REST APIs 3.7
Developing and Hosting REST APIs 3.7Developing and Hosting REST APIs 3.7
Developing and Hosting REST APIs 3.7
 
Introduction to API and Service Hosting 3.7
Introduction to API and Service Hosting 3.7Introduction to API and Service Hosting 3.7
Introduction to API and Service Hosting 3.7
 
Extending Business Processes 3.7
Extending Business Processes 3.7Extending Business Processes 3.7
Extending Business Processes 3.7
 
Building Complex Business Processes 3.7
Building Complex Business Processes 3.7Building Complex Business Processes 3.7
Building Complex Business Processes 3.7
 
Introduction to Business Processes 3.7
Introduction to Business Processes 3.7Introduction to Business Processes 3.7
Introduction to Business Processes 3.7
 
Repository 3.7
Repository 3.7Repository 3.7
Repository 3.7
 
`Neuron ESB Client API 3.7
`Neuron ESB Client API 3.7`Neuron ESB Client API 3.7
`Neuron ESB Client API 3.7
 
ESB Fundamentals 3.7
ESB Fundamentals 3.7ESB Fundamentals 3.7
ESB Fundamentals 3.7
 
01 esb fundamentals
01   esb fundamentals01   esb fundamentals
01 esb fundamentals
 
12 web security
12  web security12  web security
12 web security
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Monitoring Neuron ESB 3.7

  • 2. Monitoring Neuron ESB • Learn how, when and where to use Auditing • Understand Message History and Failed Message Reporting • Using Activity Sessions to monitor remote Endpoints • Understand the capabilities of Endpoint Health Monitoring • Learn to use Neuron ESB WMI Events and Performance Counters • Understand the Neuron ESB REST API and how it can be used Goals
  • 3. Monitoring Neuron ESB • Auditing • Topic Level Auditing • Topic Level Auditing vs Process Level Auditing • Audited Messages • Message History / Failed Messages • Message Viewer • Republishing Strategies • Active Session Reporting • Endpoint Health • WMI • Neuron ESB REST API Lesson Plan
  • 4. Monitoring Neuron ESB Topic Level Auditing • Topic level auditing can be configured through the Auditing tab • A Neuron ESB database must be created and associated with the deployment group to use topic-level auditing • Enabling topic-level auditing will instruct Neuron ESB to audit messages on both send and receive
  • 5. Monitoring Neuron ESB Topic Level Auditing • Audit Custom Message Properties • If unchecked custom properties associated with messages will not be stored in the Neuron ESB database • Audit Message Body • If unchecked the body of the Neuron message will not be stored in the Neuron ESB database • Audit messages before publish process executes • If checked messages will be stored to the Neuron ESB database prior to the execution of business Processes associated with the publisher • Audit messages after receive process executes • If checked messages will be stored to the Neuron ESB database after they are processed by any business processes associated with the subscriber
  • 6. Monitoring Neuron ESB Topic Level Auditing • Audit published messages when there are no recipients • If checked messages will be stored in the Neuron ESB database even if no subscribers are listening to the topic • Use verbose detail when auditing message failures • If checked failed messages stored in the Neuron ESB database will have verbose detail included in the message being stored (Affects the Audit Business Process Step) • Audit messages asynchronously • If unchecked messages will be audited synchronously, and will wait for the previous audit to complete before it is allowed to be audited (Affects the Audit Business Process Step)
  • 7. Developing and Hosting REST APIs Topic Level Auditing • Captures every message sent or received by parties on a topic • Used primarily in debugging scenarios • Not ideal for production use as it clutters the database with unnecessary messages • Selective auditing of messages under specific scenarios as determined by the business process • Used for production situations where the auditing of messages should be controlled based on business logic Topic Level Auditing vs Process Level Auditing Process Level Auditing
  • 8. Topic Level Auditing : Demo Purpose: To familiarize users with topic level auditing in the Neuron ESB Explorer Objectives: To acquaint users with the following: • Enabling topic level auditing • Auditing before or after publish and receive business process events • Understanding the difference between verbose detail in a failed message and non-verbose detail in a failed message
  • 9. Monitoring Neuron ESB Message History • Messages can be viewed via the message history tab • Message history can be filtered • Topic • Date • Maximum Number of Records • Filter Dialog • Right clicking a message allows you to: • View the message • Save the message to disk • View related messages • Delete a message from the Neuron ESB database
  • 10. Monitoring Neuron ESB Failed Messages • Failed messages can be viewed via the failed messages history tab • Failed message history can be filtered • Topic • Date • Maximum Number of Records • Filter Dialog • Right clicking a message will allow you to • View the message • Save the message to disk • View related messages • Delete a message from the Neuron ESB database
  • 11. Monitoring Neuron ESB Filter Dialog The filter dialog allows you to filter messages based on specific criteria • Supports basic operands • Supports filtering on custom properties • Supports AND / OR
  • 12. Monitoring Neuron ESB Message Viewer The message viewer provides you with a snapshot the audited message • Message Body • Neuron Properties • Custom Properties The message viewer also provides you the ability to republish the message, or save it to disk.
  • 13. Monitoring Neuron ESB Message Viewer Failed messages are shown in the Failed Message Viewer, which has all the same functionality of the Message Viewer, but additionally provides • The date the message failed • The type of exception that was thrown • The message associated with that exception Failed Messages can be generated when • A policy is configured to send the message to the failed database, after retries are exhausted • When the neuron runtime catches an unhandled exception in any endpoint or process provided there is a source message to capture • When the Audit Step’s action property is set to Failure.
  • 14. Monitoring Neuron ESB Message Viewer • Messages can be republished as a selected party to a specific topic that party has access to • Messages can be republished to a topic or directly to an endpoint
  • 15. Monitoring Neuron ESB “Republishing failed” messages to the same topic may not always be the best option. Especially if the message was audited after a business process has already been run on the message. • Republish to a new topic that does not have an attached business process • Republish to an Error topic that Routes the message to the correct Topic based on the Neuron Topic Property • Republish directly to an endpoint that is the original recipient of the message • If the business process audits the original message, and not the message as it looks after processing, you can publish back to the original topic Strategies for Republishing Messages
  • 16. Message History and Viewing : Demo Purpose: To familiarize users with the Message Viewer and Failed Message Viewer in the Neuron ESB Explorer Objectives: To acquaint users with the following: • View audited messages • View failed messages • Inspect message properties • Republish messages
  • 17. Monitoring Neuron ESB Active Session Reporting • Displays information per party about activity performed by that party • Displays multiple instances of the party, if the party has subscriptions to multiple topics • Displays information about applications remotely connected to the bus via the Neuron Client API
  • 18. Active Session Reporting : Demo Purpose: To familiarize users with active session reporting in the Neuron ESB Explorer Objectives: To acquaint users with the following: • Active session report screen • Running active session reports
  • 19. Monitoring Neuron ESB Endpoint Health • Displays information about endpoints registered with Neuron ESB • Endpoints can be stopped or restarted • If an endpoint is configured for multiple machines, it can be stopped or restarted on the current machine, or on all machines that it is configured to run on • Endpoint hosts can be started and stopped in the same way as other endpoints
  • 20. Endpoint Health : Demo Purpose: To familiarize users with Endpoint Health in the Neuron ESB Explorer Objectives: To acquaint users with the following: • Monitoring endpoint health • Stopping a running service • Starting a stopped service
  • 21. Monitoring Neuron ESB Windows Management Instrumentation (WMI) • WMI is a set of specifications from Microsoft for consolidating the management of devices and applications in a network from Windows computing systems. • It provides users with information about status of local or remote computer systems through events and performance counters. • Neuron ESB uses WMI to expose performance metrics, which can be consumed by third-party tools, for reporting and monitoring purposes • Zones, in the Deployment section of the Neuron ESB Explorer, has two settings for performance counters
  • 22. Monitoring Neuron ESB Windows Management Instrumentation (WMI) • Neuron ESB also uses WMI events to allow for monitoring of Neuron ESB using tools that subscribe to these WMI events • Failed Message events • Failed message events receive a copy of the failed message • Endpoint status change events • An application which monitors WMI events can be used to subscribe to events raised by Neuron ESB
  • 23. Monitoring Neuron ESB Windows Management Instrumentation (WMI) • In order to use WMI events and performance counters in Neuron ESB, you must have installed the ESB service Management Objects when initially installing Neuron ESB • If you did not install the ESB Service Management Objects during the initial installation of Neuron ESB, you can use the Powershell scripts provided by Neuron ESB to do so
  • 24. Windows Management Instrumentation : Demo Purpose: To familiarize users with WMI performance counters and events in relation to Neuron ESB. Objectives: To acquaint users with the following: • Configuring Party and Topic / Endpoint performance counters • View WMI performance counters
  • 25. Monitoring Neuron ESB REST API Provides a REST API for information regarding the Neuron instance • API functions are broken up into 5 categories • Activity • Configuration • Deployment • Endpoint Health • Runtime • Allows users to perform actions without needing access to the Neuron ESB Explorer • Provides the ability to make minor modifications to the configuration for a given instance of Neuron ESB.
  • 26. Monitoring Neuron ESB : Lab Purpose: To acquaint users with topic level auditing, as well as how to view audited messages in the Message History report Objectives: • Enable topic level Auditing • Send a message on the topic • View the audited message in the Message History report
  • 27. Monitoring Neuron ESB Review • Topic level auditing can be used to capture all messages sent across a topic, both on publish and on receive. • “Use verbose details when auditing message failures” and “Audit messages asynchronously” affect the audit process step in business processes. • Active Session Reporting provides information on all endpoints connected to the Neuron ESB instance. • Endpoint Health can be monitored via the Neuron ESB Explorer and the Neuron ESB REST API and provides a detailed view of the current state of the Neuron ESB endpoints. • Message can be republished via the Message History and Failed Messages Report • Messages can be republished to Topics or directly to an Endpoint

Editor's Notes

  1. In this course you will learn more about auditing in Neuron ESB as well a how to monitor your Neuron ESB installation. We will take a look at topic level auditing and compare it to process level auditing as a means to capture messages. We will go over the message history and failed messages report, where audited messages can be found in the Neuron ESB explorer, and learn how to use them to view and republish messages that have been captured by Neuron ESB. We will take a look at how to monitor your Neuron ESB installation, from connected applications to the various endpoints that are in your Neuron ESB solution, through Active Sessions reporting and the Endpoint Health monitor, and discuss the differences between these two forms of monitoring. You will learn how to use Neuron ESB WMI events and performance counters, and finally we will take a look at the Neuron ESB REST API and how it can be used to manage and monitor certain aspects of your Neuron ESB solution and installation.
  2. To facilitate our goals, this lesson has been broken down into six sections to help organize the information that is being presented. Those sections are Auditing, where we will take a look at topic level auditing and compare it to process level auditing. Audited Messages, where we will look at the Message History and Failed Messages reports, the message viewer and republishing strategies for messages that need to be replayed via Neuron ESB. Active Sessions reporting, where we will take a look at the Active Sessions report and understand what information it provides to the user. Endpoint Health, where we learn how to monitor and manage endpoints inside Neuron ESB. WMI, where we will take a look at how to use the WMI events in Neuron ESB as well as the performance counters that Neuron ESB exposes. Neuron ESB REST API, where we will look at the REST API that Neuron ESB provides and learn what functionality it allows users to manage or monitor.
  3. Topic level auditing instructs Neuron ESB to audit all messages that are sent or received on a specific topic. With topic level auditing turned on, any message sent across that topic will be audited both when it is sent by the publisher and when it is received by the subscriber. This means that one message flowing across the bus will result in two messages being audited. Topic level auditing is configured via the auditing tab on a topic, and requires that a Neuron ESB database in configured for use.
  4. As topic level auditing captures every message sent or received by parties on a topic, it is primarily used in debug scenarios where one might need to retain a copy of every message in a transaction. It is not a recommended auditing strategy for production use, as it results in numerous unnecessary messages being audited to the Neuron ESB database. Process level auditing on the other hand is perfect for production as it allows Neuron ESB only to capture messages in accordance with business logic, making all audited messages pertinent to some business flow. Whether those be messages that have had an error while being processed, or messages where a confirmation of send or receive need to be captured, this form of auditing provides only messages that the company has deemed valuable and in need of capture.
  5. Message history provides users with all messages audited in Neuron ESB that were not marked as failures during the audit process. Here users can see messages that were sent or received with out errors, either captured by topic level auditing or process level auditing, and filter through those messages based on a variety of criteria such as Topic, Data, Maximum Number of records and many more using the filter dialog. Right clicking on a message record allows the users to view the message using the message viewer which will discuss later in this presentation, save the message to disk, view any related messages or delete the message from the Neuron ESB database.
  6. Failed Messages provides users with the same functionality as Message History. However, the messages contained in this report are only those that were marked as failures when they were audited to the Neuron ESB database. Like Message History users can filter through those messages based on a variety of criteria such as Topic, Data, Maximum Number of records and many more using the filter dialog. And Right clicking on a message record allows the users to view the message using the message viewer, save the message to disk, view any related messages or delete the message from the Neuron ESB database.
  7. The filter dialog, for both the Message History and Failed Messages reports, allows users to filter messages on a variety of criteria. Users can filter messages on Neuron specific properties such as Topic, Semantic or Instance, as well as custom properties that were attached to the message. The filter dialog supports And / Or, to allow users to find the exact messages they want by combining different filtering critera.
  8. The message viewer provides users with a snapshot of the audited message. It provides users access to the message body, the Neuron properties for the message and even the custom properties that were attached to the message. From here users can view every aspect of the message as well as republish the message, should it need to be replayed, or save it to disk. Back in the Repository lesson we talked about how saving messages into the Repository to use in testing was a good practice to get into. The ability to copy the message, or save it to disk, from the message viewer can help facilitate that. For example: A message is sent via CRM to Neuron ESB, where it then must proceed through a business process before being passed on to the proper recipients of that message. In order to test the business process during design time you will need a copy of the message that was sent by CRM. Using topic level auditing we can capture the message as it comes into Neuron ESB via the publisher. Once we locate the message in the Message History report, we can then open the message viewer to look at he message. Does the message contain custom properties? If not then we can just copy the message and paste it into the Repository for storage and then use that when we need to test the business process. If it does, we can save the message to disk instead, and then load the message from disk when testing the business process in order to retain the custom properties.
  9. The message viewer for messages captured in the Failed Messages report is very similar to the one for messages captured in the Message History report. The main difference is that for messages captured in the Failed Messages report, the error associated with the message is also displayed. The date of the error, the type of error that was thrown, and the error message are all captured by Neuron ESB and displayed in this viewer for users to see. This can tell a user why a particular message failed without the need to go to the log files, or debug through a process in order to determine what the cause was. Remember a failed message can be generated not just by a business process, but also when a policy is set to send messages to the database after retries are exhausted, or when the Neuron runtime catches an unhandled exception in any endpoint or process.
  10. From the message viewer, both the one associated with successful messages and the on associated with failed messages, users can republish a message to Neuron ESB. Messages can be republished to a specific topic as a specific party. Going back to our example from earlier, if CRM is sending a message to Neuron ESB and I have captured that message and used it to develop a business process, I may want to test that business process at runtime, rather than design time, but not have to reissue it from CRM. I can use the republish aspect of the message viewer to achieve this by sending the message on the original topic, and telling Neuron to do so as the party that CRM is associated with. Messages can also be delivered to specific endpoint directly. For example, if a message has been transformed via a business process and was unable to be delivered to a service endpoint because it was down, once the endpoint came back up there would be no point republishing it to the topic as a party. The message is now in a different format than what is expected by the business process, and going through the business process again would be superfluous. Sending the message directly to the endpoint would complete the intended transaction.
  11. Knowing what the republishing strategy is for your company is important as that will play a large role in determining the auditing strategy for your Neuron ESB solution. Messages can be republished a variety of ways, to ensure that they get to the correct destination. If a message has already been through a business process it can be republished to a topic that does not have a business process attached, but uses the same publishers and subscribers. This would not be the most ideal scenario, as it would require your solution to have a two topics for every business flow, one with a process and one without, effectively doubling the size of your solution. Having an error topic to republish to, which uses the Neuron Topic property to send messages back to their original topic, is another strategy for republishing. This will allow you to send all messages to a single topic which will dynamically route them to the correct topic, no need for the user to know where it was supposed to go. However, this has it draw backs as well, since a message that has already been transformed by a business process cannot go back through that business process as second time. Republishing a message directly to and endpoint is a good strategy for messages that have been through a business process and are already in the format that the endpoint requires. Normally this situation occurs when the endpoint was down and needed to be brought back up for the message to be delivered. Having the business process audit the original form of the message, rather than the transformed form, is usually the best option. This can then be used in conjunction with re-publishing directly to an endpoint to form a complete re-publishing strategy. If the message cannot be handed directly to the endpoint you can republish it to the original topic as the original party, and it will go through the business process as if it was just delivered. If the message is done processing and just needs to be delivered to the endpoint then you can hand it off directly. Using these two strategies together provides you full coverage and set plan as to how, when and to where you are going to republish, and a proper audit strategy can be formed with that in mind.
  12. Active session reporting provides you an overview of every party that is currently connected to the Neuron ESB instance. This includes not only parties being hosted by Neuron ESB endpoints such as service and adapter endpoints, but also remotely connected parties such as .NET applications using the Neuron Client API. Active session reporting shows a unique instance of a party for every endpoint using it and connected to the Neuron ESB instance. This means that if there are 6 instances of a service endpoint running, all with the same party, there will be 6 records of that party shown in active session reporting.
  13. Endpoint health provides you a detailed overview of every endpoint hosted by Neuron ESB in a Neuron ESB endpoint host. This means that service endpoints, adapter endpoints and workflow endpoints will all appear in endpoint health. However, applications using the Neuron Client API will not appear here as they are not Neuron managed endpoints hosted by Neuron ESB’s endpoint hosts. Endpoint health provides information about the topics in your solution, such as the rate of messages being published or received by the endpoint. How many messages the topic has processed since the last time the instance was recycled. How many errors or warnings have occurred on the topic since the last time it was recycled. Endpoints on the other hand provide a bit more information, such as how many messages are actively being processed by the endpoint, how many messages are pending on the endpoint or have been completed by the endpoint. Are there any messages that have been aborted due to errors or suspended because of a fault? As well as how many warnings or errors have occurred on the endpoint since last it was recycled. Not only does endpoint health provide you with information about the status of the endpoint over a period of time, but it also enables you to manage the endpoints. You can stop or restart an endpoint, either on the current machine or on all machines in which your solution is running. You can clear out the errors and warnings for the solution, using the Clear Panel button, to reset the counts back to zero, if you are looking to get current metrics and you can even change how often endpoint health refreshes the information that it is providing (by default it refreshes every 10 seconds) through the Tools -> Options menu selections.
  14. WMI is a set of specifications from Microsoft for consolidating the management of devices and application in a network on Windows computing systems. Neuron ESB makes use of WMI by providing information about the status of local or remote system through the use of events and performance counters. WMI supports properties, events and methods on top of classes of objects provided by other systems such as Simple Management Network Protocol (SNMP) as well as a more powerful query language which makes it more powerful and able to provide a better picture of the state of the systems operating within the enterprise. Control of WMI performance counters can be found on the Server tab of the Zones option under the Deployment tab of the Neuron ESB Explorer. From here you can choose to use counter for Neuron ESB parties as well as topics and endpoints. (https://docs.microsoft.com/en-us/windows/desktop/wmisdk/about-wmi)
  15. Neuron exposes a number of performance counters via WMI, such as errors and warnings, message rates, failed messages (with a copy of the Neuron ESB Message that failed), status changes in endpoints of the Neuron ESB solution running on the Neuron ESB instance. These performance counters can be monitored by any application capable of monitoring WMI events, such as Performance Monitor in Windows.
  16. In order to make use of WMI in Neuron ESB you must ensure that the ESB Service Management Objects were installed when installing Neuron ESB on a system. While this option is selected by default it is possible, though highly discouraged, to unselect it at the time of install. If you are not sure whether or not the ESB Service Management Objects were installed on the system, you can use the PowerShell scripts provided by Neuron ESB to install them. These scripts are located in <Neuron ESB Root install location>/Neuron ESB v3/PowerShell. Run the CreateManagementObjects script followed by the RegisterwmiEvents script to ensure that WMI events are installed properly on your system.
  17. The Neuron ESB REST API provides information on the Neuron ESB instance as well as the ability to make changes or manage the functionality of the Neuron ESB instance. The REST API, which we will look at in depth in the next demo, breaks API functions into 5 categories (Activity, Configuration, Deployment, Endpoint Health and Runtime) with each section providing functionality specific to that particular category. This REST API makes it possible for employees such as Dev Ops to manage and work with the Neuron ESB solution and Instance without giving them full access to the Neuron ESB Explorer.