Add missing CPU field, change field length check

Fixes #54
Merge branch 'master' into net_snmp_stats
Set var for rate type