Why Do OAG Monitoring Logs Show Used Percentage Different from the Output from SNMP
Last Updated:
Overview
This article explains the discrepancies between Okta Access Gateway (OAG) disk usage reporting through df -P and SNMP monitoring methods.
Applies To
- Okta Access Gateway (OAG)
- SNMP Monitoring
Solution
The OAG monitoring process uses df -P to get the disk usage details. In some cases, SNMP monitoring shows a different usage percentage than what is reported by df.
This is because df considers a disk to be non-empty even if there is less than a percent of data in it.
- For example, if the usage percentage is 0.1 %, then df will report it as 1%. SNMP, on the other hand, will round off the percentage if it goes above 0.5 %.
- So, if the disk usage is 1.3%, df will report it as 2, and SNMP will show 1% used.
