Ad Widget

Collapse

MySQL by Zabbix agent 2 multiple instance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misteric
    Junior Member
    • Feb 2023
    • 11

    #1

    MySQL by Zabbix agent 2 multiple instance


    Hi all! I want to use this template. But I can't figure out how to set it up for multiple instances.​


    How to correctly specify a variable​ {$MYSQL.DSN} ?

    Click image for larger version

Name:	image.png
Views:	383
Size:	36.6 KB
ID:	460851
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4811

    #2
    It is easier to define multiple hosts, one for each instance, all of them pointed to same actual host and agent and define those macros for each one on host level to point to correct instance.
    Template on one host will not iterate over multiple connections...

    Comment

    • misteric
      Junior Member
      • Feb 2023
      • 11

      #3
      Click image for larger version

Name:	image.png
Views:	371
Size:	48.9 KB
ID:	460865



      ​Yes, that's how it works. But somehow not nice

      Comment

      Working...