Hi Peter, I've used the extension at https://github.com/ohitz/dhcpd-snmp to monitor ISC dhcpd with net-snmp - but your NMS has to not care that the MIB is not at all correctly structured.
Bill On Sun, Dec 19, 2021 at 6:59 AM Peter Ketteridge via Net-snmp-users < net-snmp-users@lists.sourceforge.net> wrote: > HI Everyone > > > > I am trying to use NET-SMNP to get the number of available DHCP leases (or > the number of used IPs), I have done an SMNP walk and I just cant seem to > find the correct OID to use, I think it should be something like the > following: > > 1.3.6.1.2.1.25.4.2.1.4.18352.192.168.3.0 > > > > With 192.168.3.0 the subnet I am looking for total available DHCP leases, > output from my SNMP testing program below: > > > > ----------------------- New Test ----------------------- > > Paessler SNMP Tester - 20.2.4 Computername: PRTG-SVR Interface: > (192.168.16.15) > > 19/12/2021 7:55:32 PM (10 ms) : Device: 192.168.3.1 > > 19/12/2021 7:55:33 PM (23 ms) : SNMP v2c > > 19/12/2021 7:55:33 PM (37 ms) : Custom OID > 1.3.6.1.2.1.25.4.2.1.4.18352.192.168.3.0 > > 19/12/2021 7:55:33 PM (59 ms) : SNMP Datatype: > SNMP_EXCEPTION_NOSUCHINSTANCE > > 19/12/2021 7:55:33 PM (75 ms) : ------- > > 19/12/2021 7:55:33 PM (88 ms) : Value: #N SNMP_EXCEPTION_NOSUCHINSTANCE223 > > 19/12/2021 7:55:33 PM (108 ms) : Done > > > > > > Can anyone offer any tips? > > > > > > > > Regards > > > > Peter Ketteridge > > Network Operations Centre > www.icon.net.au > > Mobile / Cellular +618 (0) 418 973 928 > > > > > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users >
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users