Come inviare notifiche attraverso Telegram o Microsoft Team
Tradizionalmente in un ambiente di monitoraggio le notifiche in caso di eventuali problemi con l’IT vengono inviate via E-Mail o SMS. Ma sono sufficienti questi due canali per raggiungere nel momento giusto la persona esatta?
Ovviamente abbiamo svariate altre possibilità tra le quali ad esempio:
Notifiche attraverso l’App di Telegram App (CLI)
Notifiche attraverso Office 365 Web API (Microsoft Teams)
Telegram
Come forse già sapete Telegram, l’applicazione simile a WhatsApp, consente di inviare messaggi a contatti, gruppi e anche canali. Al contrario di WhatsApp, Telegram è installabile anche attraverso command line interface (CLI) con il quale è possibile programmare l’invio di messaggi attraverso un computer. Quindi basta installare Telegram sul server di monitoraggio e definire il comando per le notifiche nel seguente modo:
Ovviamente prima di completare la procedura è necessario registrare il monitoring host come Telegram sender (proprio come avviene sugli smartphone), utilizzando lo stesso numero di telefono che utilizzate anche per gli SMS.
Office 365
Con Office 365 avrete la possibilità di registrate gruppi per smistare le varie notifiche. Avrete inoltre bisogno esattamente di questa GUID e poi potrete inviare i messaggi attraverso il seguente comando:
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
Author
Juergen Vigna
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
In NetEye, 'business processes' is a module used to model and monitor the business process hierarchy to obtain a high-level view of the status of critical applications. In short, they allow monitoring controls of individual components to be aggregated into Read More
If you've worked with Elastic APM, you're probably familiar with the APM Server: a component that collects telemetry data from APM Agents deployed across your infrastructure. But what happens when you need to segregate that data by tenant, especially in Read More
Hi 😀 Today I'd like to explore with you a migration that we performed to a service that's used internally to monitor the performance of various DBs, gathering data that's especially useful for troubleshooting. This tool is the Percona Monitoring Read More
In the first part we created hosts and services to monitor a sequence of script using Tornado. The Tornado Rule Now let's continue with the creation of a Tornado rule: open the NetEye web interface and select Tornado dashboard, then Read More
Some time ago, my colleague Giuseppe Di Garbo published this article on the NetEye Blog, where he explained how to integrate NetEye notifications with Telegram. It was a great starting point, and in fact many of us used it to Read More