<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RE: Database Label on FromDual GmbH</title><link>https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-636/</link><description>Recent content in RE: Database Label on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Sun, 29 Jul 2012 09:32:23 +0000</lastBuildDate><atom:link href="https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-636/index.xml" rel="self" type="application/rss+xml"/><item><title>RE: Database Label</title><link>https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-636/</link><pubDate>Mon, 23 Apr 2012 00:49:30 +0200</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-636/</guid><description>&lt;p&gt;I just did a test and now understand what you are saying.&lt;/p&gt;
&lt;p&gt;I am able to label them in the following:&lt;/p&gt;
&lt;p&gt;[Server_label.database_name]&lt;/p&gt;
&lt;p&gt;This seems to work.&lt;/p&gt;
&lt;p&gt;Thanks heaps&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;</description></item><item><title>RE: Database Label</title><link>https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-635/</link><pubDate>Mon, 23 Apr 2012 00:24:21 +0200</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/fpmmm-config-file-database-label/comment-635/</guid><description>&lt;p&gt;Hi Oli,&lt;/p&gt;
&lt;p&gt;You are describing exactly what I would like to do with the label. The issue is more about saying which database to monitor without having to rename our databases to the label&amp;rsquo;s format.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;</description></item><item><title>Config file database label</title><link>https://www.fromdual.com/blog/fpmmm-config-file-database-label/</link><pubDate>Fri, 20 Apr 2012 00:38:57 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/fpmmm-config-file-database-label/</guid><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the process of setting up the agent I was modifying the FromDualMySQLagent.conf and setting up the databases as in the documentation:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[your_first_db_name]

Type = mysqld
Modules = process mysql myisam innodb
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The database name should of course be consistant with a hostname on the Zabbix server. I have gotten all this to work correctly.&lt;/p&gt;
&lt;p&gt;I am wondering however, is there the ability to change the database name in the config file to a label and then as an option point it at a database name? Such as:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[db_label]

Database = your_first_db_name
Type = mysqld
Modules = process mysql myisam innodb
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The reason I ask is that we have multiple servers with the same database names as they are exact copies of one another because they are either main, failover or test servers.&lt;/p&gt;
&lt;p&gt;It may just be the case that I have yet to find the correct documentation.&lt;/p&gt;
&lt;p&gt;Thanks in advance for all time and effort put into this question.&lt;/p&gt;</description></item></channel></rss>