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

Percentage Disk Usage SNMP

Can we query to get percentage disk utilization using SNMP? What OID should be used?

1 Solution
pgautam

Hi @HS08

 

As for disk capacity and usage MIB is available in MB. It is not available in percentage on Fortigate, in future releases it might be getting added.

Disk Capacity .1.3.6.1.4.1.12356.101.4.1.6.0 = Disk Usage .1.3.6.1.4.1.12356.101.4.1.9.0

 

Regards

Priyanka

 

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

View solution in original post

5 REPLIES 5
VinayHM
Staff
Staff

Hi @HS08 

 

Getting percentage disk utilization using SNMP OID is 1.3.6.1.4.1.12356.101.4.1.6

Please go through the below article for more information.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-monitor-disk-usage-with-SNMP-OIDs/t...

 

Regards,

Vinay HM
HS08

Hi @VinayHM 

 

That oid for getting disk utilization but in MB not in percentage.

pgautam

Hi @HS08

 

As for disk capacity and usage MIB is available in MB. It is not available in percentage on Fortigate, in future releases it might be getting added.

Disk Capacity .1.3.6.1.4.1.12356.101.4.1.6.0 = Disk Usage .1.3.6.1.4.1.12356.101.4.1.9.0

 

Regards

Priyanka

 

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

VinayHM

As of now, there are no OIDs for disk percentage.

 

For Memory and CPU you can use below

OID:   .1.3.6.1.4.1.12356.101.4.1.3.0     Current CPU usage (percentage).
OID:   .1.3.6.1.4.1.12356.101.4.1.4.0     Current memory utilization (percentage).

Vinay HM
ebilcari
Staff
Staff

As I know, usually the monitoring systems will calculate the percentage of disk usage by extracting the capacity and the current disk usage. In FGT this can be done using this OIDs:
.1.3.6.1.4.1.12356.101.4.1.6 - fgSysDiskUsage.0 86

.1.3.6.1.4.1.12356.101.4.1.7 - fgSysDiskCapacity.0 30107

GW # diagnose sys logdisk usage
Total HD usage: 90MB(86MiB)/31569MB(30107MiB)
- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
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