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

Custom Powershell script, metrics not available in metric browser

Robert.Brown
New Poster

Hello,

 

we created a script in PowerShell to evaluate network bandwidth. We followed best practice suggested by appdynamics but we are not able to see the metrics.

 The script is saved in the machine agent path and its name is network_bandwith.ps1 launched by a cmd script called launch.cmd

All scripts, monitor.xml and machine-agent.log are in attachment

 

Any suggestion?

 

^ Edited to remove log file attachment by @Ryan.Paredez. Do not paste or attach log files to your post for security and privacy reasons

3 REPLIES 3

Brian.Wheeldon
AppDynamics Team (Retired)
What gets written to stdout when you run launch.cmd?
Other than the odd spelling of "NetworkBandwidt" I don't see anything obviously wrong with the script or configuration.

Brian Wheeldon, Solution Engineer, NYC




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Dear Brian,

 

thanks for your feedback, the output seems to be compliant to appdynamics. I attached a screenshot.

 

Thanks again.

 

 

Brian.Wheeldon
AppDynamics Team (Retired)
The values must be integers. It's possible that it's rejecting these floating point values.

Brian Wheeldon, Solution Engineer, NYC




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors