Hi Priya,
Check if information at doc link helps to provide insights and see if that is what you are looking for.
https://docs.appdynamics.com/display/PRO40/Extensions+and+Custom+Metrics
https://docs.appdynamics.com/display/PRO40/Build+a+Monitoring+Extension+Using+Scripts
https://docs.appdynamics.com/display/PRO40/Install+the+Standalone+Machine+Agent
Regarding other query on analytics license, we would request you to get in touch with your sales representative or account manager to assist you further.
Regards,
Arun
Hi,
1. Custom Metrics
I have already tried the otpions provided in the link. But when i try to view those metrics in the Metrics browser, its listed under the infrastructure performance. But i need these custom metrics to be listed under application performance. Is there any API or any other agents or any other options which can be used for this? THe other problem is the metric is reported with the time when its posted to the controller. Is it possible to override this time stamp
2. Analytics license
I have posted a query from the subscription portal last week. I have also mailed the sales person through mail last week. But i havent got any response till now.
Regards,
Priya
Hi Priya,
Regarding issue 1, please provide screenshots from controller UI depicting the issue and also send the machine agent logs and script used to create custom metrics for more clarity and to assist you further.
Regarding the license query, We see your email id spriyabalan@gmail.com is associated to self-service eval account type and we see you cannot raise help ticket for this, we request you to get in touch with sales representative or upgrade or try saas trial /pro version with analytics option selected Or once you have provisioned saas pro trial you should be able to raise help ticket so that we can assist with, Hope that is clear.
Regards,
Arun
Please find the attached logs. The command i use are as below
java -jar machineagent.jar -Dappdynamics.https.proxyPort=value I have used in browser settings -Dappdynamics.https.proxyHost=value I have used in browser settings
java -jar machineagent.jar -Dappdynamics.http.proxyPort=value I have used in browser settings -Dappdynamics.http.proxyHost=value I have used in browser settings
java -jar machineagent.jar -Dappdynamics.https.proxyPort=value I have used in browser settings -Dappdynamics.https.proxyHost="value I have used in browser settings"
java -jar machineagent.jar -Dappdynamics.http.proxyPort=value I have used in browser settings -Dappdynamics.http.proxyHost="value I have used in browser settings"
Hi Priya,
We do not see any jvm args passed part of java -jar machineagent.jar command as per logs provided:
[main] 19 Feb 2015 16:45:26,017 INFO SystemAgent - Full Agent Registration Info Resolver using node name [Node1]
..[main] 23 Feb 2015 16:21:41,905 INFO SystemAgent - JVM Args :
JVM args if passed are listed in above logs as below:
..[main] 23 Feb 2015 16:21:41,905 INFO SystemAgent - JVM Args : -Dappdynamics.https.proxyPort=80
..[main] 23 Feb 2015 16:21:42,955 INFO SystemAgent - Full Agent Registration Info Resolver using node name [null]
However we see that earlier you have started the machineagent with Node1 and h/w data reporting fine in your saas UI as referred in screenshot listed below, but we see in recent restart you started with node name null, please let us know if any disconnect.
We understood that you are looking for custom metrics we see error related to SampleScriptMontior monitor in earlier restart but could not find any details on SampleScriptMontior script in latest machineagent restart logs, Can you attach th archive of directory "D:\Sofwares\Appian\MachineAgent-4.0.1.0\monitors\SampleScriptMontior" and also point the screenshot in Controller UI under metric browser for path issue you are referring initially?
Regards,
Arun
Hi,
I am able to register and start the machine agent now. but when i try to do a post like below, the metrics is not displayed in the metrics browser
http://localhost:8293/machine%20agent/metrics?name=Custom%20%20Metrics|Sample%20App|CustMetric|value=300|type=average
Regards,
Priya
Hi Priya,
We see other custom metrics are reporting fine in your saas controller UI as referred in screenshot listed below, Can you please send the machien agent logs once for our review?
Regards,
Arun
Hi,
I was trying the three options for custome metrics listed in
https://docs.appdynamics.com/display/PRO40/Extensions+and+Custom+Metrics
1. Java Montior - Working as expected. you have shared the screen shot.
2. HttpListener - Not working. Started the machine agent with the following command
java -Dappdynamics.http.proxyHost=IpOfTheProxyHostUsedinBrowser -Dappdynamics.http.proxyPort=proxyPortconfiguredInBrowser -Dmetric.http.listener=true -jar machineagent.jar
Posted the url
http://localhost:8293/machine%20agent/metrics?name
http://localhost:8293/machine%20agent/metrics?name
3.Script Montior. Script and Monitor.xml attached.
The logs are attached.
Regards,
Priya
Hi Priya,
Trying to replicate the script in local environment, will keep you posted , thanks for your cooperation.
It looks as per machien agent errors the script syntax is not as expected as per docs.
Hi Priya,
Somehow i failed to get custom metric using the script provided though tried different syntax in same script , i will try afresh with new agent and new setup and will see how it goes. apologies to inform that could not get the resolution as of now