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.
Choosing the right backup solution is critical for system administrators and IT professionals. The upcoming NetEye 4.41 version will bring an update to MariaDB, moving from version 10.3 to 10.11. This makes it especially timely to explore the opportunities offered Read More
On Neteye environment we use Tornado to collect, elaborate and notify events from a lot of sources (syslog, email, SNMP traps and so on) . In this article we want suggest a different use case, how to use tornado to Read More
As technology continually evolves, keeping our software stack up to date is essential for performance, security, and access to new functionalities. In this post, I want to share how we upgraded MariaDB from version 10.3 to 10.11 as part of Read More
In some test or development environments, you may need to simulate the presence of GSM modems without having an actual physical device. This can be useful for example when testing monitoring checks, SMS management systems, or creating new notification rules. Read More
Just like last year, we had the wonderful opportunity to attend FOSDEM, the most important open source conference in Europe. This year was no exception, and among the many exciting talks, one that particularly caught my attention was Alex Stefanini’s Read More