#!/usr/bin/env python

from snmp_helper import snmp_get_oid,snmp_extract

COMMUNITY_STRING = 'galileo'
SNMP_PORT = 7961
IP = '172.16.58.3'

a_device = (IP, COMMUNITY_STRING, SNMP_PORT)

OID = '1.3.6.1.2.1.1.1.0'

snmp_data = snmp_get_oid(a_device, oid=OID)

output = snmp_extract(snmp_data)

print output

#!/usr/bin/env python

from snmp_helper import snmp_get_oid,snmp_extract

COMMUNITY_STRING = 'galileo'
SNMP_PORT = 7961
IP = '172.16.58.3'

a_device = (IP, COMMUNITY_STRING, SNMP_PORT)

OID = '1.3.6.1.2.1.1.1.0'

snmp_data = snmp_get_oid(a_device, oid=OID)

output = snmp_extract(snmp_data)

print output

#!/usr/bin/env python