moved snmp retrieval to setup function