This change adds a bit of functionality to the basic NRPE packet libary to parse performance data from the buffer into a separate hash under packet.perfdata. It does not change any other functionality in any way - i.e. the packet.buffer will still return the same thing it always did - entire contents of the buffer, including status and performance data. One could argue that this can be done at a higher level, and perhaps it is, though I haven't found a good enough definition of the NRPE protocol to say one way or another. This change just makes it a bit more convenient to do perf data things.
This change adds a bit of functionality to the basic NRPE packet libary to parse performance data from the buffer into a separate hash under packet.perfdata. It does not change any other functionality in any way - i.e. the packet.buffer will still return the same thing it always did - entire contents of the buffer, including status and performance data. One could argue that this can be done at a higher level, and perhaps it is, though I haven't found a good enough definition of the NRPE protocol to say one way or another. This change just makes it a bit more convenient to do perf data things.

scaria/NrpeClient-Gem,scaria/NrpeClient-Gem