Problem with non-default snmp community string

I had to move the snmp community string parse code above the test to get this to work, might want to update.