update to use net-snmp

This commit is contained in:
2025-03-26 13:13:01 +00:00
parent 2737fca294
commit 5a13e49803
11 changed files with 404 additions and 1947 deletions

View File

@@ -2,7 +2,8 @@ import * as fs from 'fs';
import * as path from 'path';
import { exec } from 'child_process';
import { promisify } from 'util';
import { NupstSnmp, type ISnmpConfig } from './snmp.js';
import { NupstSnmp } from './snmp/manager.js';
import type { ISnmpConfig } from './snmp/types.js';
const execAsync = promisify(exec);