Kubernetes monitoring and integration with Zabbix |
您所在的位置:网站首页 › zabbix集群容器 › Kubernetes monitoring and integration with Zabbix |
Kubernetes cluster state by HTTP
Overview
The template to monitor Kubernetes state that work without any external scripts. It works without external scripts and uses the script item to make HTTP requests to the Kubernetes API. Template Kubernetes cluster state by HTTP - collects metrics by HTTP agent from kube-state-metrics endpoint and Kubernetes API. Don't forget change macros {$KUBE.API.URL} and {$KUBE.API.TOKEN}. Also, see the Macros section for a list of macros used to set trigger values. NOTE. Some metrics may not be collected depending on your Kubernetes version and configuration. RequirementsZabbix version: 6.0 and higher. Tested versionsThis template has been tested on: Kubernetes 1.19.10 ConfigurationZabbix should be configured according to the instructions in the Templates out of the box section. SetupInstall the Zabbix Helm Chart in your Kubernetes cluster. Internal service metrics are collected from kube-state-metrics endpoint. Template needs to use authorization via API token. Set the {$KUBE.API.URL} such as ://:. Get the generated service account token using the command: kubectl get secret zabbix-service-account -n monitoring -o jsonpath={.data.token} | base64 -d Then set it to the macro {$KUBE.API.TOKEN}. Set {$KUBE.STATE.ENDPOINT.NAME} with Kube state metrics endpoint name. See kubectl -n monitoring get ep. Default: zabbix-kube-state-metrics. NOTE. If you wish to monitor Controller Manager and Scheduler components, you might need to set the --binding-address option for them to the address where Zabbix proxy can reach them. For example, for clusters created with kubeadm it can be set in the following manifest files (changes will be applied immediately): /etc/kubernetes/manifests/kube-controller-manager.yaml /etc/kubernetes/manifests/kube-scheduler.yamlDepending on your Kubernetes distribution, you might need to adjust {$KUBE.CONTROL_PLANE.TAINT} macro (for example, set it to node-role.kubernetes.io/master for OpenShift). NOTE. Some metrics may not be collected depending on your Kubernetes version and configuration. Also, see the Macros section for a list of macros used to set trigger values. Set up the macros to filter the metrics of discovered Kubelets by node names: {$KUBE.LLD.FILTER.KUBELET_NODE.MATCHES} {$KUBE.LLD.FILTER.KUBELET_NODE.NOT_MATCHES}Set up macros to filter metrics by namespace: {$KUBE.LLD.FILTER.NAMESPACE.MATCHES} {$KUBE.LLD.FILTER.NAMESPACE.NOT_MATCHES}Set up macros to filter node metrics by nodename: {$KUBE.LLD.FILTER.NODE.MATCHES} {$KUBE.LLD.FILTER.NODE.NOT_MATCHES}Note: If you have a large cluster, it is highly recommended to set a filter for discoverable namespaces. You can use the {$KUBE.KUBELET.FILTER.LABELS} and {$KUBE.KUBELET.FILTER.ANNOTATIONS} macros for advanced filtering of kubelets by node labels and annotations. Notes about labels and annotations filters: Macro values should be specified separated by commas and must have the key/value form with support for regular expressions in the value (key1: value, key2: regexp). ECMAScript syntax is used for regular expressions. Filters are applied if such label key exists for the entity that is being filtered (it means that if you specify a key in the filter, entities that do not have this key will not be affected by the filter and will still be discovered, and only entities containing that key will be filtered by the value). You can also use the exclamation point symbol (!) to invert the filter (!key: value).For example: kubernetes.io/hostname: kubernetes-node[5-25], !node-role.kubernetes.io/ingress: .*. As a result, the kubelets on nodes 5-25 without the "ingress" role will be discovered. See the Kubernetes documentation for details about labels and annotations: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/You can also set up evaluation periods for replica mismatch triggers (Deployments, ReplicaSets, StatefulSets) with the macro {$KUBE.REPLICA.MISMATCH.EVAL_PERIOD}, which supports context and regular expressions. For example, you can create the following macros: Set the evaluation period for the Deployment "nginx-deployment" in the namespace "default" to the 3 last values:{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:"deployment:default:nginx-deployment"} = #3 Set the evaluation period for all Deployments to the 10 last values:{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:regex:"deployment:.*:.*"} = #10 or {$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:regex:"^deployment.*"} = #10 Set the evaluation period for Deployments, ReplicaSets and StatefulSets in the namespace "default" to 15 minutes:{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:regex:".*:default:.*"} = 15m Note that different context macros with regular expressions matching the same string can be applied in an undefined order, and simple context macros (without regular expressions) have higher priority. Read the Important notes section in Zabbix documentation for details. Macros used Name Description Default {$KUBE.API.URL}Kubernetes API endpoint URL in the format ://: https://kubernetes.default.svc.cluster.local:443 {$KUBE.API.READYZ.ENDPOINT}Kubernetes API readyz endpoint /readyz /readyz {$KUBE.API.LIVEZ.ENDPOINT}Kubernetes API livez endpoint /livez /livez {$KUBE.API.COMPONENTSTATUSES.ENDPOINT}Kubernetes API componentstatuses endpoint /api/v1/componentstatuses /api/v1/componentstatuses {$KUBE.API.TOKEN}Service account bearer token. {$KUBE.HTTP.PROXY}Sets the HTTP proxy to http_proxy value. If this parameter is empty, then no proxy is used. {$KUBE.STATE.ENDPOINT.NAME}Kubernetes state endpoint name. zabbix-kube-state-metrics {$OPENSHIFT.STATE.ENDPOINT.NAME}OpenShift state endpoint name. openshift-state-metrics {$KUBE.API_SERVER.SCHEME}Kubernetes API servers metrics endpoint scheme. Used in ControlPlane LLD. https {$KUBE.API_SERVER.PORT}Kubernetes API servers metrics endpoint port. Used in ControlPlane LLD. 6443 {$KUBE.CONTROL_PLANE.TAINT}Taint that applies to control plane nodes. Change if needed. Used in ControlPlane LLD. node-role.kubernetes.io/control-plane {$KUBE.CONTROLLER_MANAGER.SCHEME}Kubernetes Controller manager metrics endpoint scheme. Used in ControlPlane LLD. https {$KUBE.CONTROLLER_MANAGER.PORT}Kubernetes Controller manager metrics endpoint port. Used in ControlPlane LLD. 10257 {$KUBE.SCHEDULER.SCHEME}Kubernetes Scheduler metrics endpoint scheme. Used in ControlPlane LLD. https {$KUBE.SCHEDULER.PORT}Kubernetes Scheduler metrics endpoint port. Used in ControlPlane LLD. 10259 {$KUBE.KUBELET.SCHEME}Kubernetes Kubelet metrics endpoint scheme. Used in Kubelet LLD. https {$KUBE.KUBELET.PORT}Kubernetes Kubelet metrics endpoint port. Used in Kubelet LLD. 10250 {$KUBE.LLD.FILTER.NAMESPACE.MATCHES}Filter of discoverable metrics by namespace. .* {$KUBE.LLD.FILTER.NAMESPACE.NOT_MATCHES}Filter to exclude discovered metrics by namespace. CHANGE_IF_NEEDED {$KUBE.LLD.FILTER.NODE.MATCHES}Filter of discoverable nodes by nodename. .* {$KUBE.LLD.FILTER.NODE.NOT_MATCHES}Filter to exclude discovered nodes by nodename. CHANGE_IF_NEEDED {$KUBE.LLD.FILTER.KUBELET_NODE.MATCHES}Filter of discoverable Kubelets by nodename. .* {$KUBE.LLD.FILTER.KUBELET_NODE.NOT_MATCHES}Filter to exclude discovered Kubelets by nodename. CHANGE_IF_NEEDED {$KUBE.KUBELET.FILTER.ANNOTATIONS}Node annotations to filter Kubelets (regex in values are supported). See the template's README.md for details. {$KUBE.KUBELET.FILTER.LABELS}Node labels to filter Kubelets (regex in values are supported). See the template's README.md for details. {$KUBE.LLD.FILTER.PV.MATCHES}Filter of discoverable persistent volumes by name. .* {$KUBE.LLD.FILTER.PV.NOT_MATCHES}Filter to exclude discovered persistent volumes by name. CHANGE_IF_NEEDED {$KUBE.REPLICA.MISMATCH.EVAL_PERIOD}The evaluation period range which is used for calculation of expressions in trigger prototypes (time period or value range). Can be used with context. #5 Items Name Description Type Key and additional info Kubernetes: Get state metricsCollecting Kubernetes metrics from kube-state-metrics. Script kube.state.metrics Kubernetes: Control plane LLDGeneration of data for Control plane discovery rules. Script kube.control_plane.lldPreprocessing Discard unchanged with heartbeat: 3h Kubernetes: Node LLDGeneration of data for Kubelet discovery rules. Script kube.node.lldPreprocessing Discard unchanged with heartbeat: 3h Kubernetes: Get component statuses HTTP agent kube.componentstatusesPreprocessing Check for not supported value ⛔️Custom on fail: Discard value Kubernetes: Get readyz HTTP agent kube.readyzPreprocessing JavaScript: The text is too long. Please see the template. Kubernetes: Get livez HTTP agent kube.livezPreprocessing JavaScript: The text is too long. Please see the template. Kubernetes: Namespace countThe number of namespaces. Dependent item kube.namespace.countPreprocessing Prometheus pattern: COUNT(kube_namespace_created) ⛔️Custom on fail: Discard value Kubernetes: CronJob countNumber of cronjobs. Dependent item kube.cronjob.countPreprocessing Prometheus pattern: COUNT(kube_cronjob_created) ⛔️Custom on fail: Discard value Kubernetes: Job countNumber of jobs (generated by cronjob + job). Dependent item kube.job.countPreprocessing Prometheus pattern: COUNT(kube_job_created) ⛔️Custom on fail: Discard value Kubernetes: Endpoint countNumber of endpoints. Dependent item kube.endpoint.countPreprocessing Prometheus pattern: COUNT(kube_endpoint_created) ⛔️Custom on fail: Discard value Kubernetes: Deployment countThe number of deployments. Dependent item kube.deployment.countPreprocessing Prometheus pattern: COUNT(kube_deployment_created) ⛔️Custom on fail: Discard value Kubernetes: Service countThe number of services. Dependent item kube.service.countPreprocessing Prometheus pattern: COUNT(kube_service_created) ⛔️Custom on fail: Discard value Kubernetes: StatefulSet countThe number of statefulsets. Dependent item kube.statefulset.countPreprocessing Prometheus pattern: COUNT(kube_statefulset_created) ⛔️Custom on fail: Discard value Kubernetes: Node countThe number of nodes. Dependent item kube.node.countPreprocessing Prometheus pattern: COUNT(kube_node_created) ⛔️Custom on fail: Discard value LLD rule API servers discovery Name Description Type Key and additional info API servers discovery Dependent item kube.api_servers.discovery LLD rule Controller manager nodes discovery Name Description Type Key and additional info Controller manager nodes discovery Dependent item kube.controller_manager.discovery LLD rule Scheduler servers nodes discovery Name Description Type Key and additional info Scheduler servers nodes discovery Dependent item kube.scheduler.discovery LLD rule Kubelet discovery Name Description Type Key and additional info Kubelet discovery Dependent item kube.kubelet.discovery LLD rule Daemonset discovery Name Description Type Key and additional info Daemonset discovery Dependent item kube.daemonset.discoveryPreprocessing Prometheus to JSON: kube_daemonset_status_number_ready Item prototypes for Daemonset discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] Daemonset [{#NAME}]: ReadyThe number of nodes that should be running the daemon pod and have one or more running and ready. Dependent item kube.daemonset.ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Daemonset [{#NAME}]: ScheduledThe number of nodes that run at least one daemon pod and are supposed to. Dependent item kube.daemonset.scheduled[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Daemonset [{#NAME}]: DesiredThe number of nodes that should be running the daemon pod. Dependent item kube.daemonset.desired[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Daemonset [{#NAME}]: MisscheduledThe number of nodes that run a daemon pod but are not supposed to. Dependent item kube.daemonset.misscheduled[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Daemonset [{#NAME}]: Updated number scheduledThe total number of nodes that are running updated daemon pod. Dependent item kube.daemonset.updated[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule PVC discovery Name Description Type Key and additional info PVC discovery Dependent item kube.pvc.discoveryPreprocessing Prometheus to JSON: kube_persistentvolumeclaim_info JavaScript: The text is too long. Please see the template. Discard unchanged with heartbeat: 3h Item prototypes for PVC discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] PVC [{#NAME}] Status phaseThe current status phase of the persistent volume claim. Dependent item kube.pvc.status_phase[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value JavaScript: The text is too long. Please see the template. Kubernetes: Namespace [{#NAMESPACE}] PVC [{#NAME}] Requested storageThe capacity of storage requested by the persistent volume claim. Dependent item kube.pvc.requested.storage[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PVC status phase: Bound, sumThe total amount of persistent volume claims in the Bound phase. Dependent item kube.pvc.status_phase.bound.sum[{#NAMESPACE}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PVC status phase: Lost, sumThe total amount of persistent volume claims in the Lost phase. Dependent item kube.pvc.status_phase.lost.sum[{#NAMESPACE}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PVC status phase: Pending, sumThe total amount of persistent volume claims in the Pending phase. Dependent item kube.pvc.status_phase.pending.sum[{#NAMESPACE}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Trigger prototypes for PVC discovery Name Description Expression Severity Dependencies and additional info Kubernetes: NS [{#NAMESPACE}] PVC [{#NAME}]: PVC is pending count(/Kubernetes cluster state by HTTP/kube.pvc.status_phase[{#NAMESPACE}/{#NAME}],2m,,5)>=2 Warning LLD rule PV discovery Name Description Type Key and additional info PV discovery Dependent item kube.pv.discoveryPreprocessing Prometheus to JSON: The text is too long. Please see the template. JavaScript: The text is too long. Please see the template. Discard unchanged with heartbeat: 3h Item prototypes for PV discovery Name Description Type Key and additional info Kubernetes: PV [{#NAME}] Status phaseThe current status phase of the persistent volume. Dependent item kube.pv.status_phase[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value JavaScript: The text is too long. Please see the template. Kubernetes: PV [{#NAME}] Capacity bytesA capacity of the persistent volume in bytes. Dependent item kube.pv.capacity.bytes[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: PV status phase: Pending, sumThe total amount of persistent volumes in the Pending phase. Dependent item kube.pv.status_phase.pending.sum[{#SINGLETON}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: PV status phase: Available, sumThe total amount of persistent volumes in the Available phase. Dependent item kube.pv.status_phase.available.sum[{#SINGLETON}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: PV status phase: Bound, sumThe total amount of persistent volumes in the Bound phase. Dependent item kube.pv.status_phase.bound.sum[{#SINGLETON}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: PV status phase: Released, sumThe total amount of persistent volumes in the Released phase. Dependent item kube.pv.status_phase.released.sum[{#SINGLETON}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: PV status phase: Failed, sumThe total amount of persistent volumes in the Failed phase. Dependent item kube.pv.status_phase.failed.sum[{#SINGLETON}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Trigger prototypes for PV discovery Name Description Expression Severity Dependencies and additional info Kubernetes: PV [{#NAME}]: PV has failed count(/Kubernetes cluster state by HTTP/kube.pv.status_phase[{#NAME}],2m,,3)>=2 Warning LLD rule Deployment discovery Name Description Type Key and additional info Deployment discovery Dependent item kube.deployment.discoveryPreprocessing Prometheus to JSON: kube_deployment_spec_paused Discard unchanged with heartbeat: 3h Item prototypes for Deployment discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: PausedWhether the deployment is paused and will not be processed by the deployment controller. Dependent item kube.deployment.spec_paused[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Replicas desiredNumber of desired pods for a deployment. Dependent item kube.deployment.replicas_desired[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Rollingupdate max unavailableMaximum number of unavailable replicas during a rolling update of a deployment. Dependent item kube.deployment.rollingupdate.max_unavailable[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: ReplicasThe number of replicas per deployment. Dependent item kube.deployment.replicas[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Replicas availableThe number of available replicas per deployment. Dependent item kube.deployment.replicas_available[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Replicas unavailableThe number of unavailable replicas per deployment. Dependent item kube.deployment.replicas_unavailable[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Replicas updatedThe number of updated replicas per deployment. Dependent item kube.deployment.replicas_updated[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Replicas mismatchedThe number of available replicas not matching the desired number of replicas. Dependent item kube.deployment.replicas_mismatched[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus to JSON: The text is too long. Please see the template. JavaScript: The text is too long. Please see the template. Trigger prototypes for Deployment discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Namespace [{#NAMESPACE}] Deployment [{#NAME}]: Deployment replicas mismatchDeployment has not matched the expected number of replicas during the specified trigger evaluation period. min(/Kubernetes cluster state by HTTP/kube.deployment.replicas_mismatched[{#NAMESPACE}/{#NAME}],{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:"deployment:{#NAMESPACE}:{#NAME}"})>0 and last(/Kubernetes cluster state by HTTP/kube.deployment.replicas_desired[{#NAMESPACE}/{#NAME}])>=0 and last(/Kubernetes cluster state by HTTP/kube.deployment.replicas_available[{#NAMESPACE}/{#NAME}])>=0 Warning LLD rule Endpoint discovery Name Description Type Key and additional info Endpoint discovery Dependent item kube.endpoint.discoveryPreprocessing Prometheus to JSON: kube_endpoint_created Item prototypes for Endpoint discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] Endpoint [{#NAME}]: Address availableNumber of addresses available in endpoint. Dependent item kube.endpoint.address_available[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Endpoint [{#NAME}]: Address not readyNumber of addresses not ready in endpoint. Dependent item kube.endpoint.address_not_ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Endpoint [{#NAME}]: AgeEndpoint age (number of seconds since creation). Dependent item kube.endpoint.age[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value JavaScript: return (Math.floor(Date.now()/1000)-Number(value)); LLD rule Node discovery Name Description Type Key and additional info Node discovery Dependent item kube.node.discoveryPreprocessing Prometheus to JSON: kube_node_info Item prototypes for Node discovery Name Description Type Key and additional info Kubernetes: Node [{#NAME}]: CPU allocatableThe CPU resources of a node that are available for scheduling. Dependent item kube.node.cpu_allocatable[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Memory allocatableThe memory resources of a node that are available for scheduling. Dependent item kube.node.memory_allocatable[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Pods allocatableThe pods resources of a node that are available for scheduling. Dependent item kube.node.pods_allocatable[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Ephemeral storage allocatableThe allocatable ephemeral storage of a node that is available for scheduling. Dependent item kube.node.ephemeral_storage_allocatable[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: CPU capacityThe capacity for CPU resources of a node. Dependent item kube.node.cpu_capacity[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Memory capacityThe capacity for memory resources of a node. Dependent item kube.node.memory_capacity[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Ephemeral storage capacityThe ephemeral storage capacity of a node. Dependent item kube.node.ephemeral_storage_capacity[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Node [{#NAME}]: Pods capacityThe capacity for pods resources of a node. Dependent item kube.node.pods_capacity[{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule Pod discovery Name Description Type Key and additional info Pod discovery Dependent item kube.pod.discoveryPreprocessing Prometheus to JSON: kube_pod_start_time Item prototypes for Pod discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}] Phase: PendingPod is in pending state. Dependent item kube.pod.phase.pending[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: VALUE(kube_pod_status_phase{pod="{#NAME}", phase="Pending"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}] Phase: SucceededPod is in succeeded state. Dependent item kube.pod.phase.succeeded[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}] Phase: FailedPod is in failed state. Dependent item kube.pod.phase.failed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: VALUE(kube_pod_status_phase{pod="{#NAME}", phase="Failed"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}] Phase: UnknownPod is in unknown state. Dependent item kube.pod.phase.unknown[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: VALUE(kube_pod_status_phase{pod="{#NAME}", phase="Unknown"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}] Phase: RunningPod is in unknown state. Dependent item kube.pod.phase.running[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: VALUE(kube_pod_status_phase{pod="{#NAME}", phase="Running"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers terminatedDescribes whether the container is currently in terminated state. Dependent item kube.pod.containers_terminated[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: SUM(kube_pod_container_status_terminated{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers waitingDescribes whether the container is currently in waiting state. Dependent item kube.pod.containers_waiting[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: SUM(kube_pod_container_status_waiting{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers readyDescribes whether the containers readiness check succeeded. Dependent item kube.pod.containers_ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: SUM(kube_pod_container_status_ready{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers restartsThe number of container restarts. Dependent item kube.pod.containers_restarts[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: SUM(kube_pod_container_status_restarts_total{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers runningDescribes whether the container is currently in running state. Dependent item kube.pod.containers_running[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: SUM(kube_pod_container_status_running{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: ReadyDescribes whether the pod is ready to serve requests. Dependent item kube.pod.ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: ScheduledDescribes the status of the scheduling process for the pod. Dependent item kube.pod.scheduled[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: UnschedulableDescribes the unschedulable status for the pod. Dependent item kube.pod.unschedulable[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: VALUE(kube_pod_status_unschedulable{pod="{#NAME}"}) ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers CPU limitsThe limit on CPU cores to be used by a container. Dependent item kube.pod.containers.limits.cpu[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers memory limitsThe limit on memory to be used by a container. Dependent item kube.pod.containers.limits.memory[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers CPU requestsThe number of requested CPU cores by a container. Dependent item kube.pod.containers.requests.cpu[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Containers memory requestsThe number of requested memory bytes by a container. Dependent item kube.pod.containers.requests.memory[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Trigger prototypes for Pod discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Pod is not healthy min(/Kubernetes cluster state by HTTP/kube.pod.phase.failed[{#NAMESPACE}/{#NAME}],10m)>0 or min(/Kubernetes cluster state by HTTP/kube.pod.phase.pending[{#NAMESPACE}/{#NAME}],10m)>0 or min(/Kubernetes cluster state by HTTP/kube.pod.phase.unknown[{#NAMESPACE}/{#NAME}],10m)>0 High Kubernetes: Namespace [{#NAMESPACE}] Pod [{#NAME}]: Pod is crash loopingContainers of the pod keep restarting. This most likely indicates that the pod is in the CrashLoopBackOff state. (last(/Kubernetes cluster state by HTTP/kube.pod.containers_restarts[{#NAMESPACE}/{#NAME}])-min(/Kubernetes cluster state by HTTP/kube.pod.containers_restarts[{#NAMESPACE}/{#NAME}],15m))>1 Warning LLD rule ReplicaSet discovery Name Description Type Key and additional info ReplicaSet discovery Dependent item kube.replicaset.discoveryPreprocessing Prometheus to JSON: kube_replicaset_status_replicas Discard unchanged with heartbeat: 3h Item prototypes for ReplicaSet discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] ReplicaSet [{#NAME}]: ReplicasThe number of replicas per ReplicaSet. Dependent item kube.replicaset.replicas[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] ReplicaSet [{#NAME}]: Desired replicasNumber of desired pods for a ReplicaSet. Dependent item kube.replicaset.replicas_desired[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] ReplicaSet [{#NAME}]: Fully labeled replicasThe number of fully labeled replicas per ReplicaSet. Dependent item kube.replicaset.fully_labeled_replicas[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] ReplicaSet [{#NAME}]: ReadyThe number of ready replicas per ReplicaSet. Dependent item kube.replicaset.ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] ReplicaSet [{#NAME}]: Replicas mismatchedThe number of ready replicas not matching the desired number of replicas. Dependent item kube.replicaset.replicas_mismatched[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus to JSON: The text is too long. Please see the template. JavaScript: The text is too long. Please see the template. Trigger prototypes for ReplicaSet discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Namespace [{#NAMESPACE}] RS [{#NAME}]: ReplicaSet mismatchReplicaSet has not matched the expected number of replicas during the specified trigger evaluation period. min(/Kubernetes cluster state by HTTP/kube.replicaset.replicas_mismatched[{#NAMESPACE}/{#NAME}],{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:"replicaset:{#NAMESPACE}:{#NAME}"})>0 and last(/Kubernetes cluster state by HTTP/kube.replicaset.replicas_desired[{#NAMESPACE}/{#NAME}])>=0 and last(/Kubernetes cluster state by HTTP/kube.replicaset.ready[{#NAMESPACE}/{#NAME}])>=0 Warning LLD rule StatefulSet discovery Name Description Type Key and additional info StatefulSet discovery Dependent item kube.statefulset.discoveryPreprocessing Prometheus to JSON: kube_statefulset_status_replicas Discard unchanged with heartbeat: 3h Item prototypes for StatefulSet discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: ReplicasThe number of replicas per StatefulSet. Dependent item kube.statefulset.replicas[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: Desired replicasNumber of desired pods for a StatefulSet. Dependent item kube.statefulset.replicas_desired[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: Current replicasThe number of current replicas per StatefulSet. Dependent item kube.statefulset.replicas_current[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: Ready replicasThe number of ready replicas per StatefulSet. Dependent item kube.statefulset.replicas_ready[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: Updated replicasThe number of updated replicas per StatefulSet. Dependent item kube.statefulset.replicas_updated[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: Replicas mismatchedThe number of ready replicas not matching the number of replicas. Dependent item kube.statefulset.replicas_mismatched[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus to JSON: The text is too long. Please see the template. JavaScript: The text is too long. Please see the template. Trigger prototypes for StatefulSet discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: StatefulSet is down (last(/Kubernetes cluster state by HTTP/kube.statefulset.replicas_ready[{#NAMESPACE}/{#NAME}]) / last(/Kubernetes cluster state by HTTP/kube.statefulset.replicas_current[{#NAMESPACE}/{#NAME}]))1 High Kubernetes: Namespace [{#NAMESPACE}] StatefulSet [{#NAME}]: StatefulSet replicas mismatchStatefulSet has not matched the number of replicas during the specified trigger evaluation period. min(/Kubernetes cluster state by HTTP/kube.statefulset.replicas_mismatched[{#NAMESPACE}/{#NAME}],{$KUBE.REPLICA.MISMATCH.EVAL_PERIOD:"statefulset:{#NAMESPACE}:{#NAME}"})>0 and last(/Kubernetes cluster state by HTTP/kube.statefulset.replicas[{#NAMESPACE}/{#NAME}])>=0 and last(/Kubernetes cluster state by HTTP/kube.statefulset.replicas_ready[{#NAMESPACE}/{#NAME}])>=0 Warning LLD rule PodDisruptionBudget discovery Name Description Type Key and additional info PodDisruptionBudget discovery Dependent item kube.pdb.discoveryPreprocessing Prometheus to JSON: kube_poddisruptionbudget_created Item prototypes for PodDisruptionBudget discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] PodDisruptionBudget [{#NAME}]: Pods healthyCurrent number of healthy pods. Dependent item kube.pdb.pods_healthy[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PodDisruptionBudget [{#NAME}]: Pods desiredMinimum desired number of healthy pods. Dependent item kube.pdb.pods_desired[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PodDisruptionBudget [{#NAME}]: Disruptions allowedNumber of pod disruptions that are allowed. Dependent item kube.pdb.disruptions_allowed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] PodDisruptionBudget [{#NAME}]: Pods totalTotal number of pods counted by this disruption budget. Dependent item kube.pdb.pods_total[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule CronJob discovery Name Description Type Key and additional info CronJob discovery Dependent item kube.cronjob.discoveryPreprocessing Prometheus to JSON: kube_cronjob_created Item prototypes for CronJob discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: SuspendSuspend flag tells the controller to suspend subsequent executions. Dependent item kube.cronjob.spec_suspend[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Discard unchanged with heartbeat: 1h Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: ActiveActive holds pointers to currently running jobs. Dependent item kube.cronjob.status_active[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: Last scheduleLastScheduleTime keeps information of when was the last time the job was successfully scheduled. Dependent item kube.cronjob.last_schedule_time[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Custom multiplier: 1 Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: Next scheduleNext time the cronjob should be scheduled. The time after lastScheduleTime or after the cron job's creation time if it's never been scheduled. Use this to determine if the job is delayed. Dependent item kube.cronjob.next_schedule_time[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Custom multiplier: 1 Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: FailedThe number of pods which reached the Failed phase and the reason for failure. Dependent item kube.cronjob.status_failed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: SucceededThe number of pods which reached the Succeeded phase. Dependent item kube.cronjob.status_succeeded[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: Completion succeededNumber of jobs the execution of which has been completed. Dependent item kube.cronjob.completion.succeeded[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] CronJob [{#NAME}]: Completion failedNumber of jobs the execution of which has failed. Dependent item kube.cronjob.completion.failed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule Job discovery Name Description Type Key and additional info Job discovery Dependent item kube.job.discoveryPreprocessing Prometheus to JSON: kube_job_owner{owner_is_controller!="true"} Item prototypes for Job discovery Name Description Type Key and additional info Kubernetes: Namespace [{#NAMESPACE}] Job [{#NAME}]: FailedThe number of pods which reached the Failed phase and the reason for failure. Dependent item kube.job.status_failed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Job [{#NAME}]: SucceededThe number of pods which reached the Succeeded phase. Dependent item kube.job.status_succeeded[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Job [{#NAME}]: Completion succeededNumber of jobs the execution of which has been completed. Dependent item kube.job.completion.succeeded[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Kubernetes: Namespace [{#NAMESPACE}] Job [{#NAME}]: Completion failedNumber of jobs the execution of which has failed. Dependent item kube.job.completion.failed[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule Component statuses discovery Name Description Type Key and additional info Component statuses discovery Dependent item kube.componentstatuses.discoveryPreprocessing JSON Path: $.items ⛔️Custom on fail: Discard value Discard unchanged with heartbeat: 3h Item prototypes for Component statuses discovery Name Description Type Key and additional info Kubernetes: Component [{#NAME}]: HealthyCluster component healthy. Dependent item kube.componentstatuses.healthy[{#NAME}]Preprocessing JSON Path: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Trigger prototypes for Component statuses discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Component [{#NAME}] is unhealthy count(/Kubernetes cluster state by HTTP/kube.componentstatuses.healthy[{#NAME}],#3,,"True")0 Warning LLD rule Readyz discovery Name Description Type Key and additional info Readyz discovery Dependent item kube.readyz.discoveryPreprocessing Discard unchanged with heartbeat: 3h Item prototypes for Readyz discovery Name Description Type Key and additional info Kubernetes: Readyz [{#NAME}]: HealthcheckResult of readyz healthcheck for component. Dependent item kube.readyz.healthcheck[{#NAME}]Preprocessing JSON Path: $.[?(@.name == "{#NAME}")].value.first() ⛔️Custom on fail: Discard value Trigger prototypes for Readyz discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Readyz [{#NAME}] is unhealthy count(/Kubernetes cluster state by HTTP/kube.readyz.healthcheck[{#NAME}],#3,,"ok")0 Warning LLD rule Livez discovery Name Description Type Key and additional info Livez discovery Dependent item kube.livez.discoveryPreprocessing Discard unchanged with heartbeat: 3h Item prototypes for Livez discovery Name Description Type Key and additional info Kubernetes: Livez [{#NAME}]: HealthcheckResult of livez healthcheck for component. Dependent item kube.livez.healthcheck[{#NAME}]Preprocessing JSON Path: $.[?(@.name == "{#NAME}")].value.first() ⛔️Custom on fail: Discard value Trigger prototypes for Livez discovery Name Description Expression Severity Dependencies and additional info Kubernetes: Livez [{#NAME}] is unhealthy count(/Kubernetes cluster state by HTTP/kube.livez.healthcheck[{#NAME}],#3,,"ok")0 Warning LLD rule OpenShift BuildConfig discovery Name Description Type Key and additional info OpenShift BuildConfig discovery Dependent item openshift.buildconfig.discoveryPreprocessing Prometheus to JSON: openshift_buildconfig_created Discard unchanged with heartbeat: 3h Item prototypes for OpenShift BuildConfig discovery Name Description Type Key and additional info OpenShift: Namespace [{#NAMESPACE}] BuildConfig [{#NAME}]: CreatedOpenShift BuildConfig Unix creation timestamp. Dependent item openshift.buildconfig.created.time[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Custom multiplier: 1 Discard unchanged with heartbeat: 3h OpenShift: Namespace [{#NAMESPACE}] BuildConfig [{#NAME}]: GenerationSequence number representing a specific generation of the desired state. Dependent item openshift.buildconfig.generation[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value OpenShift: Namespace [{#NAMESPACE}] BuildConfig [{#NAME}]: Latest versionThe latest version of BuildConfig. Dependent item openshift.buildconfig.status[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Discard unchanged with heartbeat: 3h LLD rule OpenShift Build discovery Name Description Type Key and additional info OpenShift Build discovery Dependent item openshift.build.discoveryPreprocessing Prometheus to JSON: openshift_build_created Discard unchanged with heartbeat: 3h Item prototypes for OpenShift Build discovery Name Description Type Key and additional info OpenShift: Namespace [{#NAMESPACE}] Build [{#NAME}]: CreatedOpenShift Build Unix creation timestamp. Dependent item openshift.build.created.time[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Custom multiplier: 1 Discard unchanged with heartbeat: 3h OpenShift: Namespace [{#NAMESPACE}] Build [{#NAME}]: GenerationSequence number representing a specific generation of the desired state. Dependent item openshift.build.sequence.number[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value OpenShift: Namespace [{#NAMESPACE}] Build [{#NAME}]: Status phaseThe Build phase. Dependent item openshift.build.status_phase[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value JavaScript: The text is too long. Please see the template. Trigger prototypes for OpenShift Build discovery Name Description Expression Severity Dependencies and additional info OpenShift: Build [{#NAME}]: Build has failed count(/Kubernetes cluster state by HTTP/openshift.build.status_phase[{#NAMESPACE}/{#NAME}],2m,"ge",6)>=2 Warning LLD rule OpenShift ClusterResourceQuota discovery Name Description Type Key and additional info OpenShift ClusterResourceQuota discovery Dependent item openshift.cluster.resource.quota.discoveryPreprocessing Prometheus to JSON: openshift_clusterresourcequota_usage Discard unchanged with heartbeat: 3h Item prototypes for OpenShift ClusterResourceQuota discovery Name Description Type Key and additional info OpenShift: Quota [{#NAME}] Resource [{#RESOURCE}]: Type [{#TYPE}]]Usage about resource quota. Dependent item openshift.cluster.resource.quota[{#RESOURCE}/{#NAME}/{#TYPE}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value LLD rule OpenShift Route discovery Name Description Type Key and additional info OpenShift Route discovery Dependent item openshift.route.discoveryPreprocessing Prometheus to JSON: openshift_route_info Discard unchanged with heartbeat: 3h Item prototypes for OpenShift Route discovery Name Description Type Key and additional info OpenShift: Namespace [{#NAMESPACE}] Route [{#NAME}]: CreatedOpenShift Route Unix creation timestamp. Dependent item openshift.route.created.time[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: The text is too long. Please see the template. ⛔️Custom on fail: Discard value Custom multiplier: 1 Discard unchanged with heartbeat: 3h OpenShift: Namespace [{#NAMESPACE}] Route [{#NAME}]: StatusInformation about route status. Dependent item openshift.route.status[{#NAMESPACE}/{#NAME}]Preprocessing Prometheus pattern: openshift_route_status{route="{#NAME}"} == 1 label status ⛔️Custom on fail: Discard value Boolean to decimal Trigger prototypes for OpenShift Route discovery Name Description Expression Severity Dependencies and additional info OpenShift: Route [{#NAME}] with issue: Status is false count(/Kubernetes cluster state by HTTP/openshift.route.status[{#NAMESPACE}/{#NAME}],2m,,0)>=2 Warning FeedbackPlease report any issues with the template at https://support.zabbix.com You can also provide feedback, discuss the template, or ask for help at ZABBIX forums |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |