We have an app that's essentially dumping metric data to a log file, e.g. "responseTime=100ms". Does Hyperic have a way to create a "responseTime" metric out of the log file? I've been reading through the documentation, and I can see how to create alerts from log files, and how to track log files, but I want to pull metrics out of the log files. I've seen the documentation for "exec", and we could use that to parse the logs, but we'd have to keep track of the last point in the file that was previously parsed. Also it doesn't appear that one can provide more than 1 set of metrics. For example, if "responseTime" appears 500 times, the agent simply reports the last one.
I'd like to create a "responseTime" metric for an entity named "foo" and another named "bar". "foo" would have 2 data pooints for responseTime of 100 and 200, whereas "bar" would only have one of "300".
Testing this on the command line implied that the only value that would be registered would be the last value or '250'. Is there any way to have the agent collect all the values? That is, the '100', '200' and '250'?