cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to collect Redis metrics in Appmon 6.5

Hi Team,

As per the below document, we uploaded plugin and configured redis monitoring, but APPMON 6.5 is unable to collect the data. We didn't placed any agent on Remote Server. Please send me the procedure to configure.

https://answers.dynatrace.com/questions/172505/red...

Thanks,

Subbu

21 REPLIES 21

Babar_Qayyum
Leader

Hello Sabbu,

In the comments area of the below link you can find two important things to make it work.

  1. Did you configure the password?
  2. One guy said 'I made it work by using plugin development and rebuild it and updated the port number, Now i'm able to get the metrics using monitors'.

https://community.dynatrace.com/community/display/...

Regards,

Babar

Hi Babar,

We don't have password for the redis and unable to see redis metric trend. Unable to see in the agent overview.

Thanks,

Subbu

Hello Sabbu,

Agents Overview is only for the installed agents not for the plugins, therefore, you cannot see any information there.

Regards,

Babar

Thanks Babar!!

Where can i see the metric chart of Redis.I see below data

screen-shot-2017-10-31-at-35801-pm.png

How can i see in Trend report.

Thanks,

Subbu

Hello Sabbu,

It means the plugin collecting the data properly.

Now you can plot a chart + add series + type/find the name of your plugin e.g. Redis or your given name and that should be appear under System Monitoring. There you will find all your measurements so you can choose the desired one to show on the chart.

Regards,

Babar

Hi Babar,

I am unable to plot the graph. Here is the screenshot.

screen-shot-2017-10-31-at-35801-pm.pngscreen-shot-2017-10-31-at-62621-pm.pngscreen-shot-2017-10-31-at-62539-pm.png

Able to see the metric values in numbers, but unable to view the data.

Are there any issues with Configuration.

Thanks,

Subbu

Hello Sabbu,

You can plot the charts for the metrics you are capturing e.g. connected_clients etc..

Regards,

Babar

Hi Babar,

I am unable to plot the graph.

Here is the procedure i follow.

1.Click on Create a dashboard

2.Select Use for analysis(Randomly picked monitoring as well)

3.Select Chart

4.Selected the data sources and session

5.Selected the measure for Connected_clients

6.Unable to see the data

Attached the screenshot for reference.

screen-shot-2017-10-31-at-74533-pm.pngscreen-shot-2017-10-31-at-74334-pm.png

Kindly help how to fix it.

Thanks,

Subbu

Hello Sabbu,

How frequently you are calling the data from the server?

Regards,

Babar

Hi Babar,

Every 5 mins

Thanks,

Subbu

subbarayuduk
Participant

Hi Babar,

Could you please provide us an update.

Thanks,

Subbu

Hello Sabbu,

Open the Tasks / Monitors Dashboard to verify Last Run Result whether is fetching the information on the scheduled time or not.

If it is working as per configuration then select a single 'Retrieved measurements' to plot the chart.

Regards,

Babar

subbarayuduk
Participant

Hi Babar,

Last run shows failed. Found the below error in log

2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] host : 10.128.129.188
2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] port : 26379
2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] auth : *********
2017-11-02 02:17:53 WARNING [UserPluginManager@csp-lt-oauth1_0] redis.clients.jedis.exceptions.JedisDataException - ERR unknown command 'AUTH'
redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'AUTH'
at redis.clients.jedis.Protocol.processError(Protocol.java:117)
at redis.clients.jedis.Protocol.process(Protocol.java:151)
at redis.clients.jedis.Protocol.read(Protocol.java:205)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297)
at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:196)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:83)
at redis.clients.jedis.Connection.sendCommand(Connection.java:100)
at redis.clients.jedis.Connection.sendCommand(Connection.java:91)
at redis.clients.jedis.BinaryClient.auth(BinaryClient.java:551)
at redis.clients.jedis.BinaryJedis.auth(BinaryJedis.java:2048)
at com.dynatrace.plugin.redis.RedisDataProvider.<init>(RedisDataProvider.java:24)
at com.dynatrace.plugin.redis.RedisMonitor.execute(RedisMonitor.java:78)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:713)
at com.dynatrace.diagnostics.sdk.UserPluginManager.b(SourceFile:476)
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:274)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:50)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:190)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:413)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.execute(SourceFile:337)
at com.dynatrace.diagnostics.schedule.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.schedule.SchedulerJob.work(SourceFile:92)
at com.dynatrace.diagnostics.schedule.SchedulerJob.executeJobInfo(SourceFile:241)
at com.dynatrace.diagnostics.schedule.QuartzJob.execute(SourceFile:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.dynatrace.diagnostics.schedule.QuartzThreadPool$WorkerThread.run(SourceFile:788)

Could you please help me how to fix this.

Thanks,

Subbu

subbarayuduk
Participant

Hi Babar,

Last run shows failed. Found the below error in log

2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] host : 10.128.129.188
2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] port : 26379
2017-11-02 02:17:53 INFO [Monitor@csp-lt-oauth1_0] auth : *********
2017-11-02 02:17:53 WARNING [UserPluginManager@csp-lt-oauth1_0] redis.clients.jedis.exceptions.JedisDataException - ERR unknown command 'AUTH'
redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'AUTH'
at redis.clients.jedis.Protocol.processError(Protocol.java:117)
at redis.clients.jedis.Protocol.process(Protocol.java:151)
at redis.clients.jedis.Protocol.read(Protocol.java:205)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297)
at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:196)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:83)
at redis.clients.jedis.Connection.sendCommand(Connection.java:100)
at redis.clients.jedis.Connection.sendCommand(Connection.java:91)
at redis.clients.jedis.BinaryClient.auth(BinaryClient.java:551)
at redis.clients.jedis.BinaryJedis.auth(BinaryJedis.java:2048)
at com.dynatrace.plugin.redis.RedisDataProvider.<init>(RedisDataProvider.java:24)
at com.dynatrace.plugin.redis.RedisMonitor.execute(RedisMonitor.java:78)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:713)
at com.dynatrace.diagnostics.sdk.UserPluginManager.b(SourceFile:476)
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:274)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:50)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:190)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:413)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.execute(SourceFile:337)
at com.dynatrace.diagnostics.schedule.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.schedule.SchedulerJob.work(SourceFile:92)
at com.dynatrace.diagnostics.schedule.SchedulerJob.executeJobInfo(SourceFile:241)
at com.dynatrace.diagnostics.schedule.QuartzJob.execute(SourceFile:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.dynatrace.diagnostics.schedule.QuartzThreadPool$WorkerThread.run(SourceFile:788)

Could you please help me how to fix this.

Thanks,

Subbu

Hello Sabbu,

You have a problem with the authentication.

redis.clients.jedis.exceptions.JedisDataException - ERR unknown command 'AUTH'

Regards,

Babar

subbarayuduk
Participant

Thanks Babar!!

Could you help me how to check and validate the authentication.

Thanks,

Subbu

Hello Sabbu,

I am personally not using this plugin but as per the logs and the feedback from one of the user 'If you don't set up a key it won't be used for connecting to redis' therefore, you will have to provide the password.

Regards,

Babar

subbarayuduk
Participant

Hi Babar,

We have provided the Redis password. Does it required redis password/host password.

Thanks,

Subbu

Hello Sabbu,

It should be the redis password but if it doesn't work then try with the host password to check.

Regards,

Babar

subbarayuduk
Participant

Thanks Babar!!

The issue was with Port!! I am able to plot the for Redis

Regards,
Subbu

Hello Sabbu,

Good News.

Regards,

Babar