Available DHCP Leases

Peter Ketteridge via Net-snmp-users <[email protected]> Sun, 19 Dec 2021 11:56:39 +0000
Newsgroups gmane.network.net-snmp.user
Message-ID <0100017dd28d0da5-7262b6b6-41fb-4a4f-84fc-654d9922a548-000000@email.amazonses.com>
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users