<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Two Database Agents on same server for same Controller in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735749#M9536</link>
    <description>&lt;P&gt;One database agent hosting 2 configured collectors is the expected deployment model.&lt;/P&gt;

&lt;P&gt;The documentation describes this &lt;A href="https://docs.appdynamics.com/display/PRO45/Overview+of+Database+Visibility#OverviewofDatabaseVisibility-DatabaseAgent" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 10:48:22 GMT</pubDate>
    <dc:creator>Peter_Holditch</dc:creator>
    <dc:date>2019-01-18T10:48:22Z</dc:date>
    <item>
      <title>Two Database Agents on same server for same Controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735745#M9532</link>
      <description>&lt;P&gt;Hi all.&lt;BR /&gt;I've setup a "demo-App" consisting of a Apache-PHP based app ("front app"), against MySQL DB Server, and a Java-MicroService based app ("backend app"), against MS SQL DB Server, for AppDynamics testing purposes only.&lt;BR /&gt;In order to "see" database's activity, I tried to setup both database controllers, one for MS SQL Server and other for MySQL Server, and I've found a problem... After "first run" (and, probably, some others), both agents start showing the same error:&lt;BR /&gt;&lt;BR /&gt; &lt;FONT face="courier new,courier" size="2"&gt;INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] Agent:180 - Starting DB Collector Agent....&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] Agent:245 - Configuration manager successfully configured&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] EventService:39 - Event Generation Service is : enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] MetricService:46 - Metric Service is : [enabled].&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] MetricService:94 - Metric Generation Service is : enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] ADBCollector:68 - Create new DB collector for: AGM-DB-MSSQLServer-Collector&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] ADBAvailabilityCollector:63 - Create new db availability Metrics collector for: AGM-DB-MSSQLServer-Collector&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] AServerCollector:90 - Create new hardware metric collector for: AGM-DB-MSSQLServer-Collector&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] DBAgentMonitor:35 - &lt;STRONG&gt;DBAgentMonitor started&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-1] Agent:193 - &lt;STRONG&gt;Started DB Collector Agent successfully&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MySQL-Collector&amp;gt;-Scheduler-2] ARelationalDBCollector:29 - (Re)initialize the DB collector 'AGM-DB-MySQL-Collector'.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [&amp;lt;AGM-DB-MSSQLServer-Collector&amp;gt;-Scheduler-2] ARelationalDBCollector:29 - (Re)initialize the DB collector 'AGM-DB-MSSQLServer-Collector'.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt; ERROR [&amp;lt;AGM-DB-MySQL-Collector&amp;gt;-Scheduler-2] ADBCollector:208 - &lt;STRONG&gt;Error collecting data for database 'AGM-DB-MySQL-Collector'&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;com.mysql.jdbc.exceptions.jdbc4.&lt;STRONG&gt;MySQLNonTransientConnectionException&lt;/STRONG&gt;: Client does not support authentication protocol requested by server; consider upgrading MySQL client&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;INFO [-Scheduler-2] MSSqlCollector:82 - SQL Server Version = 14.0.2002.14 ( 2014.0 )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-3] AServerCollector:180 - (Re)initialize the hardware metric collector 'AGM-DB-MySQL-Collector'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-2] AServerCollector:180 - (Re)initialize the hardware metric collector 'AGM-DB-MSSQLServer-Collector'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-3] AServerCollector:274 - Locale requested of 'en-US' and set to 'en_US'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-2] AServerCollector:274 - Locale requested of 'en-US' and set to 'en_US'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-1] RelationalDBAvailabilityCollector:51 - (Re)initialize the DB Availability collector 'AGM-DB-MySQL-Collector'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; ERROR [-Scheduler-1] ADBAvailabilityCollector:119 - Error collecting data for database 'AGM-DB-MySQL-Collector'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL client&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-1] DBCollectorAgentMonitorDelegate:171 - Stopping DB collector agent 'AGM-DB-MySQL-Collector''s delegate...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [Thread-2] ADBCollector:110 - DB collector [AGM-DB-MySQL-Collector] shut down!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [Thread-4] ADBAvailabilityCollector:92 - DB Availability Metrics collector [AGM-DB-MySQL-Collector] shut down!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt; INFO [-Scheduler-1] RelationalDBAvailabilityCollector:51 - (Re)initialize the DB Availability collector 'AGM-DB-MSSQLServer-Collector'.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe, this is due to something related with "both agents colliding"? I've seen that starting &lt;STRONG&gt;ONLY ONE AGENT&lt;/STRONG&gt;&amp;nbsp;(for instance, MS SQL Server), the MS SQLServer agent works fine, but the other (MySQL) does NOT work; and I want to monitor both databases... In the case I start the MySQL agent, curiously only MS SQLServer agent is active, and MySQL agent also crashes.&lt;BR /&gt;&lt;BR /&gt;And... what about that "&lt;STRONG&gt;MySQLNonTransientConnectionException&lt;/STRONG&gt;" exception?&lt;BR /&gt;&lt;BR /&gt;Any help is appretiated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;PS: By the way, why agents take so long to "stop" when pressing Ctrl-C?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735745#M9532</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-09-20T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Two Database Agents on same server for same Controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735746#M9533</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;

&lt;P&gt;Thank you for posting the question on the AppDynamics Community.&lt;/P&gt;

&lt;P&gt;I see that you are using multiple Database Agents on the same machine and by looking at the documentation, what I understand is specific system settings are required in order to&amp;nbsp;bring them up correctly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please refer to the&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO44/Database+Agent+Configuration+Properties#DatabaseAgentConfigurationProperties-MultipleAgentEnvironmentProperties" target="_self" rel="nofollow noopener noreferrer"&gt;Multiple Agent Environment Properties Documentation&lt;/A&gt;&amp;nbsp;and check your system configuration.&lt;/P&gt;

&lt;P&gt;Please let us know if the problem still persists.&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;
&lt;P&gt;Radhika&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 17:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735746#M9533</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-09-24T17:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Two Database Agents on same server for same Controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735747#M9534</link>
      <description>&lt;P&gt;Hi, Radhika.&lt;BR /&gt;&lt;BR /&gt;First of all, thanks for the comment.&lt;BR /&gt;&lt;BR /&gt;The problem is now over.&lt;/P&gt;
&lt;P&gt;1.- To connect to two different databases, I had to define two Collectors. Both are now working.&lt;/P&gt;
&lt;P&gt;2.- To connect to MySQL I've had to declare the "custom Connection string", adding a custom "...&amp;amp;characterEncoding=latin1" parameter, since from "some given MySQL server version", the default database encoding has changed. That was the "&lt;STRONG&gt;MySQLNonTransientConnectionException&lt;/STRONG&gt;" that raised.&lt;/P&gt;
&lt;P&gt;3.- I can "connect" the database calls, from within an application to a given Collector by using the "Details" page, and mapping the "database server" in the app to the Collector.&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 17:32:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735747#M9534</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-09-24T17:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Two Database Agents on same server for same Controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735748#M9535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;

&lt;P&gt;So if I need to monitor two different databases, say one is PostgreSQL and the other one is MYSQL, do I need to download two database agents and run them separately? Or I can do it using one database agent only with two separately defined database collectors?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 03:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735748#M9535</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-18T03:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Two Database Agents on same server for same Controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735749#M9536</link>
      <description>&lt;P&gt;One database agent hosting 2 configured collectors is the expected deployment model.&lt;/P&gt;

&lt;P&gt;The documentation describes this &lt;A href="https://docs.appdynamics.com/display/PRO45/Overview+of+Database+Visibility#OverviewofDatabaseVisibility-DatabaseAgent" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 10:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Two-Database-Agents-on-same-server-for-same-Controller/m-p/735749#M9536</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-01-18T10:48:22Z</dc:date>
    </item>
  </channel>
</rss>

