Ad Widget

Collapse

Monitor Kubernetes in Openshift Cluster

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santos_
    Junior Member
    • Aug 2022
    • 1

    #1

    Monitor Kubernetes in Openshift Cluster

    Hello, good afternoon.

    I need to monitor applications in containers/Kubernetes in the OpenShift environment.

    Following the procedure in the official documentation, I can monitor the OpenShift Cluster's immutable infrastructure (cpu, memory, network and disk, for example). But I want to get metrics related to Kubelets, PODs, Schedulers, container states and etc from my infrastructure.

    I'm using Zabbix 6.0, which has native support for this type of monitoring, and even associating some templates ("Kubernetes nodes by HTTP" and "Kubernetes cluster state by HTTP") of the new version, according to the official documentation, such metrics do not are collected.

    That way, would anyone be able to point me to some content (website, course, video, tutorial or something like that) about monitoring (PODs, container status, etc.) of applications in containers/kubernetes with Zabbix on an OpenShift cluster?

    On-primese environment used:
    * Zabbix v6.0
    * Openshift v3.11 (on CentOS 7.9)
    * Kubernetes v1.11
    * Zabbix server is on a server external to the Openshift cluster.​
    Last edited by santos_; 31-08-2022, 16:01.
  • ErikEngerd
    Junior Member
    • Apr 2012
    • 14

    #2
    I am wondering the same. About to embark on an effort to run our apps in Kubernetes but all I can find is information on how to monitor kubernetes nodes. But this is not really useful since our cloud provider is already managing that. We have a lot of custom items and triggers and it would be good if we could use them for our apps in Kubernetes as well.

    I guess one could run a zabbix agent container in a pod. Then configure the zabbix agent conf at container startup based on container labels (downward api?) in combination with some auto discovery perhaps. But is it then possible to view eg a metric like response time over the lifetime of an application as individual containers come and go and process traffic for the same application?

    Is this even possible with zabbix?

    cheers
    Erik

    Comment

    Working...