Ad Widget

Collapse

Zabbix Agent 2 receiving MQTT messages but not receiving them in server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • palge
    Junior Member
    • Sep 2024
    • 6

    #1

    Zabbix Agent 2 receiving MQTT messages but not receiving them in server

    Issue: Subscribed MQTT Values not arriving in Zabbix Server.

    I have configured an item to get messages published via mqtt
    Click image for larger version

Name:	image.png
Views:	224
Size:	7.5 KB
ID:	490891Zabbix agent log showes that the agent subscribed and is receiving values:
    Click image for larger version

Name:	image.png
Views:	150
Size:	10.6 KB
ID:	490892
    Latest Data im Zabbix WebGui does not show anything:
    Click image for larger version

Name:	image.png
Views:	161
Size:	7.2 KB
ID:	490894But ​​I'm receiving other values for the same host:
    Click image for larger version

Name:	image.png
Views:	119
Size:	27.1 KB
ID:	490895
    zabbix_agent2.conf
    Code:
    PidFile=/run/zabbix/zabbix_agent2.pid
    LogFile=/var/log/zabbix/zabbix_agent2.log
    LogFileSize=512
    DebugLevel=5
    Server=127.0.0.1
    ListenPort=10050
    ServerActive=127.0.0.1:10051
    HostnameItem=system.hostname
    RefreshActiveChecks=300
    BufferSend=3600
    BufferSize=256
    Plugins.MQTT.Default.Url=tcp://localhost:1883
    Plugins.MQTT.Default.User=zabbix
    Plugins.MQTT.Default.Password=securepassword
    Versions
    zabbix_server (Zabbix) 7.0.3

    zabbix_agent2 (Zabbix) 7.0.3
    Revision d93ce022627 19 August 2024, compilation time: Aug 19 2024 11:20:25, built with: go1.22.6
    Plugin communication protocol version is 6.4.0

    Plugin used: https://www.zabbix.com/integrations/mqtt#mqtt

    I tried without success:
    - Delete template and add it again
    - Restarted everything multiple times
    - Checked Debug Logs

    Does anyone has an idea?​
    Attached Files
Working...