Ad Widget

Collapse

MQTT item has status "Not supported"

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • admin@hilton
    Junior Member
    • Jun 2022
    • 7

    #1

    MQTT item has status "Not supported"

    I have created a MQTT Item:

    on a host that has an agent interface `127.0.0.1` on port 10051.

    On my zabbix server `127.0.0.1` a zabbix-agent2 is running where Server and ServerActive is set to 127.0.0.1.

    The problem is that the item is still has the status "Not supported" but I don't understand why. The info say it does not support tests (I don't do that) or single passive check mode (I use an active zabbix agent). So what is the problem?

    ​​​

    Edit: There is an existing "Zabbix Server" host that uses the same agent interface. If I add the item there everything works. So I can only have one host per zabbix-agent?
    Last edited by admin@hilton; 20-11-2023, 01:36.
  • Answer selected by admin@hilton at 20-11-2023, 03:17.
    admin@hilton
    Junior Member
    • Jun 2022
    • 7

    I solved this problem.
    This was the solution: https://www.zabbix.com/forum/zabbix-...945#post421945
    Per agent​ you can only have one host by default, but you can edit the `Hostname` in zabbix_agent2.conf to a list of hosts. So alter changing this line to
    ```
    Hostname=Zabbix server,Fitness Room ESP
    ```
    and restarting the agent, everything worked as expected.


    Maybe the error message could be more helpful...

    Comment

    • admin@hilton
      Junior Member
      • Jun 2022
      • 7

      #2
      I solved this problem.
      This was the solution: https://www.zabbix.com/forum/zabbix-...945#post421945
      Per agent​ you can only have one host by default, but you can edit the `Hostname` in zabbix_agent2.conf to a list of hosts. So alter changing this line to
      ```
      Hostname=Zabbix server,Fitness Room ESP
      ```
      and restarting the agent, everything worked as expected.


      Maybe the error message could be more helpful...

      Comment

      Working...