Net snmp stats

Since the only thing changing here is the metric counter/gauge, make a variable that defaults to counter, but this if block sets it to gauge. Then you can remove the `metric` variable completely and only have one invocation of Add.