DX Application Performance Management

 View Only
Expand all | Collapse all

Infrastructure Agent Scripts Changing Metrics Over Intervals

  • 1.  Infrastructure Agent Scripts Changing Metrics Over Intervals

    Posted Apr 17, 2019 09:22 AM

    Hi all,

     

    I am writing PowerShell scripts that are being executed by the EPAgent and print metrics in XML format.

    These scripts are being run as stateful plugins, and run inside an infinite loop, to prevent resource usage spikes when PowerShell is called.

     

    One script is capturing running process data, and reporting it every 15 seconds. The behavior is normal when the agent first starts, but new processes do not show up in the metric view in the web interface, despite them being outputted by my script. I can see which processes are running by looking at the raw output of the script.

     

    I'm curious if anyone has any idea what could cause the agent to not accept the standard output from my script. Or any other suggestions when it comes to executing PowerShell scripts with the EPAgent.

     

    Thanks

    Brian



  • 2.  Re: Infrastructure Agent Scripts Changing Metrics Over Intervals

    Broadcom Employee
    Posted Apr 17, 2019 12:00 PM

    Converting to a discussion since this is a  customization. Do you have suggestions for Brian?