lapee79's Tech Blog

lapee79의 기술 지식 창고.

Monitoring HTTP using Blackbox exporter

Blackbox exporter can monitor the external services over HTTP, HTTPS, DNS, TCP, ICMP on Prometheus. In this post, I’ll show you how to monitor HTTP/HTTPS using Blackbox exporter. Blackbox exporter is going to be running on Kubernetes. Environment Before you begin, you need to have these: Kubernetes Prometheus operator Blackbox exporter configuration Write the Blackbox configuration file as ConfigMap to configure http module for monitoring web services. Continue reading

Alerts of the Prometheus Alertmanager with MS Teams

Prometheus alerting through Alertmanager can be configured to send messages to Email, SMS or messangers. My company uses Microsoft Teams as team messanger. Alertmanager supports Email, HipChat, PagerDuty, Slack etc. natively except Microsoft Teams. So it needs to be used Webhook to send a third-party tool that sends messages to Microsoft Teams. This post assumes that you are using the Prometheus operator for monitoring your Kubernetes cluster. We’re going to know how to send Prometheus alerts to Microsoft Teams. Continue reading