snmp function by netsnmp