Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Leeuwendaal
New Contributor

Monitoring DHCP available addresses SNMP

I would like to monitor the available DHCP addresses on each of the VLAN's my fortigate 60F is used as a DHCP server.

 

We are using paessler PRTG, so monitoring by SNMP would be fine. 

 

For a microsoft DHCP server, I could use 

Monitoring Windows DHCP With PRTG (paessler.com)

I'm not sure if the OID's used are standard (as with system uptime), and I'm no SNMP super expert (I can use it), but it would me a great new feature te be able to monitor the available adresses, and offload al history, monitoring, alerting to (in my case) PRTG.

 

At the moment (7.0.9) I can't monitor DHCP-available adresses from my fortinet (I can monitor uptime, SNMP is working), while I can monitor available DHCP adresses from my microsoft DHCP. 

 

I expect this OID is just not implemented in FortiOS. 

 

Am I right? Would this be a great feature? Could it be done in another way?

1 Solution
Julien87
Contributor II

Hi ,

To complete my reply, an example :

 

13/01/2023 18:02:07 (81 ms) : Walk 1.3.6.1.4.1.12356.101.23
13/01/2023 18:02:07 (106 ms) : 1.3.6.1.4.1.12356.101.23.1.1.0 = "5" [ASN_INTEGER]   --> number of range in my Fortinet
13/01/2023 18:02:07 (216 ms) : 1.3.6.1.4.1.12356.101.23.2.1.1.2.1.7 = "3" [ASN_INTEGER]  --> number of lease distributed for my range 7 (id of range visible in cli)

 

 

Best

 

regards,

 

 

Julien

View solution in original post

Julien
2 REPLIES 2
Julien87
Contributor II

Hello,

 

I found this documentation, but haven't tried yet. 

 

SNMP queries are accepted for DHCP lease usage information (OID = 1.3.6.1.4.1.12356.101.23). The query result is based on the leased out percentage.

 

https://docs.fortinet.com/document/fortigate/6.4.0/new-features/614237/snmp-traps-and-query-for-moni... 

 

Best regards,

 

Julien
Julien
Julien87
Contributor II

Hi ,

To complete my reply, an example :

 

13/01/2023 18:02:07 (81 ms) : Walk 1.3.6.1.4.1.12356.101.23
13/01/2023 18:02:07 (106 ms) : 1.3.6.1.4.1.12356.101.23.1.1.0 = "5" [ASN_INTEGER]   --> number of range in my Fortinet
13/01/2023 18:02:07 (216 ms) : 1.3.6.1.4.1.12356.101.23.2.1.1.2.1.7 = "3" [ASN_INTEGER]  --> number of lease distributed for my range 7 (id of range visible in cli)

 

 

Best

 

regards,

 

 

Julien
Julien
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors