snmp-sysobjectid
Version:
A module that allows you to retrieve the device vendor, category, and model from a given SNMP sysObjectID. It also provides organization name for the given private enterprise number.
11 lines (10 loc) • 318 B
TypeScript
interface SysInfo {
vendor: string;
category: string;
model: string;
roles?: string[];
}
declare function getDeviceInfo(oid: string, default_value?: string): SysInfo;
declare function getOrg(Id: number | string, default_value?: string): string;
export default getOrg;
export { getOrg, getDeviceInfo };