Splunk AppDynamics

MSSQL Always-On Availability Group

Osama_Abbas
Explorer

Hi community,

I have an AO AG with two nodes, and I have these four IP addresses.

10.10.10.62 (DB 1)
10.10.10.63 (DB 2)
10.10.10.61 (Cluster IP)
10.10.10.60 (AG Listener IP)

I want to discover the two nodes automatically. According to the documentation, Configure Microsoft SQL Server Collectors (appdynamics.com)

To enable monitoring of all the nodes, you must enable the dbagent.mssql.cluster.discovery.enabled property either at the Controller level or at the agent level.

I am running the following:

$ nohup java -Dappdynamics.agent.maxMetrics=300000 -Ddbagent.name=DBMon-Agent -jar db-agent.jar -Ddbagent.mssql.cluster.discovery.enabled=true &

But it doesn't work when I configure the collector with the AG Listener IP.

I also get the below: `Is Failover Cluster Discovery Enabled: False`! I have added dbagent.mssql.cluster.discovery.enabled though!?

image.png

What could I possibly be doing wrong?

Thank you

Labels (1)
Tags (2)

Ricardo_Guzman
Engager

Hola!

puedes intentar con:

-Ddbagent.mssql.cluster.discovery="true"

en el archivo de configuración:

\bin\DatabaseAgentService.vmoptions

(Si no existe este archivo, puedes crearlo)

Y me comentas si te funciona, Saludos!

 

0 Karma

iamryan
Community Manager
Community Manager

Hi @Osama.Abbas,

Thanks for letting me know. I'm still working with the Docs team to see if we can get any information on that Docs page clarified. 

0 Karma

iamryan
Community Manager
Community Manager

Hi @Osama.Abbas,

I'm still waiting to hear back from the Docs team. Have you found a solution you could share in the meantime?

0 Karma

Osama_Abbas
Explorer

Hi @Ryan.Paredez 

Thanks a lot for following up with my question. I really appreciate it.

Unfortunately, I was not able to solve it on my own till now and I had to discover just the primary node as a workaround until I can find a solution to my problem.

Thanks once again

Tags (2)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Osama.Abbas,

I have shared your feedback with the Docs team. I will report back when I hear from them. 

iamryan
Community Manager
Community Manager

Hi @Osama.Abbas 

I noticed the Community has not yet jumped in to help. Did you happen to make any discoveries or find a solution you could share?

0 Karma

Osama_Abbas
Explorer

Hi @Ryan.Paredez ,

Unfortunately, I have not found any resolution for my issue just yet and it is not clear in the documentation how to use:

dbagent.mssql.cluster.discovery.enabled

from the Controller UI.

 Thank  you,

Osama

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...