Ad Widget

Collapse

ZabbixAgent2 - Permit any Hostname for active check?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GulbadinNaib
    Junior Member
    • Nov 2021
    • 2

    #1

    ZabbixAgent2 - Permit any Hostname for active check?

    Hi,
    I'am running Zabbix 5.4 and ZabbixAgent2. I use it to monitor many MQTT devices into my network, for doing this, I have agent installed on one server (Debian 11) and I will check all my MQTT devices througt the MQTT brocker using mqtt.get["tcp://192.168.1.75:1883","tele/shelly1-Mansarda/STATE"]
    So in Zabbix Server Config, I have 1 host for the server that run Agent, and one Host for each MQTT devices.
    This works, but I need to edit zabbix_agent2.conf each time I add and remove a Host from configuration, this because mqtt.get is an active check and works only if Hostname parameter is set into zabbix_agent2.conf. This way is very hard to mantain, so I would like to make ZabbixAgent2 to accept any host for active check.
    Is this possible?

    Many Thanks
  • GulbadinNaib
    Junior Member
    • Nov 2021
    • 2

    #2
    Originally posted by GulbadinNaib
    Hi,
    I'am running Zabbix 5.4 and ZabbixAgent2. I use it to monitor many MQTT devices into my network, for doing this, I have agent installed on one server (Debian 11) and I will check all my MQTT devices througt the MQTT brocker using mqtt.get["tcp://192.168.1.75:1883","tele/shelly1-Mansarda/STATE"]
    So in Zabbix Server Config, I have 1 host for the server that run Agent, and one Host for each MQTT devices.
    This works, but I need to edit zabbix_agent2.conf each time I add and remove a Host from configuration, this because mqtt.get is an active check and works only if Hostname parameter is set into zabbix_agent2.conf. This way is very hard to mantain, so I would like to make ZabbixAgent2 to accept any host for active check.
    Is this possible?omegle xender

    Many Thanks
    my issue has been solved

    Comment

    • Tycho
      Junior Member
      • Nov 2021
      • 1

      #3
      Hi GulbadinNaib
      Could you please elaborate what solved your issue so others can learn from this?

      Comment

      • rthonpm
        Member
        • Jan 2016
        • 41

        #4
        Yes, please post what fixed the issue for you. Posting problems and then neglecting to post the solution makes the forums much less of a resource for everyone.

        Sent from my BBE100-5 using Tapatalk

        Comment

        Working...