Kubernetes Monitoring With Icinga2

History In our company we use for monitoring Icinga2. And everything was ok until it came to Kubernetes. As everyone know, best tool for Kubernetes monitoring is Prometheus. But I wanted to keep monitoring and alerting in Icinga2. I started looking in Internet for existing solution to monitor Kubernetes with Icinga2. And in the end found tools written by guys from Nexinto. They created two applications: check_kubernetes application to run checks kubernetes_icinga - daemon which scan Kubernetes cluster and automatically change Icinga2 configuration through API Details about applications check_kubernetes Usage of /usr/lib/nagios/plugins/check_kubernetes: -alsologtostderr log to standard error as well as files -kubeconfig string kubeconfig location -log_backtrace_at value when logging hits line file:N, emit a stack trace -log_dir string If non-empty, write log files in this directory -logtostderr log to standard error instead of files -name string name of object to check -namespace string namespace of object (default "default") -stderrthreshold value logs at or above this threshold go to stderr -type string type of object to check -v value log level for V logs -vmodule value comma-separated list of pattern=N settings for file-filtered logging This application perform only simple checks for:...

March 29, 2018 · 3 min · Dmytro Prokhorenkov