How to create customise Zabbix Dashboard to monitor Cameras - zabbix

In one of my current project, we are using lot of devices like 500+ Cameras, 100+ LPUs and so on.
I want to check the health of each (ping them (IP ping) every few seconds and if no response it is down). So this way I want to monitor the devices. This way I'll get to know which cameras/devices are down and what was each downtime/uptime and hence define their health.
Also I want to display the same on Dashboard.
How can I achieve this using Zabbix?

You can create a Map, even show different colors for OK or Problem state. You can add a Map to a Dashboard.
See https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/monitoring/maps
In the following example i selected all hosts in a Host Group, showing the Status application, which contains the ICMP triggers.
Result:
Configuration:

Related

How to retrieve Goo.gl/maps link for a physical address

Background
I'm creating an app that will allow me to send meeting points to my clients by SMS. The meeting points are always physical addresses, not coordinates. When doing the process manually through Google Maps, it looks like so:
Note that the link generated is a goo.gl. Also, note the neatly generated thumbnail, displaying the facade of the house and the address under it. Very user friendly.
My problem
Trying to recreate the step above programmatically works only partially; it creates a workable link but the SMS does not display the facade picture of the house, nor is the address displayed below the thumbnail.
Most inquiries I found on the topic point to Google's Developer Guide, where they make use of the following synthax:
https://www.google.com/maps/search/?api=1&query={{URL encoded address}}
or in this situation:
https://www.google.com/maps/search/?api=1&query=172+Fourth+Ave+Ottawa%2C+ON+K1S+2L6
Following the approach above yields the following SMS:
Any suggestion on how to get the first output generated via goo.gl link?

Alarm widget - working with more than one device

I have two different devices sending telemetry data to the Thingsboard server. I also created a dashboard and added an entity based on the device type (these two devices are of the same type) and selected the option "Resolve as multiple entities".
In this dashboard I added an alarm widget in order to see alarms from both devices, but it only shows alarms from one of them.
I changed the type of entity to a "relation query" (as both devices are related with the same asset, it contains them, and now it only shows alarms for the other device.
In conclusion, the alarm widget only works with A SINGLE DEVICE.
Did anybody face this issue?
Create an asset containing the devices, and propagate the alarms.
Set up your alias to the asset containing the devices without a search query, you should see all your alarms.

Google MAP API | Push Notification for Website

I am using Google Maps API for a project whose functionality is something like below
Functionality achieved:
When user sign in they see map and their current location is traced. Users can mark their favorite location and add a comment.
Functionality required and I need help in:
When any user passes through any location in real time, then my web application should send a notification saying "you are someone's favorite place do you want to add comment and xyz..."
Can anyone help me even with a hint on how I can achieve this for the web application?
P.S: I am not using any mobile application for this purpose. This is a web application.
It sounds like you're already set up with getting the user's location through the browser geolocation api when the page loads. My suggestion is to get the user's location again on a certain interval, every couple minutes maybe. If the new location is more than a little bit different than the previous location, send an ajax request to your server, see if the new location is near one of these favorite places, and if so, display a notification that they are near this place.

Add analytics to a desktop application

I have developed a desktop application using HTML 5 and node web-kit .
I would like to track parts of the app , such as how long its used , clicks ect.
I would like the analytics system to work both on and offline (storing data until its on-line).
Is there anything that I could use to do this?
The Google measurement protocol allows you to track everything that can send an http request. You need to generate a unqiue client id to group pageviews into session (the part is usually done by the Javascript tracker which does not help you) and can then choose between various interaction types and their related data to be added as parameters in a request to the Google Analytics server.
As far as offline capabilites, there is a "queue time" parameter that allows you to send delayed calls to GA. However as per documentation that delay is 4 hours at most (intended for Smartphones and Tablets that temporarily lose connection rather than to work permanently offline).
In the end it depends what data you need - you might just as well send calls to your own server and log them in a csv file and feed that to Klipfolio or some other dashboard solution (or even use Excel if you expect a low data volume).

Displaying Tiles data with Time interval using Push Notifications in Metro Apps?

I have metro application in which I implemented Push notification concept for getting single message.If I get more than 1 notification,still my application tile is able to show only 1 notification(msg).Am not able to do how to display multiple notifications for time-specific.Means do I need to write any extra code for displaying multiple notifications on my tile.If so, where should I need do write either client-side or server-side?
Thank you.
There are several ways to look at updating, and depending on what your end goal is, you may end up implementing the code either on the client, or the server, or a little of both.
For the scenario you describe, you need to use Windows Notification Services to push the notification each time you want a new tile notification. Typically, this is done by having a service running in the cloud (a website, or a Windows Azure service, or similar), that calls Windows Notification Service and sends a tile update to the app when something of interest occurs.
If what you want is for multiple notifications to cycle on the tile, that's enabled by calling the enableNotificationQueue method on the TileUpdater class:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tileupdater.enablenotificationqueue.aspx
Per the comment below, enableNotificationQueue works for any notification source. But if you want to pull information from a remote service, rather than using push, you can use scheduled polling as means of updating the tile using remote information, as described here:
http://msdn.microsoft.com/en-us/library/windows/apps/Hh761476.aspx
Combined with the call to enableNotificationQueue, it may also enable the scenario you're looking for.