SlideShare a Scribd company logo
1 of 30
Download to read offline
On-board diagnostics
Monitoring with ZABBIX
2
What is
• Open-Source Monitoring Tool
• Enterprise level – Scale? Not a problem!
• Universal and Flexible
• Distributed monitoring – Zabbix is everywhere!
• Collect – React – Store - Visualize
3
4
What to monitor?
5
Most Common Answers
6
But are we limited to that?
7
Not at all!
We just have to…
8
Examples from real life
• Smart office monitoring (Even if it’s not very smart..)
• Collect Humidity data from your plants
• Get notified about discounts in your favorite store
• Industrial machinery
• Even On-board Diagnostics monitoring ☺
9
On-board Diagnostics (OBD)
• Automotive term referring to vehicle's self-diagnostic and
reporting capability
• Amount of diagnostic information that is available has varied
widely since it’s introduction in the early 1080s
• Modern OBD implementations use a standardized digital
communications port to provide real-time data in addition to
standard series of diagnostic trouble codes (DTC)
10
OBD Versioning
• ALDL ( Assambly Line Diagnostic Link – GM proprietary onboard
diagnostic interface that started with the late 1970s )
• M-OBD (Multiplex OBD variant protocol used by Toyota, prior
to OBD-II compliance)
• OBD-I ( DTC over DLC-Diagnostic link connector )
• OBD-1.5 ( Partial implementation of OBD-II )
• OBD-II ( Electronic signaling and messaging format available )
11
In simple words
12
What we usually do?
13
How do our dash know that
engine is gone?
14
How to get data?
It is basically not possible to gather data directly from ECU to
ZABBIX. Therefore, the gateway is required. Fortunately, it is
already made!
15
ELM327
• ELM327 is a programmed microcontroller produced by ELM
Electronics for translating the OBD interface.
• ELM327 command protocol is one of the most popular PC-to-
OBD interface standards
• Original ELM327 is implemented on the PIC18F2480
microcontroller
16
ELM327
• The ELM327 abstracts the low-level protocol and presents a
simple interface that can be called via UART, typically by a
hand-held diagnostic tool or a computer program connected by
USB, RS-232, Bluetooth or WiFi.
• New applications include smartphones.
17
And what exactly can we do?
• Receive Diagnostic Trouble Codes (DTC)
• Live data from vehicle sensors
• Clear stored DTCs
18
Let’s grab that data!
• https://python-obd.readthedocs.io (GNU General Public License V2)
19
Time for
• Do we need some new – not yet created functionality to
perform this monitoring?
• Do we need expertise knowledge?
• Do we need never ending scripts and continuous support of
developers?
20
Time for
Gather the data from ECU through ELM327 with Python
21
Time for
• Use Zabbix-sender in wrapper to send received data to the
Zabbix trapper items
• Limit trapper items to receive data only from specified IP
address
• Send data faster than every second
22
Time for
• Every data from library comes with its definition.
• Use Pre-Processing to extract only digit from value.
• Use “Custom on Fail” for continues workflow even in case of failed check
• Applications for logical grouping of items
23
Time for
Visualize the data
24
Time for
Triggers? You decide!
• Average speed higher than acceptable
• Engine temperature is higher than it should be
• DTC Registered on ECU
• Requested / Actual reading differs more then X
• Different notification and escalation options
25
Time for
One Car per Zabbix server? No! Use Zabbix proxies!
• Lightweight and ready for embedded devices
• Database to store backlog
• Choose direction of connection (Active/Passive)
• Centralized configuration
• Official packages for Raspbian
26
Time for
How many proxies can you have? As many as you need!
ZABBIX
SERVER
1
3
2
4
5
5
6
7
8
9
27
Time for
How to install ZABBIX in car?
• Easy to use
• Low power consumption
• Possibility to extend
• Official ZABBIX packages
28
Time for
Need more data? Add sensors!
• GPS
• Movement sensor
• Tilt sensor
• Smoke sensor
29
Conclusion
• Why ?
• Problems
• Worth it?
• Expensive?
• Complicated?
• ZABBIX?
QUESTIONS?
THANK YOU!

More Related Content

What's hot

Rslogix5000v20externalppt 120113145710-phpapp02
Rslogix5000v20externalppt 120113145710-phpapp02Rslogix5000v20externalppt 120113145710-phpapp02
Rslogix5000v20externalppt 120113145710-phpapp02dawood24
 
CyberReef Offerings
CyberReef OfferingsCyberReef Offerings
CyberReef OfferingsMike Mount
 
Can’t Wait for 2020: Future-Proof Your Grid Today
Can’t Wait for 2020: Future-Proof Your Grid TodayCan’t Wait for 2020: Future-Proof Your Grid Today
Can’t Wait for 2020: Future-Proof Your Grid TodayEchelon Corporation
 
Audio Visual Control Systems
Audio Visual Control SystemsAudio Visual Control Systems
Audio Visual Control Systemssonn jita
 
Flow Data Acquisition Presentation
Flow Data Acquisition PresentationFlow Data Acquisition Presentation
Flow Data Acquisition PresentationNicholas Chapman
 
Standardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-VStandardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-VRISC-V International
 
ThingsBoard - Open-source IoT Platform
ThingsBoard - Open-source IoT PlatformThingsBoard - Open-source IoT Platform
ThingsBoard - Open-source IoT Platformaliali1391
 
Moxa iologik 2242 brochure
Moxa iologik 2242 brochureMoxa iologik 2242 brochure
Moxa iologik 2242 brochuresamu753
 
OWASP Poland Day 2018 - Dani Ramirez - IPMI hacking
OWASP Poland Day 2018 - Dani Ramirez - IPMI hackingOWASP Poland Day 2018 - Dani Ramirez - IPMI hacking
OWASP Poland Day 2018 - Dani Ramirez - IPMI hackingOWASP
 
MIPI DevCon 2016: MIPI in Automotive
MIPI DevCon 2016: MIPI in AutomotiveMIPI DevCon 2016: MIPI in Automotive
MIPI DevCon 2016: MIPI in AutomotiveMIPI Alliance
 
LTE Network Automation Under Threat
LTE Network Automation Under ThreatLTE Network Automation Under Threat
LTE Network Automation Under ThreatPriyanka Aash
 
Regulators learning to play with others
Regulators  learning to play with othersRegulators  learning to play with others
Regulators learning to play with othersMark Brown
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project PresentationMostafa Elhoushi
 
MIPI DevCon 2016: MIPI Mobile Touch Specification
MIPI DevCon 2016: MIPI Mobile Touch SpecificationMIPI DevCon 2016: MIPI Mobile Touch Specification
MIPI DevCon 2016: MIPI Mobile Touch SpecificationMIPI Alliance
 
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...MIPI Alliance
 
10 Reasons to use the Renesas TPS-1 PROFINET solution kit
10 Reasons to use the Renesas TPS-1 PROFINET solution kit10 Reasons to use the Renesas TPS-1 PROFINET solution kit
10 Reasons to use the Renesas TPS-1 PROFINET solution kitRenesas Electronics Corporation
 

What's hot (20)

Rslogix5000v20externalppt 120113145710-phpapp02
Rslogix5000v20externalppt 120113145710-phpapp02Rslogix5000v20externalppt 120113145710-phpapp02
Rslogix5000v20externalppt 120113145710-phpapp02
 
CyberReef Offerings
CyberReef OfferingsCyberReef Offerings
CyberReef Offerings
 
Can’t Wait for 2020: Future-Proof Your Grid Today
Can’t Wait for 2020: Future-Proof Your Grid TodayCan’t Wait for 2020: Future-Proof Your Grid Today
Can’t Wait for 2020: Future-Proof Your Grid Today
 
Audio Visual Control Systems
Audio Visual Control SystemsAudio Visual Control Systems
Audio Visual Control Systems
 
Flow Data Acquisition Presentation
Flow Data Acquisition PresentationFlow Data Acquisition Presentation
Flow Data Acquisition Presentation
 
iCAM
iCAMiCAM
iCAM
 
Standardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-VStandardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-V
 
ThingsBoard - Open-source IoT Platform
ThingsBoard - Open-source IoT PlatformThingsBoard - Open-source IoT Platform
ThingsBoard - Open-source IoT Platform
 
Moxa iologik 2242 brochure
Moxa iologik 2242 brochureMoxa iologik 2242 brochure
Moxa iologik 2242 brochure
 
OWASP Poland Day 2018 - Dani Ramirez - IPMI hacking
OWASP Poland Day 2018 - Dani Ramirez - IPMI hackingOWASP Poland Day 2018 - Dani Ramirez - IPMI hacking
OWASP Poland Day 2018 - Dani Ramirez - IPMI hacking
 
MIPI DevCon 2016: MIPI in Automotive
MIPI DevCon 2016: MIPI in AutomotiveMIPI DevCon 2016: MIPI in Automotive
MIPI DevCon 2016: MIPI in Automotive
 
LTE Network Automation Under Threat
LTE Network Automation Under ThreatLTE Network Automation Under Threat
LTE Network Automation Under Threat
 
Regulators learning to play with others
Regulators  learning to play with othersRegulators  learning to play with others
Regulators learning to play with others
 
Rfs4000 product snapshot
Rfs4000 product snapshotRfs4000 product snapshot
Rfs4000 product snapshot
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project Presentation
 
MIPI DevCon 2016: MIPI Mobile Touch Specification
MIPI DevCon 2016: MIPI Mobile Touch SpecificationMIPI DevCon 2016: MIPI Mobile Touch Specification
MIPI DevCon 2016: MIPI Mobile Touch Specification
 
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...
MIPI DevCon 2016: Mobile System Sideband GPIO Minimization and Secondary IPC ...
 
Factory talk activation customer
Factory talk activation customerFactory talk activation customer
Factory talk activation customer
 
10 Reasons to use the Renesas TPS-1 PROFINET solution kit
10 Reasons to use the Renesas TPS-1 PROFINET solution kit10 Reasons to use the Renesas TPS-1 PROFINET solution kit
10 Reasons to use the Renesas TPS-1 PROFINET solution kit
 
MarsBoard - NXP IMX6 Processor
MarsBoard - NXP IMX6 ProcessorMarsBoard - NXP IMX6 Processor
MarsBoard - NXP IMX6 Processor
 

Similar to OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitry Lambert

Asia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-canAsia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-caninjenerzntu
 
Embedded Systems Design and Programming & Internet of Things
Embedded Systems Design and Programming & Internet of ThingsEmbedded Systems Design and Programming & Internet of Things
Embedded Systems Design and Programming & Internet of ThingsVasundhara Sharma
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA SystemInductive Automation
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA SystemInductive Automation
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introductionSagar Adroja
 
Embedded Systems Introduction
Embedded Systems IntroductionEmbedded Systems Introduction
Embedded Systems IntroductionSagar Adroja
 
Basic Knowledge of DCS.pdf
Basic Knowledge of DCS.pdfBasic Knowledge of DCS.pdf
Basic Knowledge of DCS.pdfssuser5ef56d
 
TMSLF2407 DSP Controller
TMSLF2407 DSP ControllerTMSLF2407 DSP Controller
TMSLF2407 DSP ControllerANIRUDDHMAINI1
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaNicolas Lesconnec
 
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...InfluxData
 
39245175 intro-es-ii
39245175 intro-es-ii39245175 intro-es-ii
39245175 intro-es-iiEmbeddedbvp
 
HOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxHOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxKhanArshidIqbal
 
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hacked
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hackedDEF CON 27 - XIAOHUIHUI - all the 4g modules could be hacked
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hackedFelipe Prado
 
Software Architecture For Condition Monitoring Of Mobile Underground
Software Architecture For Condition Monitoring Of Mobile UndergroundSoftware Architecture For Condition Monitoring Of Mobile Underground
Software Architecture For Condition Monitoring Of Mobile UndergroundJordan McBain
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaAbhishekSharma2517
 
Deterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsDeterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsPablo Ghiglino
 

Similar to OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitry Lambert (20)

Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Asia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-canAsia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-can
 
Chapter 1-1.pptx
Chapter 1-1.pptxChapter 1-1.pptx
Chapter 1-1.pptx
 
Embedded Systems Design and Programming & Internet of Things
Embedded Systems Design and Programming & Internet of ThingsEmbedded Systems Design and Programming & Internet of Things
Embedded Systems Design and Programming & Internet of Things
 
SIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - MadridSIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - Madrid
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Embedded Systems Introduction
Embedded Systems IntroductionEmbedded Systems Introduction
Embedded Systems Introduction
 
IOT Exploitation
IOT Exploitation	IOT Exploitation
IOT Exploitation
 
Basic Knowledge of DCS.pdf
Basic Knowledge of DCS.pdfBasic Knowledge of DCS.pdf
Basic Knowledge of DCS.pdf
 
TMSLF2407 DSP Controller
TMSLF2407 DSP ControllerTMSLF2407 DSP Controller
TMSLF2407 DSP Controller
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
 
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...
How Olympus Controls Automates Predictive Maintenance with Telit, MQTT and In...
 
39245175 intro-es-ii
39245175 intro-es-ii39245175 intro-es-ii
39245175 intro-es-ii
 
HOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxHOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptx
 
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hacked
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hackedDEF CON 27 - XIAOHUIHUI - all the 4g modules could be hacked
DEF CON 27 - XIAOHUIHUI - all the 4g modules could be hacked
 
Software Architecture For Condition Monitoring Of Mobile Underground
Software Architecture For Condition Monitoring Of Mobile UndergroundSoftware Architecture For Condition Monitoring Of Mobile Underground
Software Architecture For Condition Monitoring Of Mobile Underground
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharma
 
Deterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsDeterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSats
 

Recently uploaded

The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationElement34
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfMehmet Akar
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAShane Coughlan
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024MulesoftMunichMeetup
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?NYGGS Automation Suite
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Gáspár Nagy
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMarkus Moeller
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIInflectra
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfSrushith Repakula
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Chirag Panchal
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Andreas Granig
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Soroosh Khodami
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabbereGrabber
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletAndrea Goulet
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)Roberto Bettazzoni
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acreskasambamuno
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdftimtebeek1
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfICS
 
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...CloudMetic
 

Recently uploaded (20)

The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
 

OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitry Lambert

  • 2. 2 What is • Open-Source Monitoring Tool • Enterprise level – Scale? Not a problem! • Universal and Flexible • Distributed monitoring – Zabbix is everywhere! • Collect – React – Store - Visualize
  • 3. 3
  • 6. 6 But are we limited to that?
  • 7. 7 Not at all! We just have to…
  • 8. 8 Examples from real life • Smart office monitoring (Even if it’s not very smart..) • Collect Humidity data from your plants • Get notified about discounts in your favorite store • Industrial machinery • Even On-board Diagnostics monitoring ☺
  • 9. 9 On-board Diagnostics (OBD) • Automotive term referring to vehicle's self-diagnostic and reporting capability • Amount of diagnostic information that is available has varied widely since it’s introduction in the early 1080s • Modern OBD implementations use a standardized digital communications port to provide real-time data in addition to standard series of diagnostic trouble codes (DTC)
  • 10. 10 OBD Versioning • ALDL ( Assambly Line Diagnostic Link – GM proprietary onboard diagnostic interface that started with the late 1970s ) • M-OBD (Multiplex OBD variant protocol used by Toyota, prior to OBD-II compliance) • OBD-I ( DTC over DLC-Diagnostic link connector ) • OBD-1.5 ( Partial implementation of OBD-II ) • OBD-II ( Electronic signaling and messaging format available )
  • 13. 13 How do our dash know that engine is gone?
  • 14. 14 How to get data? It is basically not possible to gather data directly from ECU to ZABBIX. Therefore, the gateway is required. Fortunately, it is already made!
  • 15. 15 ELM327 • ELM327 is a programmed microcontroller produced by ELM Electronics for translating the OBD interface. • ELM327 command protocol is one of the most popular PC-to- OBD interface standards • Original ELM327 is implemented on the PIC18F2480 microcontroller
  • 16. 16 ELM327 • The ELM327 abstracts the low-level protocol and presents a simple interface that can be called via UART, typically by a hand-held diagnostic tool or a computer program connected by USB, RS-232, Bluetooth or WiFi. • New applications include smartphones.
  • 17. 17 And what exactly can we do? • Receive Diagnostic Trouble Codes (DTC) • Live data from vehicle sensors • Clear stored DTCs
  • 18. 18 Let’s grab that data! • https://python-obd.readthedocs.io (GNU General Public License V2)
  • 19. 19 Time for • Do we need some new – not yet created functionality to perform this monitoring? • Do we need expertise knowledge? • Do we need never ending scripts and continuous support of developers?
  • 20. 20 Time for Gather the data from ECU through ELM327 with Python
  • 21. 21 Time for • Use Zabbix-sender in wrapper to send received data to the Zabbix trapper items • Limit trapper items to receive data only from specified IP address • Send data faster than every second
  • 22. 22 Time for • Every data from library comes with its definition. • Use Pre-Processing to extract only digit from value. • Use “Custom on Fail” for continues workflow even in case of failed check • Applications for logical grouping of items
  • 24. 24 Time for Triggers? You decide! • Average speed higher than acceptable • Engine temperature is higher than it should be • DTC Registered on ECU • Requested / Actual reading differs more then X • Different notification and escalation options
  • 25. 25 Time for One Car per Zabbix server? No! Use Zabbix proxies! • Lightweight and ready for embedded devices • Database to store backlog • Choose direction of connection (Active/Passive) • Centralized configuration • Official packages for Raspbian
  • 26. 26 Time for How many proxies can you have? As many as you need! ZABBIX SERVER 1 3 2 4 5 5 6 7 8 9
  • 27. 27 Time for How to install ZABBIX in car? • Easy to use • Low power consumption • Possibility to extend • Official ZABBIX packages
  • 28. 28 Time for Need more data? Add sensors! • GPS • Movement sensor • Tilt sensor • Smoke sensor
  • 29. 29 Conclusion • Why ? • Problems • Worth it? • Expensive? • Complicated? • ZABBIX?