Diskstats plugin provided through IA Agent produces no output when executed
Environment
Release : 10.7.0
Component : APM IA Agents
Cause
diskstats.pl plugin when run from the command line we can see the invalid metrics reported. Reason for this was metric path was badly formed. We get "Metric_Name_Is_Badly_Formed" exception.
The reason for this was the split function which was used in the plugin was not assigned to any variable to capture the split values.
Attached the modified diskstats plugin (diskstats.pl )
Resolution
Provided the fixed version of diskstats plugin (diskstats.pl). Attached diskstats.pl