Ad Widget

Collapse

Zabbix Agent: monitoring multiple MySQL engines

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • giugiu
    Junior Member
    • Sep 2018
    • 3

    #1

    Zabbix Agent: monitoring multiple MySQL engines

    Hi everybody,
    I'm setting up Zabbix 6.0 LTS with several active agents on my infrastructure.
    Let me explain the problem I'm stuck with: I need the Zabbix Agent to monitor multiple MySQL engines residing on different containers on the same Docker server.
    How can I do that? At the moment I'm able to monitor only one MySQL instance with the "MySQL by Zabbix agent 2" template.
    ​I thought it would have been possible cloning the MySQL template (one for each DB-engine) and changing its name (along with items names) but Zabbix won't like items with same key.

    Thank you in advance
  • Answer selected by giugiu at 24-05-2023, 14:24.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    Create a host per DB in Zabbix, you can use same template for each and use host level macros to define all the needed stuff (instead of template level).

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4806

      #2
      Create a host per DB in Zabbix, you can use same template for each and use host level macros to define all the needed stuff (instead of template level).

      Comment

      • giugiu
        Junior Member
        • Sep 2018
        • 3

        #3
        Originally posted by cyber
        Create a host per DB in Zabbix, you can use same template for each and use host level macros to define all the needed stuff (instead of template level).
        That worked.

        Thank you​

        Comment

        Working...