I'm trying to send some custom metrics to Appdynamics controller. I have a machine agent installed locally. Under /monitors I created a new directory and added in a shell script and monitor.xml in that directory. The shell script is for testing and I am just echoing "name=Custom Metrics | ZONE1 | WARN, value=1, aggregator=AVERAGE, time-rollup=AVERAGE, cluster-rollup=COLLECTIVE" In the monitor.xml I have made the execution-style to be 'continuous'.
The script is in a loop as well.
echo "name=Custom Metrics | ZONE1 | WARN, value=1, aggregator=AVERAGE, time-rollup=AVERAGE, cluster-rollup=COLLECTIVE"
But I don't see this sent to the Appdynamics controller. Appdynamics doc says "After restarting the Standalone Machine Agent, you should see following message in your log file: Executing script [script]] on the console to make sure your changes work with the machine agent"
I don't see this message when the agent is restarted, nor do I see the script running when I do a ps aux. Any pointers would be helpful. I'm doing a trial for my company and the account I have is a trial version. Not sure if it's a trial restriction?
Using Java Version [1.8.0_162] for Agent Using Agent Version [Machine Agent v18.104.22.1686 GA compatible with 22.214.171.124 Build Date 2019-03-19 19:13:12]
... View more