cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

Custom Powershell script, metrics not available in metric browser

Robert.Brown
New Poster

Custom Powershell script, metrics not available in metric browser

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

Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Custom Powershell script, metrics not available in metric browser
3 REPLIES 3
Brian.Wheeldon
AppDynamics Team

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.
Robert.Brown
New Poster

Dear Brian,

 

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

 

Thanks again.

 

 

Brian.Wheeldon
AppDynamics Team

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.