Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appdynamics custom metrics - hbase is not displaying under Application Infrastructure Performance #1

Open
hariprasanth1234 opened this issue May 16, 2015 · 3 comments

Comments

@hariprasanth1234
Copy link

Hi all,

I tried to monitor hbase on Appdynamics using machine agent (App Server is already running in it) as per the following documentations,

http://community.appdynamics.com/t5/eXchange-Community-AppDynamics/HBase-Monitoring-Extension/idi-p/829

https://docs.appdynamics.com/display/PRO40/Install+the+Standalone+Machine+Agent

As of logs are concerned everything is working fine as expected,

    Using Java Version [1.7.0_75] for Agent
Using Agent Version [Machine Agent v4.0.6.0 GA Build Date 2015-05-11 20:56:44]
[Machine Agent] Resolved install dir location :/home/test/AppdynamicsMachineAgent
Machine Agent Install Directory :/home/test/AppdynamicsMachineAgent
Machine Agent Temp Directory :/home/test/AppdynamicsMachineAgent/tmp
Tasks Root Directory :/home/test/AppdynamicsMachineAgent/controlchannel
Logger Configuration :/home/test/AppdynamicsMachineAgent/conf/logging/log4j.xml
Redirecting all logging statements to the configured logger
[Machine Agent] Resolved install dir location :/home/test/AppdynamicsMachineAgent
Started AppDynamics Machine Agent Successfully.

Even In Controller UI,

Am able to see the TIER with an APP_SERVER and MACHINE_SERVER agents running with 100 %

But when I look under Application Infrastructure Performance, Am not able to see the custom metrics under the Application Infrastructure Performance.
(i.e) As per the documentation, Am not able to find the following,

In the AppDynamics Metric Browser, look for: Application Infrastructure Performance | | Custom Metrics | HBase | Status |

its the end log available in machine-agent.log under log folder.

 [Agent-Scheduler-1] 16 May 2015 19:39:14,448  INFO SystemAgent - Set up agent re-registration task
[Agent-Scheduler-1] 16 May 2015 19:39:14,454  INFO SystemAgentConfigManager - Scheduling configuration refresh at an interval of 60 seconds
[Agent-Scheduler-1] 16 May 2015 19:39:14,455  INFO SystemAgentConfigManager - Configuration refresh task interval is 60 seconds
[Agent-Scheduler-1] 16 May 2015 19:39:14,455  INFO SystemAgent - Configuration manager successfully configured
[Agent-Scheduler-1] 16 May 2015 19:39:14,464  INFO SystemAgent - Started AppDynamics Machine Agent Successfully.
[Agent-Monitor-Scheduler-3] 16 May 2015 19:39:19,436  INFO PeriodicTaskRunner - Periodic Task - setup metric feed for [HBase Monitor Run Task]

What is the change I need to make to get the hbase monitoring???

Thanks and Regards,
Harry.

@ravigiroti-zz
Copy link

Harry,

Can you please attach your monitor.xml configuration file here? We suspect somewhere you are specifying the metric path incorrectly. The following path is what should show you the custom metrics added. \

 Application Infrastructure Performance | <Tier> | Custom Metrics | HBase | Status | <DB name>

The monitor.xml config file will confirm what path is being used.

Thanks,
Ravi

@hariprasanth1234
Copy link
Author

Ravi, This is my monitor.xml.

  <monitor>
        <name>HBaseMonitor</name>
        <type>managed</type>
        <description>HBase monitor</description>
        <monitor-configuration></monitor-configuration>
        <monitor-run-task>
                <execution-style>periodic</execution-style>
                <execution-frequency-in-seconds>60</execution-frequency-in-seconds>
                <name>HBase Monitor Run Task</name>
                <display-name>HBase Monitor Task</display-name>
                <description>HBase Monitor Task</description>
                <type>java</type>
                <execution-timeout-in-secs>60</execution-timeout-in-secs>
                <task-arguments>
                        <!-- Database name (RECOMMENDED)(OPTIONAL)
                                Name of the database to be shown in Metric Browser.
                                If left blank, database will have name of 'DB #', where # is the database order number in
                                credentials list
                        -->
                        <argument name="host" is-required="true" default-value="192.168.61.12" />
                        <argument name="port" is-required="true" default-value="10101" />
                        <argument name="user" is-required="false" default-value="team" />
                        <argument name="pass" is-required="false" default-value="teampass" />

                        <!-- Additional HBase credentials (OPTIONAL)
                                Additional HBase credentials can be placed in properties.xml
                         -->
                         <argument name="properties-path" is-required="false" default-value="monitors/HBaseMonitor/properties.xml" />
                </task-arguments>
                <java-task>
                        <classpath>HBaseMonitor.jar;lib/dom4j/dom4j-1.6.1.jar</classpath>
                        <impl-class>com.appdynamics.monitors.hbase.HBaseMonitor</impl-class>
                </java-task>
        </monitor-run-task>
</monitor>

@hariprasanth1234
Copy link
Author

one this is I havent given the DB Name...

PFA of the path am showing up...

image

saxenaabhi142 added a commit that referenced this issue Jun 22, 2021
… master

* commit '4ab152082fb263cafdf03ac5e79b3badaae1b054':
  Revamped extension to appd-exts-commons 2.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants