On 14 November 2012 00:22, Mike Burger <user-c26873f0522a@xymon.invalid>wrote:
Does the parser look for specific column placement? If it does, shouldn’t
it look for white/blank space(s) as data column delimiters?
Some parsers don't use whitespace delimeters, but instead use column
position. But I don't know if the vmstat parser does the same.
vmstat command line appears to be “vmstat 300 2”…that’s 300 captures in 2
second intervals (10 minutes worth of captures).
No, I think you'll find that it's two captures in 300 second intervals.
The first sample is the total/average since last boot, and the second
sample is the total/average since the first one. The first sample is
discarded.
As there are two vmstat processes running at any time, with a secondary
command of “mv /usr/local/hobbit/tmp/hobbit_vmstat.PID
/usr/local/hobbit/tmp/hobbit_vmstat.HOSTNAME”, is there a chance that the
files are clobbering each other when they’re moved?
Yes, perhaps. I only have one vmstat command running at any one time. You
might try killing both off and see what happens.
J