Hi everyone,
I installed Alma Linux 9 kubernets 1.29 and the related Zabbix Agent on an Alma Linux machine as per the official guide. The installation proceeds correctly but the Zabbix agent is unable to communicate correctly with the Zabbix server.
Below is the internal network configuration:
The nodes speak correctly to each other and the deployments are carried out correctly.
Only this error emerges from the agent logs:
.
Here is the master pod configuration:
This means that the data does not arrive correctly on the zabbix server, showing me the error: Timeout while waiting for result.
Could anyone suggest me what I have to check?
Thank you all
I installed Alma Linux 9 kubernets 1.29 and the related Zabbix Agent on an Alma Linux machine as per the official guide. The installation proceeds correctly but the Zabbix agent is unable to communicate correctly with the Zabbix server.
Below is the internal network configuration:
Code:
Zabbix Server v6.0: 10.4.114.5 K8s Master Node: 10.4.114.21 Worker01 K8s node: 10.4.114.22
Only this error emerges from the agent logs:
Code:
09:19:11.153028 failed to process an incoming connection from 10.4.114.21: EOF
Here is the master pod configuration:
Code:
Name: zabbix-agent-rpf22 Namespace: monitoring Priority: 0 Service Account: zabbix-agent-service-account Node: k8s-master.flametest.it/10.4.114.21 Start Time: Fri, 26 Jan 2024 17:36:10 +0100 Labels: app=zabbix controller-revision-hash=5c7894fc6 name=zabbix-agent pod-template-generation=11 Annotations: <none> Status: Running IP: 10.4.114.21 IPs: IP: 10.4.114.21 Controlled By: DaemonSet/zabbix-agent Containers: zabbix-agent: Container ID: containerd://53a05973090fb35586ed1a24e3cba55dde26646951fd20ff52 aa54a9f32baa06 Image: zabbix/zabbix-agent2:alpine-6.0.21 Image ID: docker.io/zabbix/zabbix-agent2@sha256:92c1ac9da7fa121e2a1c44cc244d5331aa10 0a8d4f8624ed01e18d63902ccf17 Port: 10050/TCP Host Port: 10050/TCP State: Running Started: Fri, 26 Jan 2024 17:36:11 +0100 Ready: True Restart Count: 0 Liveness: tcp-socket :10050 delay=0s timeout=3s period=10s #success=1 #failure=3 Startup: tcp-socket :10050 delay=10s timeout=3s period=5s #success=1 #failure=5 Environment: ZBX_HOSTNAME: (v1:spec.nodeName) ZBX_SERVER_HOST: 0.0.0.0/0 ZBX_SERVER_PORT: 10051 ZBX_PASSIVE_ALLOW: true ZBX_ACTIVE_ALLOW: false ZBX_DEBUGLEVEL: 4 ZBX_TIMEOUT: 4 Mounts: /hostfs/proc from proc (ro) /hostfs/root from root (ro) /hostfs/sys from sys (ro) Conditions: Type Status PodReadyToStartContainers True Initialized True Ready True ContainersReady True PodScheduled True Volumes: proc: Type: HostPath (bare host directory volume) Path: /proc HostPathType: sys: Type: HostPath (bare host directory volume) Path: /sys HostPathType: root: Type: HostPath (bare host directory volume) Path: / HostPathType: QoS Class: BestEffort Node Selectors: kubernetes.io/os=linux Tolerations: node-role.kubernetes.io/control-plane:NoSchedule node.kubernetes.io/disk-pressure:NoSchedule op=Exists node.kubernetes.io/memory-pressure:NoSchedule op=Exists node.kubernetes.io/network-unavailable:NoSchedule op=Exists node.kubernetes.io/not-ready:NoExecute op=Exists node.kubernetes.io/pid-pressure:NoSchedule op=Exists node.kubernetes.io/unreachable:NoExecute op=Exists node.kubernetes.io/unschedulable:NoSchedule op=Exists Events: <none>
Could anyone suggest me what I have to check?
Thank you all
Comment