move logic from snmp-agent to spaceapi-server