Splunk AppDynamics

Custom Powershell script, metrics not available in metric browser

CommunityUser
Splunk Employee
Splunk Employee

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

Labels (1)
Tags (1)
0 Karma

Brian_Wheeldon
Contributor
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.
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Dear Brian,

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

Thanks again.

0 Karma

Brian_Wheeldon
Contributor
The values must be integers. It's possible that it's rejecting these floating point values.
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...