SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
Using Zabbix in an
IoT Architecture
...with the right hardware
Fabrizio Fantoni // Systematica
Presentation
Systematica is the tech subsidiary of Gruppo Finmatica
Developing and supporting software for Government and
Healthcare organizations.
Zabbix is used since 2009 to monitor systems and
applications deployed on our customers.
Fabrizio Fantoni
System Administrator and Zabbix Trainer
What is IoT ?
(Internet of Things)
IoT describe a new way to interact with things around us.
IoT is a “revolutionary evolution” beyond machine-to-machine
communications (M2M): it permits high connectivity of sensors,
devices and systems.
IoT is DATA, a huge amount of Data that can be use to take decisions.
Is IoT the future?
Different type of IoT
IoT is a technology used in two different ways
● IoT in Consumer marketplace
Mobile Phones, Bracelets, GPS, home automation etc…
● IoT in Industry and SmartCities
Energy Management, Industry Automation, Environment monitoring
Two different ways to use the same
technology, with different goals
IoT in Consumer MarketPlace
Many vendors in an extreme competitive market.
Lack of standards, every vendor has its technology and way
to use and analyze data.
A LOT of data to collect and analyze, a job for Big Data Analysts
and Data Scientists.
IoT for Industry and SmartCities
Mostly based on legacy and custom applications, it’s the new hot trend nowadays1
,
especially focused on Energy Management and Environment Monitor.
The technology chosen must be simple to install and integrate well with existing
devices.
One of the application of IoT in industry and SmartCities is to analyze where energy
is wasted to reduce cost and pollution.
1. https://en.wikipedia.org/wiki/Smart_city
https://en.wikipedia.org/wiki/Industry_4.0
The way we have chosen:
Industry and SmartCities
Consumer IoT is for big players who start from creating the device to the data
analysis (Google, Fitbit, Neurio, etc…).
People expect a simple way to interact with a device, don’t ask for customization
but choose the device by cost or fashion.
Industry and SmartCities want custom project, designed and ready to be
modified to satisfy new needs.
Data must be always available (OpenData) and exportable (Cost analysis,
accounting, etc…).
What Industry wants
It is preferable to be able to use existing sensors
Hardware used must work in a noisy
and dusty environment (no fan)
Is better if hardware can be fixed in a DIN slide inside a box
(no PC or caseless device)
The solution must work with minimal maintenance
Collected data may be available to be used for internal analysis
NO!
What SmartCities wants
Project must be modular, start small
and grow over time
The technology used is preferably to be
Open Source
Data must be readable and reusable (OpenData)
The software must be simple to use
and supported for a long time
Sensors in industry and SmartCities
The big part of sensors used in industry automation or environment monitoring
use a communication protocol called MODBUS.
Some sensor are based on SNMP, via ethernet or WiFi.
Other have proprietary way to collect data and a set of API to retrieve those.
A IoT gateway must be able to collect data in different ways.
Can Zabbix be use for it
YES
Can Zabbix be use for it
YES
But with the right hardware
Pros of Zabbix
● Distributed monitoring by proxy
To be able to create a network of (proxy) gateways and collect data in a safe place.
● Custom items
To pull data in different ways from different sensors (SNMP, MODBUS, scripts)
● Open Database schema
To extract data with common reports utility
● API
Integrate with other portal (ex: Grafana) and automatic configuration of hosts/items
● Low footprint for proxy and agent
Can be installed on small appliance
● Proxy run on Linux and require minimal configuration
Three challenges
1. ModBus protocol, what is it and how can I retrieve data?
2. Remote and easy configuration when sensors are
added/removed
3. Hardware of gateway must be usable in an industry
environment (no fan, protected case, ability to fix in a box)
ModBus
the standard of industry communication
https://it.wikipedia.org/wiki/Modbus
Used in many sensors, using only 2 or 4 wires (on RS485) and can be extend up to 1,2 Km.
From 1 up to 247 devices can be in a single cable line, every device can be polled for a lot of
numeric and string data.
Supported in zabbix by a loadable module: https://github.com/v-zhuravlev/libzbxmodbus
Remote configuration of gateway
A gateway is a embedded hardware who have Zabbix Proxy installed.
Using Zabbix Proxy on a gateway device allow to change configuration from
Zabbix Server when a new sensor is installed. No need to operate on gateway.
The configuration is stored on Zabbix Server. This enables us to simply change
gateway if it breaks.
Zabbix Proxy can cache data in case of communication problem.
Hardware used for gateway device
To be compliant with the needs of an industrial environment
we choose a modular product engineered and made in Italy:
The Gropius Multiutility Concentrator
Crafted by SinTau
http://www.sintau.it
Gateway Hardware description
The Gropius MUC is a MultiUtility Concentrator performing the following features:
● very high performances
● Linux based system
● Gigabit Ethernet
● Flash base Storage
● GPRS3G4G
● WiFi IEEE 802.11 gn
● RS485CANSPI
● PLC HomePlugAV, HomeGreenPHY,G3
Hardware is modular and expandable and compatible with Zabbix Proxy and Agent 3.0.
Gateway Hardware description
The main controller is based on an ARM processor running Linux Debian Embedded or OpenWRT.
The system is provided with 2 Gigabit Ethernet, RS485, CAN bus, USB.
A number of communication modules are available in order to increase the interface capability and
communication technologies.
6LowPAN @868 Mhz and DUST @2.4 Ghz are already available.
HGP and WMBUS #169/868 Mhz are under development.
Use case for Energy Management
A company wants to measure and analyze energy consumption of the headquarter,
distributed in two floors on the same building.
The building is separated in 9 different zones by electric fuse boxes.
Every fuse box has a Nemo D4-Le Multifunction Indicator, with Modbus output.
Using the ethernet cabling already present all the Multifunction Indicators was joined
in a single bus and connected to the Gropius Gateway, on the modbus RS-485 port.
Logic Schema
Every multimeters is connected on the same bus and configured with a different ModBus ID
The Gropius Gateway has the ModBus hardware module installed and Modbus Zabbix loadable
module compiled.
It’s configured as Zabbix Proxy on Zabbix Server
RS-485
Ethernet
ID 4 ID 2ID 3 ID 1
Zabbix
Server
Configuration on Zabbix Server
For every sensor an host is created and put under
Gropius Proxy monitoring
A template is linked to the host with a UserMacro
identifying the ModBus ID
Configuration on Zabbix Server
Items read the modbus registry of the measure*
*Look at the modbus module ReadMe for the items
key syntax.
Load modbus module on zabbix agent to test with zabbix_get utility:
root@gropius:~# zabbix_get -s localhost -kmodbus_read_registers["/dev/ttyS1 9600 N",9,0x1518,3,l,1,0]
Example of only lighting system power consumption (all fuse box).
As you can see the office opens at 7:30 and close at 20:30 after cleaning. It seems that at
19:30 people need more artificial light.
Latest Data
Same Data but with Grafana
Choosing the right sensor for the desired measures can be hard
Understand how to pull data from Modbus is another challenge, especially for people
like us who are used to work with snmp, agent or databases.
Connecting sensors to gateway is a problem, it needs wiring work and that is not
always feasible. Some new technology are out but need testing:
● 6LoWPAN
● DUST/WMBUS
Faced Challenge
What we learned
Zabbix is not only a great server and network monitoring solution, but it can be used
effectively in an IoT scenario.
The architecture of Zabbix let us use it in embedded devices and in distributed
monitoring simplifying a lot the deployment and configuration.
The API, the loadable modules and external check let us monitor everything and show
data in different ways.
Future project
The chosen technology is ready to be
use in any place where we need to
read remote measurements and put
in a single repository, ex. for billing
purpose.
● Water meter
● Gas meter
● Any meter
Thank you!
support.zabbix@ads.it / www.systematicasrl.it
www.sintau.it

Contenu connexe

Tendances

Introducing GitLab (June 2018)
Introducing GitLab (June 2018)Introducing GitLab (June 2018)
Introducing GitLab (June 2018)Noa Harel
 
Prometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring SystemPrometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring SystemFabian Reinartz
 
Gitlab ci, cncf.sk
Gitlab ci, cncf.skGitlab ci, cncf.sk
Gitlab ci, cncf.skJuraj Hantak
 
Introducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorIntroducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorFlink Forward
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance AnalysisBrendan Gregg
 
Building a fully managed stream processing platform on Flink at scale for Lin...
Building a fully managed stream processing platform on Flink at scale for Lin...Building a fully managed stream processing platform on Flink at scale for Lin...
Building a fully managed stream processing platform on Flink at scale for Lin...Flink Forward
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaArvind Kumar G.S
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf toolsBrendan Gregg
 
Coscup2021 open source network os for datacenter
Coscup2021  open source network os for datacenterCoscup2021  open source network os for datacenter
Coscup2021 open source network os for datacenterDung-Ru Tsai
 
The Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersThe Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersSATOSHI TAGOMORI
 
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training SessionIntroduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training SessionAnwarul Islam
 
Blazing Performance with Flame Graphs
Blazing Performance with Flame GraphsBlazing Performance with Flame Graphs
Blazing Performance with Flame GraphsBrendan Gregg
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introductionRico Chen
 
Splunk: Druid on Kubernetes with Druid-operator
Splunk: Druid on Kubernetes with Druid-operatorSplunk: Druid on Kubernetes with Druid-operator
Splunk: Druid on Kubernetes with Druid-operatorImply
 
Nagios XI Best Practices
Nagios XI Best PracticesNagios XI Best Practices
Nagios XI Best PracticesNagios
 
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootUnderstanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootKashif Ali Siddiqui
 
A Kafka journey and why migrate to Confluent Cloud?
A Kafka journey and why migrate to Confluent Cloud?A Kafka journey and why migrate to Confluent Cloud?
A Kafka journey and why migrate to Confluent Cloud?confluent
 
Real-time Data Streaming from Oracle to Apache Kafka
Real-time Data Streaming from Oracle to Apache Kafka Real-time Data Streaming from Oracle to Apache Kafka
Real-time Data Streaming from Oracle to Apache Kafka confluent
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeFlink Forward
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus OverviewBrian Brazil
 

Tendances (20)

Introducing GitLab (June 2018)
Introducing GitLab (June 2018)Introducing GitLab (June 2018)
Introducing GitLab (June 2018)
 
Prometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring SystemPrometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring System
 
Gitlab ci, cncf.sk
Gitlab ci, cncf.skGitlab ci, cncf.sk
Gitlab ci, cncf.sk
 
Introducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorIntroducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes Operator
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance Analysis
 
Building a fully managed stream processing platform on Flink at scale for Lin...
Building a fully managed stream processing platform on Flink at scale for Lin...Building a fully managed stream processing platform on Flink at scale for Lin...
Building a fully managed stream processing platform on Flink at scale for Lin...
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and Grafana
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf tools
 
Coscup2021 open source network os for datacenter
Coscup2021  open source network os for datacenterCoscup2021  open source network os for datacenter
Coscup2021 open source network os for datacenter
 
The Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersThe Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and Containers
 
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training SessionIntroduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training Session
 
Blazing Performance with Flame Graphs
Blazing Performance with Flame GraphsBlazing Performance with Flame Graphs
Blazing Performance with Flame Graphs
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introduction
 
Splunk: Druid on Kubernetes with Druid-operator
Splunk: Druid on Kubernetes with Druid-operatorSplunk: Druid on Kubernetes with Druid-operator
Splunk: Druid on Kubernetes with Druid-operator
 
Nagios XI Best Practices
Nagios XI Best PracticesNagios XI Best Practices
Nagios XI Best Practices
 
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootUnderstanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
 
A Kafka journey and why migrate to Confluent Cloud?
A Kafka journey and why migrate to Confluent Cloud?A Kafka journey and why migrate to Confluent Cloud?
A Kafka journey and why migrate to Confluent Cloud?
 
Real-time Data Streaming from Oracle to Apache Kafka
Real-time Data Streaming from Oracle to Apache Kafka Real-time Data Streaming from Oracle to Apache Kafka
Real-time Data Streaming from Oracle to Apache Kafka
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive Mode
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus Overview
 

Similaire à Using Zabbix in IoT Architecture

IRJET- Wireless Sensor Network Based Internet of things for Environmental...
IRJET-  	  Wireless Sensor Network Based Internet of things for Environmental...IRJET-  	  Wireless Sensor Network Based Internet of things for Environmental...
IRJET- Wireless Sensor Network Based Internet of things for Environmental...IRJET Journal
 
137.gsm, fprs ,keypad_based_atm_security_(doc)
137.gsm, fprs ,keypad_based_atm_security_(doc)137.gsm, fprs ,keypad_based_atm_security_(doc)
137.gsm, fprs ,keypad_based_atm_security_(doc)Karteek Irukulla
 
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...Mistral Solutions
 
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...IRJET Journal
 
WISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfWISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfilangoboopalan2
 
IoT ( M2M) - Big Data - Analytics: Emulation and Demonstration
IoT ( M2M) - Big Data - Analytics: Emulation and DemonstrationIoT ( M2M) - Big Data - Analytics: Emulation and Demonstration
IoT ( M2M) - Big Data - Analytics: Emulation and DemonstrationCHAKER ALLAOUI
 
Design and implementation of microcontroller in fpga for io t
Design and implementation of microcontroller in fpga for io tDesign and implementation of microcontroller in fpga for io t
Design and implementation of microcontroller in fpga for io tIJARIIT
 
Solar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSolar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSudipta Maity
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTIRJET Journal
 
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...Digital River
 
Office Automation & Attendance System using IoT
Office Automation & Attendance System using IoTOffice Automation & Attendance System using IoT
Office Automation & Attendance System using IoTIRJET Journal
 
Office Automation & Attendance System using IoT
Office Automation & Attendance System using IoTOffice Automation & Attendance System using IoT
Office Automation & Attendance System using IoTIRJET Journal
 
IRJET- Design and Implementation of Smart City using IoT
IRJET- Design and Implementation of Smart City using IoTIRJET- Design and Implementation of Smart City using IoT
IRJET- Design and Implementation of Smart City using IoTIRJET Journal
 
IoT Week 2021_Jens Hagemeyer presentation
IoT Week 2021_Jens Hagemeyer presentationIoT Week 2021_Jens Hagemeyer presentation
IoT Week 2021_Jens Hagemeyer presentationVEDLIoT Project
 
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...Athens IoT Meetup
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET Journal
 
IRJET- BSIOTR IT SMART LAB using IOT
IRJET- BSIOTR IT SMART LAB using IOTIRJET- BSIOTR IT SMART LAB using IOT
IRJET- BSIOTR IT SMART LAB using IOTIRJET Journal
 

Similaire à Using Zabbix in IoT Architecture (20)

IRJET- Wireless Sensor Network Based Internet of things for Environmental...
IRJET-  	  Wireless Sensor Network Based Internet of things for Environmental...IRJET-  	  Wireless Sensor Network Based Internet of things for Environmental...
IRJET- Wireless Sensor Network Based Internet of things for Environmental...
 
137.gsm, fprs ,keypad_based_atm_security_(doc)
137.gsm, fprs ,keypad_based_atm_security_(doc)137.gsm, fprs ,keypad_based_atm_security_(doc)
137.gsm, fprs ,keypad_based_atm_security_(doc)
 
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
 
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
 
WISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdfWISE-523x & WISE-224x-EN.pdf
WISE-523x & WISE-224x-EN.pdf
 
IoT ( M2M) - Big Data - Analytics: Emulation and Demonstration
IoT ( M2M) - Big Data - Analytics: Emulation and DemonstrationIoT ( M2M) - Big Data - Analytics: Emulation and Demonstration
IoT ( M2M) - Big Data - Analytics: Emulation and Demonstration
 
Design and implementation of microcontroller in fpga for io t
Design and implementation of microcontroller in fpga for io tDesign and implementation of microcontroller in fpga for io t
Design and implementation of microcontroller in fpga for io t
 
Solar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream TechnologiesSolar panel monitoring solution using IoT-Faststream Technologies
Solar panel monitoring solution using IoT-Faststream Technologies
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
 
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...
Moxa white paper---Embedded Computing for Industrial Embedded Computing for I...
 
Office Automation & Attendance System using IoT
Office Automation & Attendance System using IoTOffice Automation & Attendance System using IoT
Office Automation & Attendance System using IoT
 
Office Automation & Attendance System using IoT
Office Automation & Attendance System using IoTOffice Automation & Attendance System using IoT
Office Automation & Attendance System using IoT
 
IRJET- Design and Implementation of Smart City using IoT
IRJET- Design and Implementation of Smart City using IoTIRJET- Design and Implementation of Smart City using IoT
IRJET- Design and Implementation of Smart City using IoT
 
Beagle board
Beagle boardBeagle board
Beagle board
 
IoT Week 2021_Jens Hagemeyer presentation
IoT Week 2021_Jens Hagemeyer presentationIoT Week 2021_Jens Hagemeyer presentation
IoT Week 2021_Jens Hagemeyer presentation
 
Open source industrial IoT
Open source industrial IoTOpen source industrial IoT
Open source industrial IoT
 
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)
 
1.pptx
1.pptx1.pptx
1.pptx
 
IRJET- BSIOTR IT SMART LAB using IOT
IRJET- BSIOTR IT SMART LAB using IOTIRJET- BSIOTR IT SMART LAB using IOT
IRJET- BSIOTR IT SMART LAB using IOT
 

Dernier

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

Using Zabbix in IoT Architecture

  • 1. Using Zabbix in an IoT Architecture ...with the right hardware Fabrizio Fantoni // Systematica
  • 2. Presentation Systematica is the tech subsidiary of Gruppo Finmatica Developing and supporting software for Government and Healthcare organizations. Zabbix is used since 2009 to monitor systems and applications deployed on our customers. Fabrizio Fantoni System Administrator and Zabbix Trainer
  • 3. What is IoT ? (Internet of Things) IoT describe a new way to interact with things around us. IoT is a “revolutionary evolution” beyond machine-to-machine communications (M2M): it permits high connectivity of sensors, devices and systems. IoT is DATA, a huge amount of Data that can be use to take decisions.
  • 4. Is IoT the future?
  • 5. Different type of IoT IoT is a technology used in two different ways ● IoT in Consumer marketplace Mobile Phones, Bracelets, GPS, home automation etc… ● IoT in Industry and SmartCities Energy Management, Industry Automation, Environment monitoring
  • 6. Two different ways to use the same technology, with different goals
  • 7. IoT in Consumer MarketPlace Many vendors in an extreme competitive market. Lack of standards, every vendor has its technology and way to use and analyze data. A LOT of data to collect and analyze, a job for Big Data Analysts and Data Scientists.
  • 8. IoT for Industry and SmartCities Mostly based on legacy and custom applications, it’s the new hot trend nowadays1 , especially focused on Energy Management and Environment Monitor. The technology chosen must be simple to install and integrate well with existing devices. One of the application of IoT in industry and SmartCities is to analyze where energy is wasted to reduce cost and pollution. 1. https://en.wikipedia.org/wiki/Smart_city https://en.wikipedia.org/wiki/Industry_4.0
  • 9. The way we have chosen: Industry and SmartCities Consumer IoT is for big players who start from creating the device to the data analysis (Google, Fitbit, Neurio, etc…). People expect a simple way to interact with a device, don’t ask for customization but choose the device by cost or fashion. Industry and SmartCities want custom project, designed and ready to be modified to satisfy new needs. Data must be always available (OpenData) and exportable (Cost analysis, accounting, etc…).
  • 10. What Industry wants It is preferable to be able to use existing sensors Hardware used must work in a noisy and dusty environment (no fan) Is better if hardware can be fixed in a DIN slide inside a box (no PC or caseless device) The solution must work with minimal maintenance Collected data may be available to be used for internal analysis NO!
  • 11. What SmartCities wants Project must be modular, start small and grow over time The technology used is preferably to be Open Source Data must be readable and reusable (OpenData) The software must be simple to use and supported for a long time
  • 12. Sensors in industry and SmartCities The big part of sensors used in industry automation or environment monitoring use a communication protocol called MODBUS. Some sensor are based on SNMP, via ethernet or WiFi. Other have proprietary way to collect data and a set of API to retrieve those. A IoT gateway must be able to collect data in different ways.
  • 13. Can Zabbix be use for it YES
  • 14. Can Zabbix be use for it YES But with the right hardware
  • 15. Pros of Zabbix ● Distributed monitoring by proxy To be able to create a network of (proxy) gateways and collect data in a safe place. ● Custom items To pull data in different ways from different sensors (SNMP, MODBUS, scripts) ● Open Database schema To extract data with common reports utility ● API Integrate with other portal (ex: Grafana) and automatic configuration of hosts/items ● Low footprint for proxy and agent Can be installed on small appliance ● Proxy run on Linux and require minimal configuration
  • 16. Three challenges 1. ModBus protocol, what is it and how can I retrieve data? 2. Remote and easy configuration when sensors are added/removed 3. Hardware of gateway must be usable in an industry environment (no fan, protected case, ability to fix in a box)
  • 17. ModBus the standard of industry communication https://it.wikipedia.org/wiki/Modbus Used in many sensors, using only 2 or 4 wires (on RS485) and can be extend up to 1,2 Km. From 1 up to 247 devices can be in a single cable line, every device can be polled for a lot of numeric and string data. Supported in zabbix by a loadable module: https://github.com/v-zhuravlev/libzbxmodbus
  • 18. Remote configuration of gateway A gateway is a embedded hardware who have Zabbix Proxy installed. Using Zabbix Proxy on a gateway device allow to change configuration from Zabbix Server when a new sensor is installed. No need to operate on gateway. The configuration is stored on Zabbix Server. This enables us to simply change gateway if it breaks. Zabbix Proxy can cache data in case of communication problem.
  • 19. Hardware used for gateway device To be compliant with the needs of an industrial environment we choose a modular product engineered and made in Italy: The Gropius Multiutility Concentrator Crafted by SinTau http://www.sintau.it
  • 20. Gateway Hardware description The Gropius MUC is a MultiUtility Concentrator performing the following features: ● very high performances ● Linux based system ● Gigabit Ethernet ● Flash base Storage ● GPRS3G4G ● WiFi IEEE 802.11 gn ● RS485CANSPI ● PLC HomePlugAV, HomeGreenPHY,G3 Hardware is modular and expandable and compatible with Zabbix Proxy and Agent 3.0.
  • 21. Gateway Hardware description The main controller is based on an ARM processor running Linux Debian Embedded or OpenWRT. The system is provided with 2 Gigabit Ethernet, RS485, CAN bus, USB. A number of communication modules are available in order to increase the interface capability and communication technologies. 6LowPAN @868 Mhz and DUST @2.4 Ghz are already available. HGP and WMBUS #169/868 Mhz are under development.
  • 22. Use case for Energy Management A company wants to measure and analyze energy consumption of the headquarter, distributed in two floors on the same building. The building is separated in 9 different zones by electric fuse boxes. Every fuse box has a Nemo D4-Le Multifunction Indicator, with Modbus output. Using the ethernet cabling already present all the Multifunction Indicators was joined in a single bus and connected to the Gropius Gateway, on the modbus RS-485 port.
  • 23. Logic Schema Every multimeters is connected on the same bus and configured with a different ModBus ID The Gropius Gateway has the ModBus hardware module installed and Modbus Zabbix loadable module compiled. It’s configured as Zabbix Proxy on Zabbix Server RS-485 Ethernet ID 4 ID 2ID 3 ID 1 Zabbix Server
  • 24. Configuration on Zabbix Server For every sensor an host is created and put under Gropius Proxy monitoring A template is linked to the host with a UserMacro identifying the ModBus ID
  • 25. Configuration on Zabbix Server Items read the modbus registry of the measure* *Look at the modbus module ReadMe for the items key syntax. Load modbus module on zabbix agent to test with zabbix_get utility: root@gropius:~# zabbix_get -s localhost -kmodbus_read_registers["/dev/ttyS1 9600 N",9,0x1518,3,l,1,0]
  • 26. Example of only lighting system power consumption (all fuse box). As you can see the office opens at 7:30 and close at 20:30 after cleaning. It seems that at 19:30 people need more artificial light.
  • 28. Same Data but with Grafana
  • 29. Choosing the right sensor for the desired measures can be hard Understand how to pull data from Modbus is another challenge, especially for people like us who are used to work with snmp, agent or databases. Connecting sensors to gateway is a problem, it needs wiring work and that is not always feasible. Some new technology are out but need testing: ● 6LoWPAN ● DUST/WMBUS Faced Challenge
  • 30. What we learned Zabbix is not only a great server and network monitoring solution, but it can be used effectively in an IoT scenario. The architecture of Zabbix let us use it in embedded devices and in distributed monitoring simplifying a lot the deployment and configuration. The API, the loadable modules and external check let us monitor everything and show data in different ways.
  • 31. Future project The chosen technology is ready to be use in any place where we need to read remote measurements and put in a single repository, ex. for billing purpose. ● Water meter ● Gas meter ● Any meter
  • 32. Thank you! support.zabbix@ads.it / www.systematicasrl.it www.sintau.it