Hi,
I'm trying to create a discovery rule in Zabbix for the lease usage in each Vlan on my firewall (FortiOS 7.0.1)
I managed to create a discovery rule that is supposed to find it, but it seems like it finds only the unreserved leases and not the reserved ones (it gives a percentage of the used leases)
I wish to find the reserved and the unreserved leases, also i can't find anywhere the name of the Vlans leases (reserved and unreserved)
The table i found the unreserved lease usage is
1.3.6.1.4.1.12356.101.23 (with snmpwalk) I would appreciate your helpEster
The DHCP servers are not directly related to the interfaces or VLANs so in my knowledge there is no OID including the interface information.
you have to manually search the config file:
> config system dhcp server
> show
and the OID will increment based on the DHCP server configured
.1.3.6.1.4.1.12356.101.23.2.1.1.2.1.1 [Name/OID: fgDhcpLeaseUsage.1.1]
next one for example will be .1.3.6.1.4.1.12356.101.23.2.1.1.2.1.[2]
for:
edit 2
set lease-time 3600
set dns-service default
set default-gateway 192.168.1.1
set netmask 255.255.255.0
set interface "fortilink"
config ip-range
edit 1
set start-ip 192.168.1.201
set end-ip 192.168.1.210
next
end
...
User | Count |
---|---|
2271 | |
1232 | |
772 | |
452 | |
396 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.