UNPKG

async-snmp

Version:

A lightweight wrapper for the Node.js net-snmp library

8 lines (5 loc) 413 B
import { User, Varbind, VarbindValue } from 'net-snmp'; declare const snmpGet: (ip: string, oids: string[], userConfig?: User, options?: any) => Promise<Varbind[]>; declare const snmpSet: (ip: string, varbinds: Varbind[], userConfig?: User, options?: any) => Promise<Varbind[]>; declare const originizeResult: (varbinds: Varbind[]) => Record<string, VarbindValue>; export { originizeResult, snmpGet, snmpSet };