Ad Widget

Collapse

Zabbix monitor log file not work

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Zabbix monitor log file not work

    Steps to reproduce:
    1. The Zabbix is deployed in Kubernetes with monitoringartist/dockbix-xxl images
    2. The corresponding server and web port is expose as certain NodePort through k8s services
    3. The Zabbix agent is installed in other server (non docker container)
    4. The default port under Zabbix agent configuration file has been changed
    5. We would like to monitor the log of that server which is installed Zabbix agent
    6. The log monitoring function is not trigger even if the string is matched in the log's content
    the server port of Zabbix is now 30003 exposed by Nodeport of Kubernetes service, It is matched in the Zabbix agent configuration file.
    Thank you.

    Here is the zabbix agent configuration:
    [[email protected] /tmp] egrep -v '^#|^$' /etc/zabbix/zabbix_agentd.conf
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=5
    EnableRemoteCommands=1
    Server=192.168.0.17
    ServerActive=192.168.0.17:30003
    Hostname=centos7
    Include=/etc/zabbix/zabbix_agentd.d/*.conf
    Attached Files
Working...
X