SlideShare a Scribd company logo
WHY YOU NEED IT AND HOW IT WORKS 
ZENALERT WHITEPAPER
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 2 
Index 
Why do I need ZenAlert? 3 
How it works: the Vital Signal 4 
Vital Signal: the code 5 
How it works: the Event Signal 6 
Event Signal: the code 7 
Console: manage things 8 
Console: alerts 9 
Data Collect 10 
Case Study #1: Monitor hundreds of PCs 12 
Case Study #2: Preserve food in restaurants and shops 13 
Case Study #3: Improve CRM for a technical support company 14 
Useful links 15
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 3 
WHY DO I NEED ZENALERT? 
How can I be sure that my program or my computer is doing what it should do exactly when it should do it? 
! 
This is one of those questions that we have always asked ourselves in information technology. 
! 
The most common solution is to write other programs, or add other computers, to check the ones we 
need to check. We then typically add additional safety systems such as Uninterruptible Power Supply 
groups and backup communication lines. The security thus improves a little, but then we often start 
worrying about the security of the controller: indeed, who controls the controller? 
! 
The advent of the "Internet of Things" further complicates the scenario. When we have to deal with "stupid" 
objects distributed in space or on the go, the "old ways" are really hard or impossible to implement. 
! 
Our intuition was to turn the model inside out. 
! 
ZenAlert uses the impossibility to communicate as its first ally in spotting problems.
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 4 
HOW IT WORKS: THE VITAL SIGNAL 
Your object, be it software, server, device or a "thing", will at regular intervals make an HTTP or HTTPS call 
to ZenAlert's platform. These calls are the object's heartbeats. We have dubbed them the "Vital Signal”. 
! 
Should ZenAlert not receive a call during a set time interval (by default, 5 minutes) the platform will send a 
notification to inform you. 
everything is OK the microcontroller is not communicating anymore
VITAL SIGNAL: THE CODE 
The implementation of the Vital Signal is very simple. Please take a look at this pseudo-code example. 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 5 
while (TRUE) { 
make_HttpCall(‘https://api.zenalert.com/signal? 
code=alive& 
thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& 
api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& 
description=I am alive 
‘) 
! 
wait(5 minutes) 
} 
code is the “alive” Vital Signal 
thing_id is the unique id that identifies your object 
api_key is your unique security key 
description is the message/text you can fill in
HOW IT WORKS: THE EVENT SIGNAL 
Your items can also send the platform HTTP or HTTPS calls related to a specific event. 
We have called these HTTP calls "Event Signals". 
! 
When the platform receives an Event Signal from one of your objects, it will send you a notification. 
everything is OK the PC is communicating an event 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 6
EVENT SIGNAL: THE CODE 
The implementation of an Event Signal is also very simple. Please take a look at the pseudo-code example. 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 7 
if (the_event_occurs) { 
! 
make_HttpCall(‘https://api.zenalert.com/signal? 
code=warning& 
thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& 
api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& 
description=hey, the_event has occurred! 
‘) 
} 
code is an Event code 
thing_id is the unique id that identifies your object 
api_key is your unique security key 
description is the message that you will receive in your notification
Call strings can be copied directly from the ZenAlert console https://www.zenalert.com 
and pasted into your code. 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 8 
CONSOLE: MANAGE THINGS 
create a new thing 
vital signal string 
event signal string
You can manage your active alerts and keep an eye on the status of your "things" in the “Alerts" section of 
the console. 
vital signal back 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 9 
CONSOLE: ALERTS 
Map controls 
Mark alert as 
“solved” 
vital signal missing 
event signal 
Filter alerts 
“by thing” and “by 
code” 
Automatic and 
manual reload of 
alerts
DATA COLLECT 
Both messages (Vital and Signal) can be used for data collection as well. You can add a list of key-value 
pairs, in JSON format, to the 'data' parameter in the HTTP call. Please take a look at the following pseudo-code 
code=alive& 
thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& 
api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& 
description=I am alive& 
data={“wind”:3,"temperature":30, “foo”:”footext”, … } 
’) 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 10 
example. 
while (TRUE) { 
make_HttpCall(‘https://api.zenalert.com/signal? 
! 
wait(5 minutes) 
} 
Collected data can currently be dowloaded from the Activities panel for the Thing. In the future, it 
will be possible to display them and analyze them directly on the website.
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 11 
APPLICATION EXAMPLES
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 12 
MONITOR HUNDREDS OF PCs 
Problem 
A company provides a digital signage service, i.e. a service that plays in-store music through media-player 
PCs for a retailer with more than a hundred stores. The schedules of the programs are 
generated in the central office and are then synchronized in real time with local stores throughout the 
national territory. How can the company be sure about the correct functioning of both the 
synchronization of the playlists and of the actual airing of the music? 
! 
Solution 
The technical staff of the company developed a simple application that places calls via HTTP (Vital and 
Event signal) to ZenAlert's platform in order to monitor all the hardware equipment and the software 
involved in the distribution chain, 24/7. 
! 
Results 
The adoption of ZenAlert allowed the company to automate the process of monitoring and sending 
alarm messages to promptly report critical events, allowing technicians to intervene before the playlist 
broadcast is compromised. ZenAlert integrates with any programming language thanks to ZenAlert's 
HTTP API. This means that the developers wrote the software they needed using the development 
tools they were already using, which made things simpler and more cost-effective.
PRESERVE FOOD IN RESTAURANTS & SHOPS 
Problem 
Restaurants and grocery stores use refrigerators to store and preserve food. If a power failure occurs 
when the restaurant is closed food can go bad resulting substantial economic losses. How can they 
be alerted of a power failure? 
Solution 
A simple Arduino Ethernet Board (http://arduino.cc/en/Main/ArduinoBoardEthernet) programmed with 
ZenAlert Health Monitor (open source code http://ow.ly/yr1C9), connected to the to the local network 
in the premises is all that is needed to perform this task by sending an HTTP call (Vital signal) to 
ZenAlert's platform. 
! 
Results 
As ZenAlert is free forever for the first thing you connect, the only cost incurred by the business is an 
Arduino board. In the event of a power failure, the owner of the business receives an alarm notification 
and can intervene before the food in the fridges goes bad. 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 13
IMPROVE CRM 
FOR A TECHNICAL SUPPORT COMPANY 
Problem 
An IT company provides technical assistance to professionals and businesses for ordinary 
maintenance issues of their PCs (full HDs, backup tools etc.) which are easy to predict but which, once 
they happen, can cause serious problems and waste precious time. Is it possible to monitor hundreds 
of PCs to improve the service and step in before the problems occur? 
! 
Solution 
Using the ZenAlert's client or implementing simple applications to be installed on their customers’ 
PCs, the IT company can develop a system of notifications which are sent directly to their technical 
team. 
! 
Results 
The IT company can improve the quality of the service they offer by being able to intervene before 
their customers experience issues. The IT company can also collect information that allows their 
technicians to assist their customers even remotely. 
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 14
ZenAlert.com - WhitePaper - Ver. 0.8 
www.zenalert.com - info@zenalert.com 15 
USEFUL LINKS 
Quick Start with Github 
Find useful scripts based on the ZenAlert Platform published by our team and other users. 
https://github.com/zenalert 
LinkedIn Company Page 
Follow our LinkedIn Company Page to stay updated on our services and IOT News. 
https://www.linkedin.com/company/zen-alert-inc 
Follow us on Twitter… 
… and join the conversation. 
https://twitter.com/zenalert 
Ask us a question at: 
https://zenalert.zendesk.com

More Related Content

Similar to Zen alert - Why You Need and How It Works

What is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays FinlandWhat is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays Finland
Maarten Balliauw
 
NetWatcher Customer Overview
NetWatcher Customer OverviewNetWatcher Customer Overview
NetWatcher Customer Overview
Scott Suhy
 
Architecture: Manual vs. Automation
Architecture: Manual vs. AutomationArchitecture: Manual vs. Automation
Architecture: Manual vs. Automation
Amazon Web Services
 
Room alert introduction
Room alert introductionRoom alert introduction
Room alert introductionTod Richardson
 
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
Symantec
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADA
Mohseen1234
 
Canopy unconference preso
Canopy unconference presoCanopy unconference preso
Canopy unconference preso
gregulator
 
DEVENDRAPLC .pptx
DEVENDRAPLC .pptxDEVENDRAPLC .pptx
DEVENDRAPLC .pptx
DEVENDRA SHRIVASH
 
Transcend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC ProductsTranscend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC Products
Baiju P.S.
 
PLC AND SCADA SYSTEM By Briight Industrial Solution
PLC AND SCADA SYSTEM By Briight Industrial SolutionPLC AND SCADA SYSTEM By Briight Industrial Solution
PLC AND SCADA SYSTEM By Briight Industrial Solution
IndiaMART InterMESH Limited
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
Rapid7
 
Invoices-app it is uesde to build a.pptx
Invoices-app it is uesde to build a.pptxInvoices-app it is uesde to build a.pptx
Invoices-app it is uesde to build a.pptx
cajativ595
 
Basics of Embedded System
Basics of Embedded System Basics of Embedded System
Basics of Embedded System
Rajesh Roshan
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Codemotion Tel Aviv
 
I need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdfI need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdf
michaelazach6427
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
Aditya Porwal
 
Hardware hackers - hacking appliances with netduino + xamarin
Hardware hackers - hacking appliances with netduino + xamarinHardware hackers - hacking appliances with netduino + xamarin
Hardware hackers - hacking appliances with netduino + xamarin
bryan costanich
 
O P Manager
O P  ManagerO P  Manager
O P Managerblakka
 

Similar to Zen alert - Why You Need and How It Works (20)

What is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays FinlandWhat is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays Finland
 
NetWatcher Customer Overview
NetWatcher Customer OverviewNetWatcher Customer Overview
NetWatcher Customer Overview
 
Architecture: Manual vs. Automation
Architecture: Manual vs. AutomationArchitecture: Manual vs. Automation
Architecture: Manual vs. Automation
 
IPlant_LEC
IPlant_LECIPlant_LEC
IPlant_LEC
 
Room alert introduction
Room alert introductionRoom alert introduction
Room alert introduction
 
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
TECHNICAL BRIEF▶NetBackup Appliance AutoSupport for NetBackup 5330
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADA
 
Canopy unconference preso
Canopy unconference presoCanopy unconference preso
Canopy unconference preso
 
DEVENDRAPLC .pptx
DEVENDRAPLC .pptxDEVENDRAPLC .pptx
DEVENDRAPLC .pptx
 
MFGtech Flyer
MFGtech Flyer MFGtech Flyer
MFGtech Flyer
 
Transcend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC ProductsTranscend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC Products
 
PLC AND SCADA SYSTEM By Briight Industrial Solution
PLC AND SCADA SYSTEM By Briight Industrial SolutionPLC AND SCADA SYSTEM By Briight Industrial Solution
PLC AND SCADA SYSTEM By Briight Industrial Solution
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
 
Invoices-app it is uesde to build a.pptx
Invoices-app it is uesde to build a.pptxInvoices-app it is uesde to build a.pptx
Invoices-app it is uesde to build a.pptx
 
Basics of Embedded System
Basics of Embedded System Basics of Embedded System
Basics of Embedded System
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
 
I need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdfI need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdf
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Hardware hackers - hacking appliances with netduino + xamarin
Hardware hackers - hacking appliances with netduino + xamarinHardware hackers - hacking appliances with netduino + xamarin
Hardware hackers - hacking appliances with netduino + xamarin
 
O P Manager
O P  ManagerO P  Manager
O P Manager
 

Recently uploaded

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
VivekSinghShekhawat2
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 

Recently uploaded (20)

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 

Zen alert - Why You Need and How It Works

  • 1. WHY YOU NEED IT AND HOW IT WORKS ZENALERT WHITEPAPER
  • 2. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 2 Index Why do I need ZenAlert? 3 How it works: the Vital Signal 4 Vital Signal: the code 5 How it works: the Event Signal 6 Event Signal: the code 7 Console: manage things 8 Console: alerts 9 Data Collect 10 Case Study #1: Monitor hundreds of PCs 12 Case Study #2: Preserve food in restaurants and shops 13 Case Study #3: Improve CRM for a technical support company 14 Useful links 15
  • 3. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 3 WHY DO I NEED ZENALERT? How can I be sure that my program or my computer is doing what it should do exactly when it should do it? ! This is one of those questions that we have always asked ourselves in information technology. ! The most common solution is to write other programs, or add other computers, to check the ones we need to check. We then typically add additional safety systems such as Uninterruptible Power Supply groups and backup communication lines. The security thus improves a little, but then we often start worrying about the security of the controller: indeed, who controls the controller? ! The advent of the "Internet of Things" further complicates the scenario. When we have to deal with "stupid" objects distributed in space or on the go, the "old ways" are really hard or impossible to implement. ! Our intuition was to turn the model inside out. ! ZenAlert uses the impossibility to communicate as its first ally in spotting problems.
  • 4. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 4 HOW IT WORKS: THE VITAL SIGNAL Your object, be it software, server, device or a "thing", will at regular intervals make an HTTP or HTTPS call to ZenAlert's platform. These calls are the object's heartbeats. We have dubbed them the "Vital Signal”. ! Should ZenAlert not receive a call during a set time interval (by default, 5 minutes) the platform will send a notification to inform you. everything is OK the microcontroller is not communicating anymore
  • 5. VITAL SIGNAL: THE CODE The implementation of the Vital Signal is very simple. Please take a look at this pseudo-code example. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 5 while (TRUE) { make_HttpCall(‘https://api.zenalert.com/signal? code=alive& thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& description=I am alive ‘) ! wait(5 minutes) } code is the “alive” Vital Signal thing_id is the unique id that identifies your object api_key is your unique security key description is the message/text you can fill in
  • 6. HOW IT WORKS: THE EVENT SIGNAL Your items can also send the platform HTTP or HTTPS calls related to a specific event. We have called these HTTP calls "Event Signals". ! When the platform receives an Event Signal from one of your objects, it will send you a notification. everything is OK the PC is communicating an event ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 6
  • 7. EVENT SIGNAL: THE CODE The implementation of an Event Signal is also very simple. Please take a look at the pseudo-code example. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 7 if (the_event_occurs) { ! make_HttpCall(‘https://api.zenalert.com/signal? code=warning& thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& description=hey, the_event has occurred! ‘) } code is an Event code thing_id is the unique id that identifies your object api_key is your unique security key description is the message that you will receive in your notification
  • 8. Call strings can be copied directly from the ZenAlert console https://www.zenalert.com and pasted into your code. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 8 CONSOLE: MANAGE THINGS create a new thing vital signal string event signal string
  • 9. You can manage your active alerts and keep an eye on the status of your "things" in the “Alerts" section of the console. vital signal back ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 9 CONSOLE: ALERTS Map controls Mark alert as “solved” vital signal missing event signal Filter alerts “by thing” and “by code” Automatic and manual reload of alerts
  • 10. DATA COLLECT Both messages (Vital and Signal) can be used for data collection as well. You can add a list of key-value pairs, in JSON format, to the 'data' parameter in the HTTP call. Please take a look at the following pseudo-code code=alive& thing_id=13DB5B6B-95C5-4D22-B0B5-BDEA5E22DC04& api_key=970872FB-B5FE-40EE-A609-A5C4204ECD69& description=I am alive& data={“wind”:3,"temperature":30, “foo”:”footext”, … } ’) ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 10 example. while (TRUE) { make_HttpCall(‘https://api.zenalert.com/signal? ! wait(5 minutes) } Collected data can currently be dowloaded from the Activities panel for the Thing. In the future, it will be possible to display them and analyze them directly on the website.
  • 11. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 11 APPLICATION EXAMPLES
  • 12. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 12 MONITOR HUNDREDS OF PCs Problem A company provides a digital signage service, i.e. a service that plays in-store music through media-player PCs for a retailer with more than a hundred stores. The schedules of the programs are generated in the central office and are then synchronized in real time with local stores throughout the national territory. How can the company be sure about the correct functioning of both the synchronization of the playlists and of the actual airing of the music? ! Solution The technical staff of the company developed a simple application that places calls via HTTP (Vital and Event signal) to ZenAlert's platform in order to monitor all the hardware equipment and the software involved in the distribution chain, 24/7. ! Results The adoption of ZenAlert allowed the company to automate the process of monitoring and sending alarm messages to promptly report critical events, allowing technicians to intervene before the playlist broadcast is compromised. ZenAlert integrates with any programming language thanks to ZenAlert's HTTP API. This means that the developers wrote the software they needed using the development tools they were already using, which made things simpler and more cost-effective.
  • 13. PRESERVE FOOD IN RESTAURANTS & SHOPS Problem Restaurants and grocery stores use refrigerators to store and preserve food. If a power failure occurs when the restaurant is closed food can go bad resulting substantial economic losses. How can they be alerted of a power failure? Solution A simple Arduino Ethernet Board (http://arduino.cc/en/Main/ArduinoBoardEthernet) programmed with ZenAlert Health Monitor (open source code http://ow.ly/yr1C9), connected to the to the local network in the premises is all that is needed to perform this task by sending an HTTP call (Vital signal) to ZenAlert's platform. ! Results As ZenAlert is free forever for the first thing you connect, the only cost incurred by the business is an Arduino board. In the event of a power failure, the owner of the business receives an alarm notification and can intervene before the food in the fridges goes bad. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 13
  • 14. IMPROVE CRM FOR A TECHNICAL SUPPORT COMPANY Problem An IT company provides technical assistance to professionals and businesses for ordinary maintenance issues of their PCs (full HDs, backup tools etc.) which are easy to predict but which, once they happen, can cause serious problems and waste precious time. Is it possible to monitor hundreds of PCs to improve the service and step in before the problems occur? ! Solution Using the ZenAlert's client or implementing simple applications to be installed on their customers’ PCs, the IT company can develop a system of notifications which are sent directly to their technical team. ! Results The IT company can improve the quality of the service they offer by being able to intervene before their customers experience issues. The IT company can also collect information that allows their technicians to assist their customers even remotely. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 14
  • 15. ZenAlert.com - WhitePaper - Ver. 0.8 www.zenalert.com - info@zenalert.com 15 USEFUL LINKS Quick Start with Github Find useful scripts based on the ZenAlert Platform published by our team and other users. https://github.com/zenalert LinkedIn Company Page Follow our LinkedIn Company Page to stay updated on our services and IOT News. https://www.linkedin.com/company/zen-alert-inc Follow us on Twitter… … and join the conversation. https://twitter.com/zenalert Ask us a question at: https://zenalert.zendesk.com