On 02/10/2015 04:21 PM, Jan Safranek wrote:
> Solution 2:
> Keep current behaviour and only when duplicate labels are detected,
> prefix the later ones to keep them unique.
> 
> lmTempSensorsDevice.2 = STRING: Core 0
> lmTempSensorsDevice.3 = STRING: Core 3
> lmTempSensorsDevice.4 = STRING: Core 8
> lmTempSensorsDevice.5 = STRING: Core 11
> lmTempSensorsDevice.6 = STRING: coretemp-isa-0004:Core 0
> lmTempSensorsDevice.7 = STRING: coretemp-isa-0004:Core 3
> lmTempSensorsDevice.8 = STRING: coretemp-isa-0004:Core 8
> lmTempSensorsDevice.9 = STRING: coretemp-isa-0004:Core 11
> 
> This looks ugly, some of the labels are not prefixed, some are, but it
> won't harm existing applications.

No response so far, I am choosing this approach. I'll push patches to
git shortly.

Jan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to