Format and refactor
snmp queries from stdinput