refactor SNMP