Monitoring-Benachrichtigungen über Telegram oder Microsoft Teams versenden
Üblicherweise werden auftretende Probleme mittels E-Mail oder SMS an die zuständigen IT-Mitarbeiter gemeldet. Aber sind das tatsächlich schon alle möglichen Kanäle um Benachrichtigungen zu versenden?
Natürlich nicht. Zwei sehr geschickte Beispiele sind diese hier:
Benachrichtigungen über die Telegram App (CLI)
Benachrichtigungen über die Office 365 Web API (Microsoft Teams)
Telegram
Wie Sie wahrscheinlich wissen, ermöglicht die WhatsApp-ähnliche App “Telegram” das Versenden von Nachrichten an Kontakte, Gruppen und Channels. Im Gegensatz zu WhatsApp stellt Telegram eine installierbares Command Line Interface bereit, durch welches Sie das Versenden von Nachrichten vom Computer aus skripten können. Sie müssen dazu die Telegram Binaries herunterladen und auf Ihrem Monitoring Server installieren. Anschließend definieren Sie den Benachrichtigungsbefehl im Monitoring folgendermaßen:
Natürlich sollten Sie vorher Ihren Monitoring-Host als Telegram-Sender registrieren (wie Sie es auch auf Ihrem Smartphone tun würden). Hierfür können Sie die selbe Telefonnummer verwenden wie für den SMS-Versand.
Office 365
Hier haben Sie die Möglichkeit Gruppen zu registrieren. Für die Benachrichtigung benötigen Sie genau diese GUID, danach können Sie diesen Befehl nutzen um die Benachrichtigungen zu versenden:
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 (now Würth IT Italy). 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 (now Würth IT Italy). 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.
Office 365 is a suite of online subscription services offered by Microsoft as part of the Microsoft 365 ecosystem. It includes capabilities for document creation and management, email, video conferencing, collaboration, and many other productivity services. The upcoming NetEye Extension Read More
The code is the structure, the LLM is the glue at the joints. There's a widespread misconception about automations “powered by artificial intelligence”: People picture a model you give an order to, which then carries out a complex operation from Read More
Practical lessons learned from real-world alert routing, automation, and integrations Introduction As mentioned at the end of Part 1, let's continue exploring practical use cases and real‑world solutions for Jira Operations alert handling and enrichment. NetEye, Icinga, and Jira Ops Read More
During our consulting activities we frequently find ourselves having to collect data from SNMP devices that do not support SNMPv3 for data encryption. This type of traffic is readable on the network and can create security problems and noncompliance with Read More
With Elastic Observability we can create alerts on all data we collect, such as logs, metrics, application services and synthetic monitoring. However, NetEye represents the main operational console from which to monitor the entire infrastructure. By sending alarms from Elastic Read More